#68351 closed defect (duplicate)

libgcc-devel @12-20221229_0+stdlib_flag: ld: Assertion failed

Reported by: shpokas Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: arm64 sonoma Cc:
Port: libgcc-devel

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

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).

Attachments (1)

main.log.bz2 (306.8 KB) - added by shpokas 14 months ago.
build log file

Download all attachments as: .zip

Change History (3)

Changed 14 months ago by shpokas

Attachment: main.log.bz2 added

build log file

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: arm64 sonoma added
Port: libgcc-devel added
Summary: Failed to build libgcc-devellibgcc-devel @12-20221229_0+stdlib_flag: ld: Assertion failed

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

comment:2 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #68297.

Note: See TracTickets for help on using tickets.