From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id 00029394B001 for ; Tue, 24 May 2022 18:54:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 00029394B001 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=mattwilson.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mattwilson.org Received: by mail-pl1-x62a.google.com with SMTP id m1so16623009plx.3 for ; Tue, 24 May 2022 11:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mattwilson.org; s=google; h=date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=VXUqVRoNHDFyRyMQ/BkyKI90BxcOgWaNJ8/h8OtLfvc=; b=aSaUDqzIzsfGtt+Xv3NB+OR57oSdk9s6FSYUQ4uyc8W23oVLQ7GnFWm8vjqy5azGHl +pQqriB/gZ9HwxIU9fCK95/j1mdheBeWLgj31Zofkeg5IbGgAlDvbrgkxOn1ifOHiUaf JUO8OI4M8RS1oA2OmoakqqDXX1uNZKnyOXmcU= 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:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=VXUqVRoNHDFyRyMQ/BkyKI90BxcOgWaNJ8/h8OtLfvc=; b=HHE9sN2C7Td5g3sQ50cgit2ZcSDn3EOCkP/94LaQTHTT7fpYFXPDIXBNBLWlmukDxv +LaARp9R93qXbAGAm7Ech2OVifF6xO6tozA9ntuIhAIO6C8O3rwUWg1RCX4ldchhL3KX Xt+xKtkyRDcmeLl93HkyvvSNdUMcsyYj0rxwApL/mTR5zZmpy7CyW7B8f0Aw8ANvB4Ju 5YSx7hU4UfABfQP2ebQMcyZlR2o2OLgIOiW6cbs/7RLcfuBDiyk5ah/O1wOSyn9MDlAo EZd9eRs1s+NQTQ4yywpJrlKx7GXtZV3fniz+I4gIbla0BK1FEZKG7A/PJopvpwpdX25W yMyg== X-Gm-Message-State: AOAM530xmtKqbRiiK1dnPq61MooWl9pAU3zrE2xcfHRgD2o9d72CY/ZP GEQS2JVk8lr1NyLQ762YvTEDxSer/2squw== X-Google-Smtp-Source: ABdhPJxyFi9rglZuaYqedwfPTALGEVjYt716/VHdFJZX3bQZLd3ZLJVGpyaTWFcFCcm8QWhAJVSk1g== X-Received: by 2002:a17:90b:180b:b0:1df:b2ac:faf9 with SMTP id lw11-20020a17090b180b00b001dfb2acfaf9mr5964571pjb.150.1653418494367; Tue, 24 May 2022 11:54:54 -0700 (PDT) Received: from mattwilson.org ([50.45.185.53]) by smtp.gmail.com with ESMTPSA id f16-20020a056a0022d000b0050dc76281dfsm3314334pfj.185.2022.05.24.11.54.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 May 2022 11:54:53 -0700 (PDT) Date: Tue, 24 May 2022 11:54:51 -0700 From: "Matthew R. Wilson" To: gcc-help Subject: Re: Error in c++tools while building GCC 12.1.0 on HP-UX 11.23 Message-ID: <20220524185451.7hiexks6iscdck3y@mattwilson.org> References: <20220524014611.x7ae6pit33k33dfn@mattwilson.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=1.4 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2022 18:54:57 -0000 On 05.24.2022 11:16, Stefan Ring via Gcc-help wrote: >On Tue, May 24, 2022 at 3:47 AM Matthew R. Wilson > wrote: >> >> Alternatively, are these c++tools necessary? Can they be excluded from >> the build? > >I don’t think so, but it looks like you can fix it by just removing >the offending if statement. It’s obviously broken for the case when >you have neither of HAVE_PSELECT, HAVE_SELECT. Thanks. Success! I commented out c++test/server.cc lines 756 and 757, and the build completed successfully. Who knows if there will be ill effects in some case sometime in the future, but seems to work for my purposes for now. Thanks, Matthew