This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/55518] New: boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 28 Nov 2012 15:04:52 +0000
- Subject: [Bug sanitizer/55518] New: boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55518
Bug #: 55518
Summary: boehm-gc, libatomic, libffi and libgomp testsuite
can't find path to libasan for make check with
-fsanitizer
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: howarth@nitro.med.uc.edu
CC: dodji@gcc.gnu.org, dvyukov@gcc.gnu.org,
jakub@gcc.gnu.org, kcc@gcc.gnu.org
While using...
make -k check RUNTESTFLAGS="--target_board=unix'{-fsanitize=address}'"
is sufficient for the testsuite residing in the gcc subdirectory to find
the built libasan for linkage, the libffi testsuite fails in its entirety
with errors...
ld: library not found for -lasan^M
collect2: error: ld returned 1 exit status^M
compiler exited with status 1
output is:
ld: library not found for -lasan^M
collect2: error: ld returned 1 exit status^M
The same issue exists in the libgomp, boehm-gc and libatomic testsuites.
Interestingly, the libstdc++-v3 manages to find the path to libasan without any
additional options being passed on --target_board=unix than -fsanitize=address.
- Follow-Ups:
- [Bug sanitizer/55518] boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer
- From: jakub at gcc dot gnu.org
- [Bug sanitizer/55518] boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer
- From: howarth at nitro dot med.uc.edu
- [Bug sanitizer/55518] boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer
- From: howarth at nitro dot med.uc.edu
- [Bug sanitizer/55518] boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer
- From: jakub at gcc dot gnu.org
- [Bug sanitizer/55518] boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer
- From: howarth at nitro dot med.uc.edu
- [Bug sanitizer/55518] boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer
- From: howarth at nitro dot med.uc.edu
- [Bug sanitizer/55518] boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer
- From: howarth at nitro dot med.uc.edu