Skip to content

在xcode16.4编译报错,请有时间查看一下 #23

Description

@k214k

0 0x100304194 __assert_rtn + 72
1 0x100284378 void std::__1::__introsort<std::__1::_ClassicAlgPolicy, ld::AliasAddressOrderer&, ld::Atom const**, false>(ld::Atom const**, ld::Atom const**, ld::AliasAddressOrderer&, std::__1::iterator_traits<ld::Atom const**>::difference_type, bool) + 0
2 0x100283d40 ld::LayoutLinkedImage::assignAtomOffsetsInSection(ld::SectionLayout&, unsigned int, bool) + 680
3 0x100287f1c void dispatchForEach<ld::SectionLayout*, ld::LayoutLinkedImage::sortAtomsWithinSections()::$_0>(std::__1::span<ld::SectionLayout*, 18446744073709551615ul>, unsigned long, ld::LayoutLinkedImage::sortAtomsWithinSections()::$_0)::'lambda'(unsigned long)::operator()(unsigned long) const + 6440
4 0x191c2c874 _dispatch_client_callout2 + 16
5 0x191c27610 _dispatch_apply_invoke3 + 336
6 0x191c2c85c _dispatch_client_callout + 16
7 0x191c15a28 _dispatch_once_callout + 32
8 0x191c26750 _dispatch_apply_invoke + 252
9 0x191c2c85c _dispatch_client_callout + 16
10 0x191c49468 _dispatch_channel_invoke.cold.5 + 32
11 0x191c24fa4 _dispatch_root_queue_drain + 736
12 0x191c255d4 _dispatch_worker_thread2 + 156
13 0x191dc6e28 _pthread_wqthread + 232
ld: Assertion failed: (aliasSectionNum == sectionNum && "alias and its target must be located in the same section"), function assignAliasAtomOffsetInSection, file Layout.cpp, line 4431.
clang++: error: unable to execute command: Segmentation fault: 11
clang++: error: linker command failed due to signal (use -v to see invocation)
Apple clang version 17.0.0 (clang-1700.0.13.5)
Target: arm64-apple-ios10.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
clang++: note: diagnostic msg:


PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Linker snapshot containing input(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: /var/folders/6p/12j78jmj2nxfskkmxq_t93500000gn/T/linker-crash-a64643
clang++: note: diagnostic msg:


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions