Final(?) patch to update libtool in GCC and src trees

Steve Ellcey sje@cup.hp.com
Tue Apr 10 20:04:00 GMT 2007


> Hmm, this usually means something is not being exported correctly from
> libobjc.so, can you do a nm on generated libobjc.so?
> 
> Thanks,
> Andrew Pinski

% nm obj_gcc/ia64-debian-linux-gnu/libobjc/.libs/libobjca.so | grep person
0000000000027d10 T __gnu_objc_personality_v0

It looks like it is geing exported correctly.

It may be an issue with how the objc tests (compile tests, not library tests)
are being called during testing.  Here is an example failure from
gcc/testsuite/objc.dg:

set_ld_library_path_env_vars: ld_library_path=.::/proj/opensrc/nightly/build-ia64-debian-linux-gnu-trunk/obj_gcc/gcc:/proj/opensrc/nightly/build-ia64-debian-linux-gnu-trunk/obj_gcc/gcc:/proj/opensrc/nightly/build-ia64-debian-linux-gnu-trunk/obj_gcc/gcc:/proj/opensrc/nightly/build-ia64-debian-linux-gnu-trunk/obj_gcc/gcc
Executing on host: /proj/opensrc/nightly/build-ia64-debian-linux-gnu-trunk/obj_gcc/gcc/xgcc -B/proj/opensrc/nightly/build-ia64-debian-linux-gnu-trunk/obj_gcc/gcc/ /proj/opensrc/nightly/src/trunk/gcc/testsuite/objc.dg/bitfield-1.m     -lobjc -lm   -o ./bitfield-1.exe    (timeout = 300)
/proj/opensrc/be/ia64-debian-linux-gnu/lib/gcc/ia64-debian-linux-gnu/4.1.1/../../../../ia64-debian-linux-gnu/bin/ld: cannot find -lobjc
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/proj/opensrc/be/ia64-debian-linux-gnu/lib/gcc/ia64-debian-linux-gnu/4.1.1/../../../../ia64-debian-linux-gnu/bin/ld: cannot find -lobjc
collect2: ld returned 1 exit status

FAIL: objc.dg/bitfield-1.m (test for excess errors)



More information about the Gcc-patches mailing list