Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cctools-port link failure due to undefined libtapi symbol errors #36

Open
L1ghtmann opened this issue Jan 23, 2024 · 0 comments
Open

cctools-port link failure due to undefined libtapi symbol errors #36

L1ghtmann opened this issue Jan 23, 2024 · 0 comments

Comments

@L1ghtmann
Copy link

L1ghtmann commented Jan 23, 2024

Occurs when building latest cctools-port HEAD with libtapi support enabled on Ubuntu 20.04.

Log:

libtool: link: /home/test/work/linux/iphone/bin/clang++ -D__DARWIN_UNIX03 -Wall -Wno-long-long -Wno-import -Wno-format -Wno-deprecated -Wno-unused-variable -Wno-unused-private-field -Wno-unused-function -Wno-invalid-offsetof -Wno-int-conversion -Wno-char-subscripts -Wno-shift-negative-value -Wno-misleading-indentation -Wno-gnu-folding-constant -Wno-unused-but-set-variable -Wno-deprecated-non-prototype -DTAPI_SUPPORT -D__LITTLE_ENDIAN__=1 -I../../../include -I../../../include/foreign -I../../../ld64/src -I../../../ld64/src/abstraction -I../../../ld64/src/3rd -I../../../ld64/src/3rd/include -I../../../ld64/src/ld -I../../../ld64/src/ld/parsers -I../../../ld64/src/ld/passes -I../../../ld64/src/mach_o -DPROGRAM_PREFIX=\"aarch64-apple-darwin14-\" -stdlib=libc++ -std=c++2a -isystem /usr/local/include -isystem /usr/pkg/include -DLD64_VERSION_NUM=907 -fblocks -isystem /home/test/work/linux/iphone//include -isystem /home/test/work/linux/iphone//include -Wl,-rpath -Wl,\$ORIGIN/../lib -Wl,-z -Wl,origin -Wl,-rpath -Wl,/home/test/work/linux/iphone//lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/test/work/linux/iphone//lib64 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/test/work/linux/iphone//lib32 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/test/work/linux/iphone//lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/test/work/linux/iphone//lib64 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/test/work/linux/iphone//lib32 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/test/work/linux/iphone//lib -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/test/work/linux/iphone//lib64 -Wl,--enable-new-dtags -Wl,-rpath -Wl,/home/test/work/linux/iphone//lib32 -Wl,--enable-new-dtags -o ld ld-debugline.o ld-libcodedirectory.o ld-InputFiles.o ld-ld.o ld-Options.o ld-OutputFile.o ld-Resolver.o ld-Snapshot.o ld-SymbolTable.o ld-PlatformSupport.o ld-ResponseFiles.o ld-FatFile.o ld-Mangling.o code-sign-blobs/ld-blob.o  -lBlocksRuntime -L/usr/local/lib -L/usr/pkg/lib -L/home/test/work/linux/iphone//lib ../../../ld64/src/3rd/.libs/libhelper.a ../../../ld64/src/mach_o/.libs/libmacho.a ../../../ld64/src/ld/parsers/.libs/libParsers.a ../../../ld64/src/ld/passes/.libs/libPasses.a -ldl -ltapi -ldispatch -pthread
/usr/bin/ld: ld-InputFiles.o: in function `ld::tool::InputFiles::makeFile(Options::FileInfo const&, bool)':
InputFiles.cpp:(.text+0x35d): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: ld-Options.o: in function `Options::addTAPIInterface(tapi::v1::LinkerInterfaceFile*, char const*) const':
Options.cpp:(.text+0x16451): undefined reference to `tapi::v1::LinkerInterfaceFile::inlinedFrameworkNames() const'
/usr/bin/ld: ld-Options.o: in function `Options::findTAPIFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const':
Options.cpp:(.text+0x18827): undefined reference to `tapi::v1::LinkerInterfaceFile::getInlinedFramework(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, tapi::v1::ParsingFlags, tapi::v1::PackedVersion32, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const'
/usr/bin/ld: ld-Options.o: in function `Options::buildSearchPaths(int, char const**)':
Options.cpp:(.text+0x1ecda): undefined reference to `tapi::Version::getFullVersionAsString()'
/usr/bin/ld: Options.cpp:(.text+0x1eee9): undefined reference to `tapi::Version::getAsString()'
/usr/bin/ld: Options.cpp:(.text+0x1ef42): undefined reference to `tapi::Version::getFullVersionAsString()'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::parse(unsigned char const*, unsigned long, char const*, long, Options const&, ld::File::Ordinal, bool, bool, bool)':
textstub_dylib_file.cpp:(.text+0xa1): undefined reference to `tapi::v1::LinkerInterfaceFile::isSupported(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long)'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::isTextStubFile(unsigned char const*, unsigned long, char const*)':
textstub_dylib_file.cpp:(.text+0xb1e): undefined reference to `tapi::v1::LinkerInterfaceFile::isSupported(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned char const*, unsigned long)'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<x86_64>::File(char const*, unsigned char const*, unsigned long, Options const*, long, ld::File::Ordinal, bool, bool, bool, ld::VersionSet const&, bool, int, int, bool, bool, bool, bool, bool, char const*, bool, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64EC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb[_ZN8textstub5dylib4FileI6x86_64EC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb]+0x3a2): undefined reference to `tapi::v1::LinkerInterfaceFile::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, tapi::v1::ParsingFlags, tapi::v1::PackedVersion32, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<x86_64>::init(tapi::v1::LinkerInterfaceFile*, Options const*, bool, bool, bool, bool, char const*, ld::VersionSet const&, char const*, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x12e): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1ca): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1f6): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x319): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x3e6): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x422): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x508): undefined reference to `tapi::v1::LinkerInterfaceFile::rPaths() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x8c1): undefined reference to `tapi::v1::LinkerInterfaceFile::reexportedLibraries() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI6x86_64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x9eb): undefined reference to `tapi::v1::LinkerInterfaceFile::ignoreExports() const'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<x86>::File(char const*, unsigned char const*, unsigned long, Options const*, long, ld::File::Ordinal, bool, bool, bool, ld::VersionSet const&, bool, int, int, bool, bool, bool, bool, bool, char const*, bool, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86EC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb[_ZN8textstub5dylib4FileI3x86EC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb]+0x3a2): undefined reference to `tapi::v1::LinkerInterfaceFile::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, tapi::v1::ParsingFlags, tapi::v1::PackedVersion32, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<x86>::init(tapi::v1::LinkerInterfaceFile*, Options const*, bool, bool, bool, bool, char const*, ld::VersionSet const&, char const*, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x12e): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1ca): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1f6): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x319): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x3e6): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x422): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x508): undefined reference to `tapi::v1::LinkerInterfaceFile::rPaths() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x8b2): undefined reference to `tapi::v1::LinkerInterfaceFile::reexportedLibraries() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3x86E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x9dc): undefined reference to `tapi::v1::LinkerInterfaceFile::ignoreExports() const'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<arm>::File(char const*, unsigned char const*, unsigned long, Options const*, long, ld::File::Ordinal, bool, bool, bool, ld::VersionSet const&, bool, int, int, bool, bool, bool, bool, bool, char const*, bool, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armEC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb[_ZN8textstub5dylib4FileI3armEC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb]+0x3a2): undefined reference to `tapi::v1::LinkerInterfaceFile::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, tapi::v1::ParsingFlags, tapi::v1::PackedVersion32, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<arm>::init(tapi::v1::LinkerInterfaceFile*, Options const*, bool, bool, bool, bool, char const*, ld::VersionSet const&, char const*, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x12e): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1ca): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1f6): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x319): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x3e6): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x422): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x508): undefined reference to `tapi::v1::LinkerInterfaceFile::rPaths() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x8b2): undefined reference to `tapi::v1::LinkerInterfaceFile::reexportedLibraries() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI3armE4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x9dc): undefined reference to `tapi::v1::LinkerInterfaceFile::ignoreExports() const'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<arm64>::File(char const*, unsigned char const*, unsigned long, Options const*, long, ld::File::Ordinal, bool, bool, bool, ld::VersionSet const&, bool, int, int, bool, bool, bool, bool, bool, char const*, bool, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64EC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb[_ZN8textstub5dylib4FileI5arm64EC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb]+0x3a2): undefined reference to `tapi::v1::LinkerInterfaceFile::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, tapi::v1::ParsingFlags, tapi::v1::PackedVersion32, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<arm64>::init(tapi::v1::LinkerInterfaceFile*, Options const*, bool, bool, bool, bool, char const*, ld::VersionSet const&, char const*, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x12e): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1ca): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1f6): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x319): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x3e6): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x422): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x508): undefined reference to `tapi::v1::LinkerInterfaceFile::rPaths() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x8b2): undefined reference to `tapi::v1::LinkerInterfaceFile::reexportedLibraries() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI5arm64E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x9dc): undefined reference to `tapi::v1::LinkerInterfaceFile::ignoreExports() const'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<arm64_32>::File(char const*, unsigned char const*, unsigned long, Options const*, long, ld::File::Ordinal, bool, bool, bool, ld::VersionSet const&, bool, int, int, bool, bool, bool, bool, bool, char const*, bool, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32EC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb[_ZN8textstub5dylib4FileI8arm64_32EC2EPKcPKhmPK7OptionslN2ld4File7OrdinalEbbbRKNSB_10VersionSetEbiibbbbbS5_bbbbb]+0x3a2): undefined reference to `tapi::v1::LinkerInterfaceFile::create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int, int, tapi::v1::ParsingFlags, tapi::v1::PackedVersion32, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&)'
/usr/bin/ld: ../../../ld64/src/ld/parsers/.libs/libParsers.a(libParsers_la-textstub_dylib_file.o): in function `textstub::dylib::File<arm64_32>::init(tapi::v1::LinkerInterfaceFile*, Options const*, bool, bool, bool, bool, char const*, ld::VersionSet const&, char const*, bool, bool, bool, bool)':
textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x12e): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1ca): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x1f6): undefined reference to `tapi::v1::LinkerInterfaceFile::getParentFrameworkName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x319): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x3e6): undefined reference to `tapi::v1::LinkerInterfaceFile::getInstallName() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x422): undefined reference to `tapi::v1::LinkerInterfaceFile::allowableClients() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x508): undefined reference to `tapi::v1::LinkerInterfaceFile::rPaths() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x8b2): undefined reference to `tapi::v1::LinkerInterfaceFile::reexportedLibraries() const'
/usr/bin/ld: textstub_dylib_file.cpp:(.text._ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb[_ZN8textstub5dylib4FileI8arm64_32E4initEPN4tapi2v119LinkerInterfaceFileEPK7OptionsbbbbPKcRKN2ld10VersionSetESC_bbbb]+0x9dc): undefined reference to `tapi::v1::LinkerInterfaceFile::ignoreExports() const'

nm ~/work/linux/iphone/lib/libtapi.so.16git | grep v1:

000000000000703a t _ZN4tapi2v119LinkerInterfaceFile4ImplD2Ev
0000000000006c3c T _ZN4tapi2v119LinkerInterfaceFileC1EOS1_
0000000000006ba2 T _ZN4tapi2v119LinkerInterfaceFileC1Ev
0000000000006c3c T _ZN4tapi2v119LinkerInterfaceFileC2EOS1_
0000000000006ba2 T _ZN4tapi2v119LinkerInterfaceFileC2Ev
0000000000006c08 T _ZN4tapi2v119LinkerInterfaceFileD1Ev
0000000000006c08 T _ZN4tapi2v119LinkerInterfaceFileD2Ev
0000000000006c4a T _ZN4tapi2v119LinkerInterfaceFileaSEOS1_
0000000000006ce0 T _ZNK4tapi2v119LinkerInterfaceFile10undefinedsEv
0000000000006c6a T _ZNK4tapi2v119LinkerInterfaceFile14getPlatformSetEv
0000000000006c8a T _ZNK4tapi2v119LinkerInterfaceFile15getSwiftVersionEv
0000000000006c7a T _ZNK4tapi2v119LinkerInterfaceFile17getCurrentVersionEv
0000000000006ca2 T _ZNK4tapi2v119LinkerInterfaceFile19hasAllowableClientsEv
0000000000006c92 T _ZNK4tapi2v119LinkerInterfaceFile20hasTwoLevelNamespaceEv
0000000000006cce T _ZNK4tapi2v119LinkerInterfaceFile21hasWeakDefinedExportsEv
0000000000006cb8 T _ZNK4tapi2v119LinkerInterfaceFile22hasReexportedLibrariesEv
0000000000006c82 T _ZNK4tapi2v119LinkerInterfaceFile23getCompatibilityVersionEv
0000000000006c9a T _ZNK4tapi2v119LinkerInterfaceFile26isApplicationExtensionSafeEv
0000000000006c66 T _ZNK4tapi2v119LinkerInterfaceFile28getPlatformsAndMinDeploymentEv
0000000000006c72 T _ZNK4tapi2v119LinkerInterfaceFile28isInstallNameVersionSpecificEv
0000000000006cd6 T _ZNK4tapi2v119LinkerInterfaceFile7exportsEv
00000000000071cc t _ZNSt10unique_ptrIN4tapi2v119LinkerInterfaceFile4ImplESt14default_deleteIS3_EE5resetEPS3_
0000000000006c0e t _ZNSt10unique_ptrIN4tapi2v119LinkerInterfaceFile4ImplESt14default_deleteIS3_EED2Ev
0000000000007138 t _ZNSt6vectorIN4tapi2v16SymbolESaIS2_EED2Ev
@L1ghtmann L1ghtmann changed the title Build failure due to undefined libtapi symbol errors cctools-port link failure due to undefined libtapi symbol errors Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant