On Sun, Feb 20, 2011 at 02:01:44PM -0800, Steve Kargl wrote:
> On Fri, Feb 18, 2011 at 08:54:13PM +0000, Dimitry Andric wrote:
> > Author: dim
> > Date: Fri Feb 18 20:54:12 2011
> > New Revision: 218822
> > URL: http://svn.freebsd.org/changeset/base/218822
> > 
> > Log:
> >   Merge binutils 2.17.50 to head.  This brings a number of improvements to
> >   x86 CPU support, better support for powerpc64, some new directives, and
> >   many other things.  Bump __FreeBSD_version, and add a note to UPDATING.
> >   
> >   Thanks to the many people that have helped to test this.
> 
> This commit appears to be causing 
> 
> laptop:kargl[205] ~/work/bin/gfortran -o z a.f
> /usr/bin/ld: error in 
> /usr/home/kargl/work/lib/gcc/i386-unknown-freebsd9.0/4.6.0/crtend.o(.eh_frame);
>  no .eh_frame_hdr table will be created.
> 
> and
> 
> laptop:kargl[208] ~/work/bin/gcc -o z h.c
> /usr/bin/ld: error in 
> /usr/home/kargl/work/lib/gcc/i386-unknown-freebsd9.0/4.6.0/crtend.o(.eh_frame);
>  no .eh_frame_hdr table will be created.
> 
> Note an executable is created and it appears to work.
> 
> laptop:kargl[213] ./z
> Hello world
> 
> Unfortunately, one can no longer run the GCC testsuite because
> the testsuite is not expecting the /usr/bin/ld message.
> 
> So, is there an patch that needs to been sent upstream to GCC
> to fix crtend.o?  Or. can you fix /usr/bin/ld to not emit this
> seemingly harmless message?
I suspect this is the same issue as was fixed by r209294 in FreeBSD
svn repo. Most likely, similar approach would help gcc.

Attachment: pgpzdloUEb1iH.pgp
Description: PGP signature



Reply via email to