Skip to content

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

@barracuda156

Description

@barracuda156
/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions