[MacPorts] #68351: libgcc-devel @12-20221229_0+stdlib_flag: ld: Assertion failed (was: Failed to build libgcc-devel)

MacPorts noreply at macports.org
Wed Oct 4 07:11:05 UTC 2023


#68351: libgcc-devel @12-20221229_0+stdlib_flag: ld: Assertion failed
---------------------------+--------------------------
  Reporter:  shpokas       |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  arm64 sonoma
      Port:  libgcc-devel  |
---------------------------+--------------------------
Changes (by ryandesign):

 * keywords:   => arm64 sonoma
 * port:   => libgcc-devel


Old description:

> Build of libgcc-devel failed because of missing source archive file.
>
> :msg:archivefetch --->  Attempting to fetch libgcc-
> devel-12-20221229_0+stdlib_flag.darwin_23.arm64.tbz2 from
> https://packages.macports.org/libgcc-devel
> :debug:archivefetch Fetching archive failed: The requested URL returned
> error: 404
>
> OS version - Sonoma 14.0
> Architecture - arm64 (Apple Silicon).

New description:

 Build of libgcc-devel failed because of missing source archive file.

 {{{
 :msg:archivefetch --->  Attempting to fetch libgcc-
 devel-12-20221229_0+stdlib_flag.darwin_23.arm64.tbz2 from
 https://packages.macports.org/libgcc-devel
 :debug:archivefetch Fetching archive failed: The requested URL returned
 error: 404
 }}}

 OS version - Sonoma 14.0 \\
 Architecture - arm64 (Apple Silicon).

--

Comment:

 No, there is no missing source archive.

 The log shows the reason for the build failure is that the linker had an
 assertion failure:

 {{{
 :info:build 0  0x1003c3648  __assert_rtn + 72
 :info:build 1  0x1002f7fac  ld::AtomPlacement::findAtom(unsigned char,
 unsigned long long, ld::AtomPlacement::AtomLoc const*&, long long&) const
 + 1204
 :info:build 2  0x10030d924
 ld::InputFiles::SliceParser::parseObjectFile(mach_o::Header const*) const
 + 15164
 :info:build 3  0x10031ae30  ld::InputFiles::parseAllFiles(void
 (ld::AtomFile const*) block_pointer)::$_7::operator()(unsigned long,
 ld::FileInfo const&) const + 420
 :info:build 4  0x18cd15950  _dispatch_client_callout2 + 20
 :info:build 5  0x18cd28ba0  _dispatch_apply_invoke + 176
 :info:build 6  0x18cd15910  _dispatch_client_callout + 20
 :info:build 7  0x18cd273cc  _dispatch_root_queue_drain + 864
 :info:build 8  0x18cd27a04  _dispatch_worker_thread2 + 156
 :info:build 9  0x18cebf0d8  _pthread_wqthread + 228
 :info:build ld: Assertion failed: (resultIndex < sectData.atoms.size()),
 function findAtom, file Relocations.cpp, line 1336.
 :info:build collect2: error: ld returned 1 exit status
 }}}

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


More information about the macports-tickets mailing list