[Top][All Lists]

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

Re: AC_REPLACE_FUNCS is not -Werror safe

From: Kamaraju S Kusumanchi
Subject: Re: AC_REPLACE_FUNCS is not -Werror safe
Date: Wed, 22 Jun 2011 23:33:57 -0400
User-agent: KNode/4.4.7

Ralf Corsepius wrote:

> On 06/21/2011 06:46 AM, Kamaraju Kusumanchi wrote:
>> I am unable to compile gdb-7.2 using gcc-4.6 with the -Werror option
>> on a Debian sid machine. When I reported the bug to gdb maintainers as
>> http://sourceware.org/bugzilla/show_bug.cgi?id=12891 , they informed
>> me that the bug is actually in autoconf package. It seems libiberty in
>> gdb-7.2 uses AC_REPLACE_FUNCS and apparently this is not -Werror safe.
> The answer is simple: You must not pass -Werror to configure scripts,
> because many autoconf checks are based on compile checks applying
> "crude" code, which occasionally trigger warnings but are not supposed
> to issue errors.
> That said, if this -Werror originates from gdb's configury, it's a bug
> in their package's usage of autoconf, if this -Werror originates from
> your command-line, the origin of this issue is you ;)

Ok. Thanks for the reply. In this case, the -Werror originates from my 
command-line. So the problem is myself.

Kamaraju S Kusumanchi

reply via email to

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