This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Shared libobjc in gcc 3.0.2 doesn't work with "make check"


The ObjC testcase doesn't work at all unless there is libgcc_s.so.1
somewhere available for dynamic linker. It is because the shared
libobjc has libgcc_s.so.1 in DT_NEEDED and the GNU linker treats
it just like dynamic linker. That means ld won't search -L for
libgcc_s.so.1. If there is no libgcc_s.so.1 for dynamic linker,
which happens when you never install gcc 3.x before, all ObjC tests
will fail. For ObjC test, you should use LD_LIBRARY_PATH Or -rpath
for the final link.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]