This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: objc failures on branch
Manfred Hollstein <manfredh@redhat.com> writes:
> As I said, I'm not an Objective-C expert at all, but the small patch
> to add $rootme to ld_library_path fixes the problem with not being
> able to find libgcc_s.so at execution time.
We need libgcc_s.so at LINK time, the error I've reported is:
/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
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj