Bodo Thiesen
Bodo Thiesen

Reputation: 2514

Undefined reference to symbol __cxa_free_exception@@CXXABI_1.3

Using clang to link a program fails like this:

/usr/bin/x86_64-pc-linux-gnu-ld: stackoverflow.o: undefined reference to symbol '__cxa_free_exception@@CXXABI_1.3'

Upvotes: 3

Views: 3892

Answers (1)

Bodo Thiesen
Bodo Thiesen

Reputation: 2514

Like with gcc, you have to use clang++ to link C++ programs

Upvotes: 5

Related Questions