new binutils broken for amd64

Joe Marcus Clarke marcus at marcuscom.com
Thu Jun 17 18:09:55 GMT 2004


On Thu, 2004-06-17 at 14:06, Sean McNeil wrote:
> On Thu, 2004-06-17 at 01:11, David O'Brien wrote:
> > On Wed, Jun 16, 2004 at 10:03:15PM -0700, Sean McNeil wrote:
> > > If I do
> > > make buildworld && make installworld
> > > 
> > > it creates an improper ld.  If I do
> > > 
> > > cd /usr/src/gnu/usr.bin/binutils/ld
> > > make clean
> > > make
> > > make install
> > > 
> > > Then I get an ld that works properly.
> > 
> > Please send me (or make available) the working and not-working 'ld'
> > binaries.
> 
> I just did a new make buildworld installworld with /usr/obj empty.  Same
> issue.  Just doing a
> 
> portupgrade -f glib-2.4.2
> 
> will fail with the new linker.  Turns out there are two linkers in
> /usr/obj.  The one at
> 
> /usr/obj/usr/src/amd64/usr/src/gnu/usr.bin/binutils/ld/ld
> 
> works
> 
> The one at
> 
> /usr/obj/usr/src/gnu/usr.bin/binutils/ld/ld
> 
> does not.
> 
> I have placed a copy of both as:
> 
> http://www.mcneil.com/~sean/freebsd/amd64-ld
> and
> http://www.mcneil.com/~sean/freebsd/ld
> respectively.

Just wanted to add, I did the same thing on i386 (i.e. rm -rf /usr/obj/*
then a full world and kernel).  By building and installing the linker at
/usr/src/gnu/usr.bin/binutils/ld, I was up and running again.  Before
that, I received the same failures Sean is seeing when trying to link
anything.

Joe

> 
> Hope this helps,
> Sean
> 
> 
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
-- 
PGP Key : http://www.marcuscom.com/pgp.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20040617/b32871fe/attachment.bin


More information about the freebsd-amd64 mailing list