Re: new binutils broken for amd64

From: Joe Marcus Clarke <marcus_at_marcuscom.com>
Date: Thu, 17 Jun 2004 14:10:14 -0400
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



Received on Thu Jun 17 2004 - 16:09:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC