This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
- From: The Doctor <doctor at doctor dot nl2k dot ab dot ca>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Sat, 7 May 2005 15:06:40 -0600
- Subject: Re: bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
- Authentication-results: doctor.nl2k.ab.ca from=doctor@doctor.nl2k.ab.ca; sender-id=neutral; spf=neutral
- References: <20050507135859.GA1076@doctor.nl2k.ab.ca> <SERRANO8XKPl5GDrPix00000278@SERRANO.CAM.ARTIMI.COM>
On Sat, May 07, 2005 at 04:35:33PM +0100, Dave Korn wrote:
> ----Original Message----
> >From: The Doctor
> >Sent: 07 May 2005 14:59
>
> > On Sat, May 07, 2005 at 07:45:52AM -0600, The Doctor wrote:
> >> On Sat, May 07, 2005 at 03:14:33PM +0930, Alan Modra wrote:
> >>> On Fri, May 06, 2005 at 09:45:02PM -0600, The Doctor wrote:
> >>>> I got this to work in 2.15 no problem. what changed?
> >>>
> >>> -Werror
> >>>
> >>
> >> Let me include this.
> >>
>
> That's not what he meant! (As I see you've discovered!) He meant that
> binutils now uses -Werror, so any old warnings that it used to give on your
> target will now be errors that break the build.
>
> However I think that's a red herring. The warnings at the end of your
> first post aren't what broke the build; those command lines don't have
> -Werror on them. The build failed because of the earlier failure of bfd to
> build.
>
> elf.c:8171: syntax error at end of input
> elf.c:48: warning: `elfcore_read_notes' used but never defined
>
> I reckon your patch failed to apply cleanly to the newer version of elf.c
> in binutils 2.16, and it's left it with some syntactically-invalid lines of
> code, possily a missing brace or bracket somewhere, perhaps more serious.
> You're going to have to look at the before and after and compare that to the
> patch, see what went wrong.
>
I do I did not have this in 2.15, so off to work it is!
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline today....
>
--
Member - Liberal International
This is doctor@nl2k.ab.ca Ici doctor@nl2k.ab.ca
God Queen and country! Beware Anti-Christ rising!
BC, Vote Liberal!!