Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#41911 - [clang] -fsanitize=address: fails to link; /usr/bin/ld: cannot find /usr/bin/../lib/clang/3.5.0/lib/
Attached to Project:
Arch Linux
Opened by Matthias Krüger (matthiaskrgr) - Wednesday, 10 September 2014, 13:39 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 10 September 2014, 17:36 GMT
Opened by Matthias Krüger (matthiaskrgr) - Wednesday, 10 September 2014, 13:39 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 10 September 2014, 17:36 GMT
|
DetailsDescription:
When I compiled a program with the flag -fsanitize=address, ld fails to link: /usr/bin/ld: cannot find /usr/bin/../lib/clang/3.5.0/lib/linux/libclang_rt.asan_cxx-i386.a: No such file or directory /usr/bin/ld: cannot find /usr/bin/../lib/clang/3.5.0/lib/linux/libclang_rt.asan-i386.a: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:233: recipe for target 'cppcheck' failed make: *** [cppcheck] Error 1 clang 3.5.0-2 |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Wednesday, 10 September 2014, 17:36 GMT
Reason for closing: Fixed
Additional comments about closing: clang 3.5.0-2.1
Wednesday, 10 September 2014, 17:36 GMT
Reason for closing: Fixed
Additional comments about closing: clang 3.5.0-2.1
"-fsanitize=address" alone seems to work, but "-O2 -m32 -fno-omit-frame-pointer -fsanitize=address" fails.
Give that a try and let me know if it works for you.