bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binutils build broken at FreeBSD 5.3 after -Werror enabling


From: Nick Clifton
Subject: Re: Binutils build broken at FreeBSD 5.3 after -Werror enabling
Date: Tue, 29 Mar 2005 16:31:37 +0100
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)

Hi Vladimir,

Results of testting:

And then configure part work fine at FreeBSD but
binutils/config.h not #included in addr2line.c

Hmm, but it does #include "bucomm.h" which then #include's "config.h". It turns out however that it incldues it too late (ie after "bfd.h"). So please try the attached patch (in addition to my previous patch).

Cheers
  Nick

Index: binutils/addr2line.c
===================================================================
RCS file: /cvs/src/src/binutils/addr2line.c,v
retrieving revision 1.21
diff -c -3 -p -r1.21 addr2line.c
*** binutils/addr2line.c        15 Jun 2004 01:19:13 -0000      1.21
--- binutils/addr2line.c        29 Mar 2005 15:33:56 -0000
***************
*** 29,34 ****
--- 29,35 ----
     both forms write results to stdout, the second form reads addresses
     to be converted from stdin.  */
  
+ #include "config.h"
  #include <string.h>
  
  #include "bfd.h"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]