This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: binutils breaks on x64-pc-mingw32
On Thu, Aug 30, 2007 at 10:11:56AM -0400, NightStrike wrote:
> On 8/30/07, NightStrike <nightstrike@gmail.com> wrote:
> > On 8/30/07, H.J. Lu <hjl@lucon.org> wrote:
> > > On Thu, Aug 30, 2007 at 05:36:33AM -0700, H.J. Lu wrote:
> > > > On Thu, Aug 30, 2007 at 07:16:59AM -0400, NightStrike wrote:
> > > > > On 8/30/07, H.J. Lu <hjl@lucon.org> wrote:
> > > > > > Can you try this patch?
> > > > >
> > > > > No change. Also broken is i686-pc-cygwin, for what it's worth.
> > > >
> > > > What is the error message? Did you regenerate configure?
> > > >
> > > >
> > >
> > > There are several problems:
> > >
> > > 1. When we use AC_GNU_SOURCE, we shouldn't use -D_GNU_SOURCE.
> > > 2. We need to declare stpcpy if HAVE_DECL_STPCPY is 0.
> > > 3. config.h should be included first for _GNU_SOURCE to be
> > > effective.
> > >
> > > Can you try this patch?
> >
> > This latest patch appears to have worked for i686-pc-cygwin. I will
> > try x86_64-pc-mingw32 as well.
>
> x86_64-pc-mingw32 once again compiles. Are there any other targets
> that require testing?
It is a host problem, not target.
H.J.