[MacPorts] #67416: libgcc12 @12.3.0: build failure on Monterey

MacPorts noreply at macports.org
Sun May 21 23:57:26 UTC 2023


#67416: libgcc12 @12.3.0: build failure on Monterey
----------------------+----------------------
  Reporter:  hululud  |      Owner:  mascguy
      Type:  defect   |     Status:  reopened
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:           |   Keywords:  monterey
      Port:  gcc12    |
----------------------+----------------------

Comment (by mascguy):

 Replying to [comment:7 mascguy]:
 > Unfortunately building with `macports-clang-15` doesn't cut the mustard,
 either:
 >
 > https://build.macports.org/builders/ports-
 12_x86_64-builder/builds/70257/steps/install-port/logs/stdio
 >
 > Does anyone have any other thoughts or ideas...?

 Ah, finally downloaded the 48MB logfile, and it's our old friend... a link
 crash:

 {{{
 0  0x100e08ffa  __assert_rtn + 139
 1  0x100c3c28d
 mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions
 const&) + 4989
 2  0x100c2cf8f  mach_o::relocatable::Parser<x86_64>::parse(unsigned char
 const*, unsigned long long, char const*, long, ld::File::Ordinal,
 mach_o::relocatable::ParserOptions const&) + 207
 3  0x100ca39d4  ld::tool::InputFiles::makeFile(Options::FileInfo const&,
 bool) + 2036
 4  0x100ca6fa0  ___ZN2ld4tool10InputFilesC2ER7Options_block_invoke + 48
 5  0x7ff816f4a34a  _dispatch_client_callout2 + 8
 6  0x7ff816f5b8f5  _dispatch_apply_invoke + 213
 7  0x7ff816f4a317  _dispatch_client_callout + 8
 8  0x7ff816f59c0c  _dispatch_root_queue_drain + 673
 9  0x7ff816f5a25c  _dispatch_worker_thread2 + 160
 10  0x7ff8170fdf8a  _pthread_wqthread + 256
 A linker snapshot was created at:
         /tmp/libstdc++.6.dylib-2023-05-21-225250.ld-snapshot
 ld: Assertion failed: (_file->_atomsArrayCount == computedAtomCount &&
 "more atoms allocated than expected"), function parse, file
 macho_relocatable_file.cpp, line 2061.
 collect2: error: ld returned 1 exit status
 }}}

 So I suppose we should do the usual thing we now have to do with other
 ports, and blacklist MacPorts Clang 14 and later. Sigh...

 Will commit the fix momentarily.

-- 
Ticket URL: <https://trac.macports.org/ticket/67416#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list