[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in replacing strndup
From: |
Joel E. Denny |
Subject: |
Re: Bug in replacing strndup |
Date: |
Tue, 21 Oct 2008 10:56:58 -0400 (EDT) |
As far as I can tell, this message was never delivered, so I'm resending.
On Sat, 18 Oct 2008, Joel E. Denny wrote:
> On Wed, 3 Sep 2008, Esa A E Peuha wrote:
>
> > Replacing libc function strndup during building of Bison 2.3 doesn't
> > work quite right; if the configure script determines that libc has
> > non-working strndup, then lib/strndup.o defines symbol `strndup' while
> > other .o files refer to symbol `rpl_strndup', and compilation halts with
> > this message:
> >
> > ../lib/libbison.a(xstrndup.o)(.text+0x5): In function `xstrndup':
> > .../bison-2.3/lib/xstrndup.c:35: undefined reference to `rpl_strndup'
>
> Thanks for the report. This appears to be a bug in Gnulib that's already
> been fixed. I am able to reproduce the behavior in Bison 2.3 by altering
> my configure script to assign gl_cv_func_strndup=no wherever it previously
> assigned yes. I am not able to reproduce it with the latest git sources
> for Bison and Gnulib.
>
> If you would like to be sure this is fixed for you, you can build Bison
> from our latest git sources:
>
> http://savannah.gnu.org/projects/bison/
>
> Alternatively, you could download our latest test release, bison-2.3b,
> which I believe also has the fix:
>
> http://alpha.gnu.org/gnu/bison/
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Bug in replacing strndup,
Joel E. Denny <=