From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id EC21D3858D28 for ; Wed, 29 Dec 2021 14:43:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EC21D3858D28 Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-663-zmp6fQ1aOFC12c899hMjaw-1; Wed, 29 Dec 2021 09:43:53 -0500 X-MC-Unique: zmp6fQ1aOFC12c899hMjaw-1 Received: by mail-wr1-f69.google.com with SMTP id t30-20020adfa2de000000b001a24004e1fbso4975825wra.10 for ; Wed, 29 Dec 2021 06:43:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=3584tQJc/xC7JkFZ/njW3R7Ou4RL+WXC7MO1i9Q1yVU=; b=Nlg0fZTjF8S7JGWcQuRMXq3dUAQj7YE/cSv08sjoUsX4lFtiBq9wRWvEmxJ0UPzyvq 9BvRm6KhGqEO1WyY9ZnYHDcmfOUOu6mOZNksvlNR2dhUd/s7X0PAN8SzuPaq9JkiyoTm jun7QJ47j9pXsQ/AYduVoY6wuc09tob3PXiZsjl/kijIO2eokCH34DBQDZIeiU7HD6+7 f9nKI9pEMTw3PBBVjw2VZ0kCEmL2E4bWvPEMkOVo88VX5C1yNlngpf7BoqppWnDrpn6J 9VmEFFuSYHhzFfpbo0TlOlFw//lVkkwDuONWJU5vYSMOYp6cB4JeTgrEM3Cklah7ey6H H6AA== X-Gm-Message-State: AOAM530H5I+qvHF/C7zt698zd8mKyrQGaA84oydX9SlWC2oOoSiMAuKe qzXy3O92k4MlmirCGb9tlV54QInrK4C2I0NzMNdzYEkrOQKpdF5UGLNAoNRtxzWqqaRNnQU9k/Z cbHqdpL//tPw= X-Received: by 2002:a05:6000:10c4:: with SMTP id b4mr20449370wrx.514.1640789031822; Wed, 29 Dec 2021 06:43:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJymVSnpYzDGR9aq/ntzFLhl/eaA6T3ZLppAp7lCZGCuAL7dr9ozbmb8Fn+oncA7SHkLaGE5WQ== X-Received: by 2002:a05:6000:10c4:: with SMTP id b4mr20449355wrx.514.1640789031689; Wed, 29 Dec 2021 06:43:51 -0800 (PST) Received: from localhost (host86-134-238-138.range86-134.btcentralplus.com. [86.134.238.138]) by smtp.gmail.com with ESMTPSA id a24sm5941217wmj.8.2021.12.29.06.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 06:43:51 -0800 (PST) Date: Wed, 29 Dec 2021 14:43:50 +0000 From: Andrew Burgess To: Andrea Monaco Cc: gdb@sourceware.org Subject: Re: -Werror enabled by default on GNU/Hurd Message-ID: <20211229144350.GB2308572@redhat.com> References: <87pmpgml2v.fsf@autistici.org> MIME-Version: 1.0 In-Reply-To: <87pmpgml2v.fsf@autistici.org> X-Operating-System: Linux/5.8.18-100.fc31.x86_64 (x86_64) X-Uptime: 14:41:41 up 11 days, 4:29, X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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: Wed, 29 Dec 2021 14:43:57 -0000 * Andrea Monaco via Gdb [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