Opened 5 years ago

Last modified 4 years ago

#59351 closed defect

Cannot compile gfortran (or even libgcc7) under Catalina — at Version 3

Reported by: thepeteriley (Pete Riley) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: catalina Cc:
Port: gcc7

Description (last modified by kencu (Ken))

Following the instructions, including a clean install of Catalina and a clean install of Macports, after getting a first round of errors, then forcibly deactivating libunwind-headers, the installation of gfortran continued until:

--->  Building libgcc7
Error: Failed to build libgcc7: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc7/libgcc7/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gcc6 failed

I'm happy to send a full log if needed, but I don't want to bog this message down with it unless it's necessary.

Thanks!

Change History (3)

comment:1 Changed 5 years ago by thepeteriley (Pete Riley)

This is my first ticket to macports (I've never encountered an issue that I couldn't resolve in the past :)), please let me know if the information is useful and/or whether it should have been posted somewhere else?

comment:2 Changed 5 years ago by kencu (Ken)

Thank you for the report!

Unfortunately, gcc has so far only made gcc9 compatible with Catalina. Perhaps you might be able to use gcc9 in your project.

gcc9 should be the current default, but if you're upgrading from older installations, you might still be calling in gcc7, which does not work on Catalina at present.

We don't yet have a timeline on when or if gcc7 will work with Catalina.

comment:3 Changed 5 years ago by kencu (Ken)

Description: modified (diff)
Keywords: catalina added
Port: gcc7 added
Note: See TracTickets for help on using tickets.