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]
Other format: [Raw text]

Re: Still failing to bootstrap on Solaris (CONFIG_SHELL doesn'thelp)


   From: Richard Henderson <rth@redhat.com>
   Date: Thu, 2 May 2002 13:55:46 -0700

   On Thu, May 02, 2002 at 10:37:31PM +0200, Rainer Orth wrote:
   > 	http://gcc.gnu.org/ml/java/2001-04/msg00129.html
   > 
   > ld: fatal: file /sw/test/gcc/SunOS/lib/gcc-lib/sparc-sun-solaris2.8/3.0/../../../libgcj.so: recording name `libgcj.so.2' matches that provided by file ./.libs/libgcj.so
   
   But what prompted it to go looking in /sw/test/ in the first place?
   The -L option should have directed the search for -lgcj to ./.libs/.

It is specified only in the '-rpath' option.  The Solaris linker
doesn't document that option, so perhaps libtool is turning it into
something else.

What is '-rpath /sw/test/gcc/SunOS/lib' being expanded into?

I also just noticed that the Solaris linker manpage says that
LD_LIBRARY_PATH does a lot of 'funky stuff'.  It modifies the
library search path in nontrivial ways.  Maybe this is irrelevant.


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