This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/55518] New: boehm-gc, libatomic, libffi and libgomp testsuite can't find path to libasan for make check with -fsanitizer


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]