From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 919E6385781F for ; Fri, 17 Feb 2023 16:04:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 919E6385781F Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=googlemail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=googlemail.com Received: by mail-wm1-x32e.google.com with SMTP id m21-20020a05600c3b1500b003e1f5f2a29cso1321571wms.4 for ; Fri, 17 Feb 2023 08:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=FqrHa2Mz62vq0hTlff0XJ7Slw6bNKgieRCJPjd6ctIs=; b=hgs4n0eaAyIXqrnlDCl3B5ppE0xL1yIaqFIQTCVMkGnNxmw5wFmqdlqrprJP4bZ2TS JKsPEGfKokGVlkh8CB3Z//+bOpULKwv6KQHIf30YPUmb5x4Hd8wVjKwz9D4OK3cqZLO/ 9rO6RCpryMlfxt5H+8pjiaJ9SNLcVB4o32ybb/7W8n36ZPDcHuB2AjPyHGpA2e2/q8vv tODlIqWrYI6TSkiEDnbBrHCF9ymx48wkT/7phKT1UC8UtRYie3iR3wnouHHpemgFxdjM tiAf2+bSy7ue/2elKastL/oFmB40aElaqCGeh2OKB3vSZAFUnErXJ8ye2EIHwSTS5R6+ 13Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FqrHa2Mz62vq0hTlff0XJ7Slw6bNKgieRCJPjd6ctIs=; b=L8//2a+JERwXhDbF6YBnCl0jW6tgo19pNkNv85gPyfiyoRZ3y4TrdlpeaX6Na9xtfX 5Sfttzd5cCwykBjzBrJme0D1bSdJM7veXyjjCYKmOFsE7CpSPzdekf38tmoS8R+QC3Dt dXC5Em/C2oABlQsFj1oeiiFB1RCi3yGPYkoLY+a6cSW8Gmiig5QdMHba1A3LOYH4xEhH ZVs4LKJ12Lfq91Uj4CngzqfKTc6MCw0PR29lTI/SRtR9uIdOokGWaVPA1OqgsX62mrYe 3SN1muf5B6dydWpXKHO8jV3DC267t43CZ0Y3Lds0Xzo8ShXN69bnIVjSaJV4O104/rJC b99g== X-Gm-Message-State: AO0yUKV3y9xXxrwxx0B5nVeOaM+ZSebjBeLE+E5qORKIsZGjEkmtpPgn XLFfk37TORJCReNjmVn9Fmo= X-Google-Smtp-Source: AK7set+DQrtTWiupfIO8DCOQGdo8Rm2D7elq9w5Nh/WFNYVVI81bhP4UOecoJeXgCfZZtEI2z/CEig== X-Received: by 2002:a05:600c:3b22:b0:3df:e1e9:201d with SMTP id m34-20020a05600c3b2200b003dfe1e9201dmr1057148wms.40.1676649840849; Fri, 17 Feb 2023 08:04:00 -0800 (PST) Received: from smtpclient.apple (host81-138-1-83.in-addr.btopenworld.com. [81.138.1.83]) by smtp.googlemail.com with ESMTPSA id x14-20020a1c7c0e000000b003e20970175dsm6410579wmc.32.2023.02.17.08.04.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Feb 2023 08:04:00 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Subject: Re: Failure During Building From: Iain Sandoe In-Reply-To: Date: Fri, 17 Feb 2023 16:03:59 +0000 Cc: GCC Development , Jonathan Wakely Content-Transfer-Encoding: quoted-printable Message-Id: <3FB34CBA-3065-4596-994D-D666BFA7B632@googlemail.com> References: To: -xlan- X-Mailer: Apple Mail (2.3696.120.41.1.2) X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 17 Feb 2023, at 15:37, Jonathan Wakely via Gcc = wrote: >=20 > On Fri, 17 Feb 2023, 15:17 -xlan- via Gcc, wrote: >=20 >> I was building gcc version 4.9.1 >=20 >=20 > Why? Indeed, what is the use-case? trying to build such an old GCC version on modern macOS could be = problematic. > on Mac OS version when I got this error: >>=20 >> In file included from ../../gcc-4.9.1/gcc/c/c-objc-common.c:33: >> In file included from >>=20 >> = /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/new= :93: >>=20 >> = /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/exc= eption:184:5: >> error: no member named 'fancy_abort' in namespace 'std::__1'; did you = mean >> simply 'fancy_abort'? >> _VSTD::abort(); >> ^~~~~~~ >>=20 >=20 >=20 > The GCC sources define 'abort' as a macro, which appears to be = incompatible > with LLVM's libc++. >=20 > You might be able to compile using -stdlib=3Dlibstdc++ instead. There are no headers for libstdc++ in SDKs for OSX 10.13 + (so you would = need also to find an older SDK and then build with an OSX target of say 10.12). What you are trying to do is going to required quite advanced techniques = to deal with the difference in the OS, compiler and bootstrap tools. I = have not attempted anything < GCC-5 on newer machines. Iain