This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: bfd/elf.c chokes on BSD/OS 4.3.1 running gcc 3.2.3


----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.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]