[cfe-dev] Mac OS X (Darwin) and Symbol not found: __ZTIN10__cxxabiv117__class_type_infoE

Jeffrey Walton noloader at gmail.com
Wed Jul 31 01:33:42 PDT 2013


Hi All,

I'm testing another crypto library. This time its a C++ library.

$ /usr/local/bin/clang++ -fsanitize=address -fsanitize=undefined -m64
-Ibuild/include -O3 -finline-functions  -D_REENTRANT -Wno-long-long -W
-Wall -fPIC -fvisibility=hidden -c src/algo_base/symkey.cpp -o
build/lib/algo_base_symkey.o
/usr/local/bin/clang++ -fsanitize=address -fsanitize=undefined -m64
-Ibuild/include -O3 -finline-functions  -D_REENTRANT -Wno-long-long -W
-Wall -fPIC -fvisibility=hidden -c src/algo_factory/algo_factory.cpp
-o build/lib/algo_factory.o
...
$ export DYLD_FALLBACK_LIBRARY_PATH=/usr/local/lib/clang/3.3/lib/darwin/:./
$ ./check
dyld: Symbol not found: __ZTIN10__cxxabiv117__class_type_infoE
  Referenced from: .//libbotan-1.10.dylib.0
  Expected in: flat namespace
 in .//libbotan-1.10.dylib.0
Trace/BPT trap: 5

I see the same problem was briefly discussed at
http://clang-developers.42468.n3.nabble.com/recent-change-broke-fcatch-undefined-behavior-td4027379i20.html.
But I don't see a workaround.

Any ideas?

Jeff

$ uname -a
Darwin riemann.home.pvt 12.4.0 Darwin Kernel Version 12.4.0: Wed May
1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

$ /usr/local/bin/clang++ -v
clang version 3.3 (tags/RELEASE_33/final)
Target: x86_64-apple-darwin12.4.0
Thread model: posix



More information about the cfe-dev mailing list