You are not logged in.

#1 2016-03-07 14:59:20

frodrigo
Member
Registered: 2016-03-07
Posts: 1

Compiling with clang - missing -lc++abi

While trying to compile a project with clang I have issue on Archlinux. Some executable linking require the extra -lc++abi

clang++ -ccc-gcc-name g++ -stdlib=libc++ -Wl,--gc-sections -Wl,-Bsymbolic-functions -o ../../../out/release/opening_hours_tests ../../../out/release/tmp/opening_hours_tests/opening_hours_tests.o   -L../../../out/release -lopening_hours -lz -lpthread 
/usr/bin/ld: ../../../out/release/tmp/opening_hours_tests/opening_hours_tests.o: undefined reference to symbol '_ZTISt11range_error'
/usr/lib/libc++abi.so.1: error adding symbols: DSO missing from command line

But when provide -lc++abi, as explained in error message, it pass. Why need this on Archlinux ?

Issue was originally posted on this github :
https://github.com/mapsme/omim/issues/2129

Offline

Board footer

Powered by FluxBB