Re: pkg/60121: gcc12: Build fail s on modern ARM64 macOS with error ‘_Float16 ’ does not name a type
"Jonathan Perkin via gnats" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR pkg/60121; it has been noted by GNATS. From: Jonathan Perkin <[email protected]> To: [email protected] Cc: [email protected], [email protected], [email protected], [email protected] Subject: Re: pkg/60121: gcc12: Build =?utf-8?Q?fail?= =?utf-8?Q?s_on_modern_ARM64_macOS_with_error_=E2=80=98=5FFloat16?= =?utf-8?B?4oCZ?= does not name a type Date: Tue, 24 Mar 2026 08:38:07 +0000 * On 2026-03-24 at 08:30 GMT, Thomas Klausner via gnats wrote: > As a workaround - gcc12 seems to build fine in > https://reports.pkgci.org/Darwin/14.5/arm64/20260320.1921/meta/report.html > (IIUC on a slightly older macOS) > so you could use the binary package from there, see > https://pkgsrc.smartos.org/install-on-macos/ FWIW I use my own GCC packages for those builds because I disagree strongly with the way the pkgsrc packages are done. My builds use these two packages: https://github.com/TritonDataCenter/pkgsrc-extra/tree/main/gcc14-macos https://github.com/TritonDataCenter/pkgsrc-extra/tree/main/gcc14-macos-libs to ensure that the package is fully Darwin compatible, does not have any unnecessary patches for other OS applied to it, and also so that there is proper -libs package support for all Fortran packages, thus avoiding the huge gcc runtime dependency. -- Jonathan Perkin pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com