From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id 0F5AA384F898 for ; Fri, 25 Nov 2022 11:39:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0F5AA384F898 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x629.google.com with SMTP id bj12so9659797ejb.13 for ; Fri, 25 Nov 2022 03:39:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/A30F9Zyj+J6IX8JJWPeAkAMDx1EOPx5UdcO3rIEdmA=; b=R+pyzwaerCk3Y2ZWIp4T0GYckWWqOnj21d7igQvGc/XdsaOd6P3D/rw75+YTB5OZyR YGoV7MrSiVsE3iLuGVrmmYiJjfzS4TPENbohokJ0ePxGO8Roz7OAoGu30t1TW6Kewjog wHtoOCsYZd4n2n0PlRUXRSYn4n8JYvkZxPY4vXobSEu8DzHXqLyuQjxcOw7O2dG2MQMu v4CkM3e0nq1Ioymz8KPo44Cw++oEjfI/PHfAqLq0Eu8p6TP0pNBDwgtuSbXXtsZ2x6G3 tJ18MG1DF5ig4IPUZc8PQjuNePmyi0of+fDLZw9NLVOfhGstVUw/9uf22i9W+/Tr9Utn o2Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/A30F9Zyj+J6IX8JJWPeAkAMDx1EOPx5UdcO3rIEdmA=; b=NCz0ZBEdD/We7XfJNmO+hUshhMBLVDikyf6rfzHbkBD6gEsNnZIhZtxtwCBCCmrFf1 5l0N3u3HOsYaQEY/gDO3US/JgVz5LJyPdZnwxJRi179wa5+GQ3TDzNcgGlChCry9ZuT/ xo1GdPhx6GoRlVFOYSWEGLpnWIbD4mA5VrOcmuaHVzinFLJfcX8A5vVsleeDcQbAquON 52LmkLG4mtLue3Egy+HsIUwOCzrJBIRVvulmRuV6pOMbddtEIu6IaK2v0GsbPRTLMzFo 4pGRtcApzW/C5dsFmn+IKFXzlLfKAC9vAMumnR2j1ezYFP0eaCmopViOA9vpiE/SHTig gD7g== X-Gm-Message-State: ANoB5pmTJzHdaM+/TNR3A8iQGsU4vhMkoLwsea78BNu6woyQKoa9OZ2R dhVoS3T4Y5UJe2ttfjRQ8yhbCDfaCs0OjVeMI8E= X-Google-Smtp-Source: AA0mqf7RQaOKi8uaN3wYLaCX6wSw9L+XMG0X0uDJKQyQdSeWukJVM6OCijjs4mmpVV0UMoAWeyQ3VDzoqxtBrYJS/Q4= X-Received: by 2002:a17:907:cf84:b0:78d:4795:ff1f with SMTP id ux4-20020a170907cf8400b0078d4795ff1fmr32622003ejc.331.1669376394899; Fri, 25 Nov 2022 03:39:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Fri, 25 Nov 2022 11:39:43 +0000 Message-ID: Subject: Re: Configuring GCC 10.3 on PPC Mac OS X 10.4.11/Tiger for build reveals flaws in configure scripts To: Peter Dyballa Cc: gcc-help@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, 25 Nov 2022 at 11:29, Jonathan Wakely wrote: > > On Fri, 25 Nov 2022 at 11:22, Jonathan Wakely wrote: > > > > On Fri, 25 Nov 2022 at 10:20, Peter Dyballa via Gcc-help > > wrote: > > > Configuring stage 2 in ./gcc > > > > > > checking linker --sysroot support... no > > > checking __stack_chk_fail in target C library... checking for __stack_chk_fail... no > > > no __stack_chk_fail on this target > > > no > > > checking sys/sdt.h in the target C library... no > > > > > > I'll see if I can find this one too. Also harmless though. > > gcc/configure.ac has: > > # Test for stack protector support in target C library. > AC_CACHE_CHECK(__stack_chk_fail in target C library, > ... > *-*-darwin* | *-*-freebsd* | *-*-netbsd*) > AC_CHECK_FUNC(__stack_chk_fail,[gcc_cv_libc_provides_ssp=yes], > [echo "no __stack_chk_fail on this target"]) > ;; > > That AC_CHECK_FUNC comes after the earlier message which hasn't > printed its result yet, so the output of the two gets muddled. Then > the echo makes it even worse, by adding a third message inside the > other two. I've opened https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107869 for this.