From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from confino.investici.org (confino.investici.org [IPv6:2a00:c38:11e:ffff::a020]) by sourceware.org (Postfix) with ESMTPS id 590F93858D39 for ; Tue, 28 Dec 2021 22:16:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 590F93858D39 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4JNpm95NGYz10wW for ; Tue, 28 Dec 2021 22:16:41 +0000 (UTC) Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: andrea.monaco@autistici.org) by localhost (Postfix) with ESMTPSA id 4JNpm94cp2z10ty for ; Tue, 28 Dec 2021 22:16:41 +0000 (UTC) From: Andrea Monaco To: gdb@sourceware.org Subject: -Werror enabled by default on GNU/Hurd Date: Tue, 28 Dec 2021 23:16:40 +0100 Message-ID: <87pmpgml2v.fsf@autistici.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2021 22:16:46 -0000 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? Thanks, Andrea Monaco