objc/2145: objc testsuite fails since libgcc_so.0 is not found
aj@suse.de
aj@suse.de
Fri Mar 2 00:16:00 GMT 2001
>Number: 2145
>Category: objc
>Synopsis: objc testsuite fails since libgcc_so.0 is not found
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 02 00:16:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Andreas Jaeger
>Release: 3.0 20010301 (prerelease)
>Organization:
>Environment:
System: Linux gromit 2.4.2 #69 Thu Feb 22 20:42:07 CET 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /cvs/gcc-3_0-branch/configure --prefix=/opt/gcc-3.0-test --enable-shared --enable-threads=posix --with-gnu-as --with-gnu-ld --disable-nls --with-system-zlib --enable-languages=c,objc,c++,f77
>Description:
Running the testsuite in a chroot jail without libgcc_s.so
installed, all objc tests fail. The log files show:
/usr/bin/ld: warning: libgcc_s.so.0, needed by /usr/src/packages/BUILD/gcc/obj/i686-pc-linux-gnu/libobjc/.libs/libobjc.so, not found (try using -rpath or -rpath-link)
/usr/src/packages/BUILD/gcc/obj/i686-pc-linux-gnu/libobjc/.libs/libobjc.so: undefined reference to `__eprintf@GCC_3.0'
collect2: ld returned 1 exit status
compiler exited with status 1
We need to pass rpath correctly to that file. Otherwise the
tests will fail - or the wrong version of libgcc_s.so is used
in case that it gets upgraded.
>How-To-Repeat:
Run the testsuite without installing libgcc_s.so.0.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list