head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.12 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.10 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.8 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.6 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2024.12.15.03.07.57; author brook; state Exp; branches; next ; commitid BjAXiuRGteFZQxBF; desc @@ 1.1 log @The lang/gcc12, lang/gcc13, and lang/gcc14 fail to build on Darwin 24 (MacOS 15) + Xcode 16. This is a known problem that has been fixed upstream; see https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgcc.gnu.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D116809&data=05%7C02%7Cbrook%40biology.nmsu.edu%7C9ac029bebed94a8c076f08dd19568e63%7Ca3ec87a89fb84158ba8ff11bace1ebaa%7C1%7C0%7C638694581737865288%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=DIvQP0mbOte9Pjh3UjtXsSGiQhTontx4GTQHNCFwg6E%3D&reserved=0 and associated patches from 2024-09-24 and 2024-09-27. The basic problem is that the legacy library libgcc_s.1 referenced private symbols in the Apple-provided runtime, which have now been removed by Apple and therefore do not resolve. Those symbols never worked anyway, so there should be no legacy code using them. The upstream solution is to drop support for libgcc_s.1 for new versions of Darwin. @ text @$NetBSD$ libgcc, Darwin: Drop the legacy library build for macOS >= 15 [PR116809]. We have been building a legacy libgcc_s.1 DSO to support code that was built with older compilers. From macOS 15, the unwinder no longer exports some of the symbols used in that library which (a) cuases bootstrap fail and (b) means that the legacy library is no longer useful. No open branch of GCC emits references to this library - and any already -built code that depends on the symbols would need rework anyway. PR target/116809 See https://github.com/gcc-mirror/gcc/blob/master/libgcc/config/i386/t-darwin. --- libgcc/config/i386/t-darwin.orig 2024-05-21 07:47:41.000000000 +0000 +++ libgcc/config/i386/t-darwin @@@@ -4,6 +4,3 @@@@ LIB2FUNCS_EXCLUDE = _fixtfdi _fixunstfdi # Extra symbols for this port. SHLIB_MAPFILES += $(srcdir)/config/i386/libgcc-darwin.ver - -# Build a legacy libgcc_s.1 -BUILD_LIBGCCS1 = YES @