Re: -Werror enabled by default on GNU/Hurd

Andrew Burgess via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
* Andrea Monaco via Gdb <[email protected]> [2021-12-28 23:16:40 +0100]:

> 
> When building gdb on GNU/Hurd, -Werror is enabled by default.  I think
> that's a bug: that option is only useful in specific instances; enabling
> it by default means that the build fails after a plain ./configure, and
> you need to pass --disable-werror to make it succeed.
> 
> I tried to locate the problem myself, but the build scripts are very
> complex.  Could someone please give me some hints?

I just posted this patch to the patches list:

  https://sourceware.org/pipermail/gdb-patches/2021-December/184683.html

with this patch I am now able to build GDB on GNU/Hurd (i686).  This
might help you out.

Thanks,
Andrew
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.