libobjc_gc and gcc-4.3.1

gjohnson5 tonyjohn5 at yahoo.com
Wed Jun 11 16:47:52 UTC 2008


Hi Everyone...

Just was wondering about this specific issue.  I built gcc-4.3.1-1.src.rpm
and I got this issue.
I built gcc and enabled some options from configure and then run rpmbuild
(and went to bed)
But if you enable this:
[gjohnson at loser gcc-4.3.1-20080609]$ ./configure --help | grep -A1 objc
  --enable-objc-gc        enable use of Boehm's garbage collector with the
                          GNU Objective-C runtime
[gjohnson at loser gcc-4.3.1-20080609]$

This file doesn't get built that the debuginfo was expecting libobjc_gc.so.2
anyway I installed the RMS and found this issue or non issue depending on
your point of view

[root at loser x86_64]# ls -ltr | grep "2008-06-11"
-rw-r--r-- 1 gjohnson gjohnson    70655 2008-06-11 06:40
libgcc-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson 10725698 2008-06-11 06:40
gcc-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson  5020766 2008-06-11 06:40
gcc-c++-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson   332571 2008-06-11 06:40
libstdc++-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson  4012407 2008-06-11 06:40
libstdc++-devel-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson  3926648 2008-06-11 06:40
gcc-objc-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson    57764 2008-06-11 06:40
libobjc-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson  4164502 2008-06-11 06:40
gcc-objc++-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson  4983702 2008-06-11 06:40
gcc-gfortran-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson   140861 2008-06-11 06:40
libmudflap-devel-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson   113796 2008-06-11 06:40
libmudflap-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson    75124 2008-06-11 06:40
libgomp-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson   291945 2008-06-11 06:40
libgfortran-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson  3961977 2008-06-11 06:40
gcc-java-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson 21910868 2008-06-11 06:40
libgcj-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson  1614484 2008-06-11 06:40
libgcj-devel-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson 13103395 2008-06-11 06:41
libgcj-src-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson  4004902 2008-06-11 06:41
cpp-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson 14869579 2008-06-11 06:41
gcc-gnat-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson  1030694 2008-06-11 06:41
libgnat-4.3.1-1.x86_64.rpm
-rw-r--r-- 1 gjohnson gjohnson 20550878 2008-06-11 06:42
gcc-debuginfo-4.3.1-1.x86_64.rpm
[root at loser x86_64]# ls -ltr | grep "2008-06-11" | awk '{print $8}' | xargs
rpm -Uvh --force
error: Failed dependencies:
        libobjc_gc.so.2()(64bit) is needed by gcc-debuginfo-4.3.1-1.x86_64
[root at loser x86_64]# rm gcc-debuginfo-4.3.1-1.x86_64.rpm
rm: remove regular file `gcc-debuginfo-4.3.1-1.x86_64.rpm'? y
[root at loser x86_64]# ls -ltr | grep "2008-06-11" | awk '{print $8}' | xargs
rpm -Uvh --force
Preparing...                ###########################################
[100%]
   1:libgcc                 ########################################### [ 
5%]
   2:libstdc++              ########################################### [
10%]
   3:libgcj                 ########################################### [
15%]
   4:libobjc                ########################################### [
20%]
   5:libgnat                ########################################### [
25%]
   6:cpp                    ########################################### [
30%]
   7:libgfortran            ########################################### [
35%]
   8:libgomp                ########################################### [
40%]
   9:gcc                    ########################################### [
45%]
  10:gcc-objc               ########################################### [
50%]
  11:libmudflap             ########################################### [
55%]
  12:libgcj-devel           ########################################### [
60%]
  13:libstdc++-devel        ########################################### [
65%]
  14:gcc-c++                ########################################### [
70%]
  15:gcc-objc++             ########################################### [
75%]
  16:gcc-gfortran           ########################################### [
80%]
  17:libmudflap-devel       ########################################### [
85%]
  18:gcc-java               ########################################### [
90%]
  19:libgcj-src             ########################################### [
95%]
  20:gcc-gnat               ###########################################
[100%]
[root at loser x86_64]# ls -al /usr/lib64/libo
Display all 122 possibilities? (y or n)
[root at loser x86_64]# ls -al /usr/lib64/libobjc.so.2
libobjc.so.2      libobjc.so.2.0.0
[root at loser x86_64]# exit
exit
[gjohnson at loser x86_64]$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.6.0-openjdk.x86_64/jre
--disable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--enable-objc-gc --enable-libssp --enable-libada --with-gmp
--with-cpu=nocona --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.3.1 20080609 (Red Hat 4.3.1-1) (GCC)
[gjohnson at loser x86_64]$ rpm -qa gcc
gcc-4.3.1-1.x86_64
[gjohnson at loser x86_64]$


So I'm wondering if these libraries built or if these options are just
broken and hence disabled.
-- 
View this message in context: http://www.nabble.com/libobjc_gc-and-gcc-4.3.1-tp17782290p17782290.html
Sent from the Fedora Test List mailing list archive at Nabble.com.




More information about the fedora-test-list mailing list