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: sysdep.h:stpcpy change caused build error in autotester


On Thu, May 05, 2005 at 01:30:24AM +0200, Hans-Peter Nilsson wrote:
> > Date: Thu, 5 May 2005 00:58:42 +0200
> > From: Hans-Peter Nilsson <hp@axis.com>
> 
> > I'll investigate and likely fix as obvious.
> 
> I committed this one, that I've tested by editing and resuming
> the test in the autotester (cris-axis-elf) directory.
> 
> A better solution IMHO, but more invasive, would be to compile
> all of binutils with -D__USE_GNU, so prototypes of all
> non-standard functions are exposed (apparently a bug in
> glibc-2.2.5 that the macro is still exposed).
> 
> I wonder why -D__USE_GNU isn't used.

See my other message about -D_GNU_SOURCE (which was used).  __USE_GNU
is internal.

I think your patch is probably wrong, though harmless.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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