[MacPorts] #68297: libgcc-devel @12-20221229_0+stdlib_flag: ld: Assertion failed: (resultIndex < sectData.atoms.size()), function findAtom, file Relocations.cpp, line 1336 (was: libgcc-devel-12-20221229_0+stdlib_flag.darwin_23.arm64.: Error: Failed to build libgcc-devel: command execution failed @sonoma)

MacPorts noreply at macports.org
Sat Sep 30 00:49:41 UTC 2023


#68297: libgcc-devel @12-20221229_0+stdlib_flag: ld: Assertion failed: (resultIndex
< sectData.atoms.size()), function findAtom, file Relocations.cpp, line
1336
---------------------------+--------------------------
  Reporter:  ofarrill      |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  sonoma arm64
      Port:  libgcc-devel  |
---------------------------+--------------------------
Changes (by ryandesign):

 * keywords:  libgcc-devel, Sonoma => sonoma arm64


Comment:

 main1.log appears to be incomplete and does not end with an error.

 main2.log appears to be a continuation of the log and contains this error:

 {{{
 0  0x103033648  __assert_rtn + 72
 1  0x102f67fac  ld::AtomPlacement::findAtom(unsigned char, unsigned long
 long, ld::AtomPlacement::AtomLoc const*&, long long&) const + 1204
 2  0x102f7d924
 ld::InputFiles::SliceParser::parseObjectFile(mach_o::Header const*) const
 + 15164
 3  0x102f8ae30  ld::InputFiles::parseAllFiles(void (ld::AtomFile const*)
 block_pointer)::$_7::operator()(unsigned long, ld::FileInfo const&) const
 + 420
 4  0x188621950  _dispatch_client_callout2 + 20
 5  0x1886361a4  _dispatch_apply_invoke_and_wait + 176
 6  0x188635464  _dispatch_apply_with_attr_f + 1176
 7  0x188635650  dispatch_apply + 96
 8  0x1030053b8  ld::AtomFileConsolidator::parseFiles(bool) + 292
 9  0x102fa6170  main + 9048
 ld: Assertion failed: (resultIndex < sectData.atoms.size()), function
 findAtom, file Relocations.cpp, line 1336.
 collect2: error: ld returned 1 exit status
 }}}

 In the future, it's preferred to upload a single logfile that is
 compressed if it is large.

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


More information about the macports-tickets mailing list