Skip to content

interesting linker crash #1

@cooljeanius

Description

@cooljeanius
  CCLD     libbabeltrace-ctf.la
ld: warning: could not create compact unwind for _ctf_trace_metadata_packet_read: stack subq instruction is too different from dwarf stack size
ld: warning: dylib (/opt/local/lib/libuuid.dylib) was built for newer macOS version (11.0) than being linked (10.5)
ld: warning: dylib (/opt/local/lib/libpopt.dylib) was built for newer macOS version (11.0) than being linked (10.5)
ld: warning: dylib (/opt/local/lib/libiconv.dylib) was built for newer macOS version (11.0) than being linked (10.5)
ld: warning: dylib (/opt/local/lib/libgmodule-2.0.dylib) was built for newer macOS version (11.0) than being linked (10.5)
ld: warning: dylib (/opt/local/lib/libglib-2.0.dylib) was built for newer macOS version (11.0) than being linked (10.5)
ld: warning: dylib (/opt/local/lib/libintl.dylib) was built for newer macOS version (11.0) than being linked (10.5)
ld: warning: could not create compact unwind for _yyparse: stack subq instruction is too different from dwarf stack size
ld: warning: dylib (/opt/local/lib/libunwind.dylib) was built for newer macOS version (11.0) than being linked (10.5)
ld: warning: dylib (/opt/local/lib/libunwind.dylib) was built for newer macOS version (11.0) than being linked (10.5)
ld: warning: object file (/opt/local/lib/gcc14/gcc/x86_64-apple-darwin20/14.2.0/libemutls_w.a(emutls_s.o)) was built for newer macOS version (11.0) than being linked (10.5)
0  0x10a65e950  __assert_rtn + 127
1  0x10a66828d  ld::passes::stubs::arm::StubHelperAtom::StubHelperAtom(ld::passes::stubs::Pass&, ld::Atom const&, ld::Atom const*, bool) (.cold.1) + 0
2  0x10a605b6a  ld::passes::stubs::x86_64::classic::StubHelperAtom::StubHelperAtom(ld::passes::stubs::Pass&, ld::Atom const&, ld::Atom const&, bool) + 168
3  0x10a605a51  ld::passes::stubs::x86_64::classic::LazyPointerAtom::LazyPointerAtom(ld::passes::stubs::Pass&, ld::Atom const&, bool, bool) + 135
4  0x10a605984  ld::passes::stubs::x86_64::classic::StubAtom::StubAtom(ld::passes::stubs::Pass&, ld::Atom const&, bool, bool) + 92
5  0x10a603944  ld::passes::stubs::Pass::makeStub(ld::Atom const&, bool) + 1822
6  0x10a6041c8  ld::passes::stubs::Pass::process(ld::Internal&) + 1404
7  0x10a604584  ld::passes::stubs::doPass(Options const&, ld::Internal&) + 101
8  0x10a517b1a  main + 400
9  0x7fff206adf3d  start + 1
A linker snapshot was created at:
	/tmp/libbabeltrace-ctf.1.dylib-2024-08-13-214629.ld-snapshot
ld: Assertion failed: (targetAtom != NULL), function Fixup, file ld.hpp, line 826.
collect2: error: ld returned 1 exit status
make[4]: *** [libbabeltrace-ctf.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Will investigate more later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions