This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/47515] Issues porting libgo to IRIX 6.5
- From: "rwild at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 28 Jan 2011 18:53:57 +0000
- Subject: [Bug go/47515] Issues porting libgo to IRIX 6.5
- Auto-submitted: auto-generated
- References: <bug-47515-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47515
Ralf Wildenhues <rwild at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rwild at gcc dot gnu.org
--- 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?
libtool also has a pending patch abstracting -Bstatic/-Bdynamic by the way.