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

Linking of test_assert to bundled catch2 fails on macOS with gcc #4095

Open
barracuda156 opened this issue May 22, 2023 · 1 comment
Open

Comments

@barracuda156
Copy link
Contributor

/opt/local/bin/g++-mp-12 -pipe -I/opt/local/libexec/openssl3/include -Os -DNDEBUG -I/opt/local/libexec/openssl3/include -isystem/opt/local/include/LegacySupport -isystem/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/test_assert.dir/test_assert.cc.o -o test_assert  /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/build/externals/install/lib/libCatch2Main.a /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_databases_tiledb/tiledb/work/build/externals/install/lib/libCatch2.a 
Undefined symbols:
  "__ZN5Catch11StringMakerIivE7convertEi", referenced from:
      __ZNK5Catch10BinaryExprIiiE29streamReconstructedExpressionERSo in test_assert.cc.o
      __ZNK5Catch10BinaryExprIiiE29streamReconstructedExpressionERSo in test_assert.cc.o
  "__ZN5Catch29formatReconstructedExpressionERSoRKSsNS_9StringRefES2_", referenced from:
      __ZNK5Catch10BinaryExprIiiE29streamReconstructedExpressionERSo in test_assert.cc.o
ld: symbol(s) not found
@barracuda156
Copy link
Contributor Author

Another linking failure with catch2: #4590

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