Opened 23 months ago

Last modified 18 months ago

#65434 assigned defect

clang-13: link crash for port libopenraw — at Initial Version

Reported by: mascguy (Christopher Nielsen) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: cjones051073 (Chris Jones)
Port: libopenraw cargo-c

Description

Similar to the failure for clang-14 - see issue:65246 - linking with clang-13 is also failing for libopenraw. Build log attached.

  = note: 0  0x106522b51  __assert_rtn + 144
1070	          1  0x106553063  ld::Fixup::Fixup(unsigned int, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 107
1071	          2  0x10652b4e9  mach_o::relocatable::Parser<x86_64>::addFixup(mach_o::relocatable::Parser<x86_64>::SourceLocation const&, ld::Fixup::Cluster, ld::Fixup::Kind, bool, char const*) + 33
1072	          3  0x106526751  mach_o::relocatable::Section<x86_64>::addRelocFixup(mach_o::relocatable::Parser<x86_64>&, macho_relocation_info<Pointer64<LittleEndian> > const*) + 1471
1073	          4  0x10654ebb7  mach_o::relocatable::Section<x86_64>::makeFixups(mach_o::relocatable::Parser<x86_64>&, mach_o::relocatable::Parser<x86_64>::CFI_CU_InfoArrays const&) + 91
1074	          5  0x10654a7c6  mach_o::relocatable::Parser<x86_64>::parse(mach_o::relocatable::ParserOptions const&) + 2034
1075	          6  0x10652e0fd  mach_o::relocatable::Parser<x86_64>::parse(unsigned char const*, unsigned long long, char const*, long, ld::File::Ordinal, mach_o::relocatable::ParserOptions const&) + 375
1076	          7  0x10655e9cc  archive::File<x86_64>::makeObjectFileForMember(archive::File<x86_64>::Entry const*) const + 758
1077	          8  0x10655e518  archive::File<x86_64>::justInTimeforEachAtom(char const*, ld::File::AtomHandler&) const + 122
1078	          9  0x10657419b  ld::tool::InputFiles::searchLibraries(char const*, bool, bool, bool, ld::File::AtomHandler&) const + 215
1079	          10  0x10657cc90  ld::tool::Resolver::resolveUndefines() + 160
1080	          11  0x10657ef63  ld::tool::Resolver::resolve() + 79
1081	          12  0x1065236c7  main + 689
1082	          13  0x10688e5fd  start + 1
1083	          A linker snapshot was created at:
1084	          /tmp/build_script_build-100b7420c9437e43-2022-06-04-173157.ld-snapshot
1085	          ld: Assertion failed: (name != NULL), function Fixup, file /SourceCache/ld64/ld64-241.9/src/ld/ld.hpp, line 510.
1086	          clang: error: linker command failed with exit code 1 (use -v to see invocation)
1087	

Change History (0)

Note: See TracTickets for help on using tickets.