bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3
The Doctor
doctor@doctor.nl2k.ab.ca
Sun May 8 00:13:00 GMT 2005
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!!
More information about the Binutils
mailing list