Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#65518 closed defect (wontfix)

libgcc9 @9.5.0_2: compilation fails with error "gcc9 9.5.0 is not supported on Darwin 19 i386"

Reported by: jfgobin (Jean-François Gobin) Owned by: cjones051073 (Chris Jones)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: gcc9 libgcc9 architecture i386 x86_64 Cc: mascguy (Christopher Nielsen), dershow
Port:

Description (last modified by mascguy (Christopher Nielsen))

Issue happened with "port upgrade outdated"

--->  Fetching distfiles for libgcc9
Error: gcc9 9.5.0 is not supported on Darwin 19 i386
Error: Failed to fetch libgcc9: incompatible macOS version

uname -a:
Darwin JeanFrancoisMBP 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64 x86_64

uname -p:
i386

uname -m:
x86_64

Change History (4)

comment:1 Changed 21 months ago by mascguy (Christopher Nielsen)

Description: modified (diff)
Owner: set to cjones051073
Status: newassigned
Summary: libgcc9 @9.5.0_2 (universal): compilation fails with error "gcc9 9.5.0 is not supported on Darwin 19 i386"libgcc9 @9.5.0_2: compilation fails with error "gcc9 9.5.0 is not supported on Darwin 19 i386"

@cjones I'm also seeing this on my 10.15 installation.

comment:2 Changed 21 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 21 months ago by cjones051073 (Chris Jones)

Resolution: wontfix
Status: assignedclosed

This is intentional.

With the rpath migration upstream has started with gcc 10, 11 and 12, older versions can no longer be supported, due to the way we share the libgcc runtime across all gcc versions. Upstream have indicated they may port support back to some older gcc releases, in due time, but until that happens we no longer can support gcc9 or older, on OSX 10.11 or newer, which are the OS version where gcc now relies on @rpath support.

You therefore need to migrate to a newer gcc version. If you have any ports using gcc9 variants, they will undoubtedly now have migrated to use a newer gcc variant by default, and you should uninstall any ports using gcc9 and reinstall with a newer variant.

Last edited 21 months ago by cjones051073 (Chris Jones) (previous) (diff)

comment:4 Changed 21 months ago by dershow

Cc: dershow added
Note: See TracTickets for help on using tickets.