FS#33208 - [clang] missing ubsan library
Attached to Project:
Arch Linux
Opened by Julian (JCBCIV) - Wednesday, 26 December 2012, 16:05 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 29 December 2012, 02:14 GMT
Opened by Julian (JCBCIV) - Wednesday, 26 December 2012, 16:05 GMT
Last edited by Evangelos Foutras (foutrelis) - Saturday, 29 December 2012, 02:14 GMT
|
Details
Description:
After upgrading to clang 3.2, it complains that /usr/lib/clang/3.2/lib/linux/libclang_rt.ubsan-x86_64.a is missing when compiling anything with -fsanitize=undefined. There is indeed no libclang_rt.ubsan-x86_64.a in that directory, nor did i find a library with this name anywhere else. Additional info: * package version(s) fails with clang 3.2-1 from testing, worked with clang 3.1-6 (using -fcatch-undefined-behavior) Steps to reproduce: $ cat test.c int main(){} $ clang -fsanitize=undefined test.c /usr/bin/ld.gold: error: cannot open /usr/bin/../lib/clang/3.2/lib/linux/libclang_rt.ubsan-x86_64.a: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Saturday, 29 December 2012, 02:14 GMT
Reason for closing: Won't fix
Additional comments about closing: See first comment.
Saturday, 29 December 2012, 02:14 GMT
Reason for closing: Won't fix
Additional comments about closing: See first comment.
I'm guessing this will be fixed with clang 3.3 or if we ever switch to the cmake-based build system.