Opened 2 years ago

Closed 2 years ago

#64372 closed update (duplicate)

gcc10: Error: configuring for an unreleased macOS version x86_64-apple-darwin21

Reported by: jlaminie Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: monterey Cc:
Port: gcc10, gcc9, libgcc9

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hi! and happy new year !

when I upgrade gcc10 annd all stuff around gcc compilers, I have this warning message :

--->  Configuring gcc10
Warning: Applying '--without-build-config' workaround to Xcode 13.2.1 / CLT 13.2.0.0.1.1638488800
Warning: If versions > 12.5 please check if it is still required
--->  Building gcc10                                     
Error: Failed to build gcc10: command execution failed   

On the main.log file (see attachment) I have:

  4100 :info:build checking if mkdir takes one argument... no
  4101 :info:build Error: configuring for an unreleased macOS version x86_64-apple-darwin21
  4102 :info:build make[2]: *** [configure-stage1-gcc] Error 1

I have done: port -d upgrade gcc10 after a port clean gcc10

I hope that you can do something for me. I need GCC compilers for working

Best Regards

Jacques Laminie
Université des Antilles
Guadeloupe - FRANCE

Attachments (1)

gcc10-main.log (553.8 KB) - added by jlaminie 2 years ago.

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by jlaminie

Attachment: gcc10-main.log added

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: gcc10 removed
Port: and so on removed
Summary: port upgrade gcc10.gcc10: Error: configuring for an unreleased macOS version x86_64-apple-darwin21

Use a newer version of gcc, such as gcc11 or gcc-devel. As you see, gcc10 and older appear to be too old to be compatible with macOS 12.

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

see:

https://github.com/iains/gcc-10-branch/issues/4

Also, this ticket is a duplicate of #63778

comment:3 Changed 2 years ago by hemmlj

Please add keyword "12.0" to have this ticket reported in the ticket report for MacOs 12 Montery. Thanks!

comment:4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: monterey added

comment:5 Changed 2 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Closing as per comment:2 (not sure why Ken didn't do it at the time?)

Note: See TracTickets for help on using tickets.