This is the mail archive of the gcc-bugs@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]

Re: solaris2 libjava 500 failures


Jeff Sturm <jsturm@one-point.com> writes:

> On 2 May 2001, Alexandre Oliva wrote:
> > That's quite unlikely.  When the compiler is GCC, ltconfig asks it
> > which ld it's going to use with -print-prog-name=ld.
> 
> Fair enough.  I tried again.  Same result.
> 
> On closer inspection, ltconfig is seeing --with-gnu-ld from configure, so
> it is only doing as it is told.  (Next time I won't be so quick to blame
> libtool, I promise!)
> 
> Oh, I see, in the toplevel Makefile for $(CONFIGURE_TARGET_MODULES):
> 
>             LD="$(LD_FOR_TARGET)"; export LD; \
>  
> LD_FOR_TARGET is `ld' for native builds.  Hmm... that's not what gcc uses. 
> So is this a bug, feature, or just plain caveat utilitor?

It's unquestionably a bug.  I've had problems with it on Solaris, but we
never decided what to do about it.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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