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

[Bug go/47515] Issues porting libgo to IRIX 6.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515

--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-01-31 15:11:15 UTC ---
> --- Comment #1 from Ralf Wildenhues <rwild at gcc dot gnu.org> 2011-01-28 18:53:54 UTC ---
> (In reply to comment #0)
>> * Building libgo still depends on a linker supporting --whole-archive, but SGI
>>   ld doesn't and GNU ld doesn't work due to PR target/43533.
>
> libtool abstracts --whole-archive when libtool convenience archives are used,
> and it can create relocatable objects.  As a cheap way to exploit that you
> could amend BUILDGOX to create a little convenience archive .la file.  Or let
> BUILDARCHIVE build an actual .la convenience archive, that's even easier.  Hmm,
> there is even a rule to create %.la from %.a, why all this going backwards
> trying to hack around libtool when it can do the job?

No idea, although there have been many times where I've been swearing at
libtool when it gets in my way and thinks it's smarter than me ;-(

But thanks alot for the tip: this proved to be remarkably simple and
I've posted an initial patch:

    http://gcc.gnu.org/ml/gcc-patches/2011-01/msg02304.html

> libtool also has a pending patch abstracting -Bstatic/-Bdynamic by the way.

... which won't help since gcc needs to be usable without libtool.

Thanks.
    Rainer


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