[Bug sanitizer/55679] new asan tests from r194458 fail on x86_64-apple-darwin10

howarth at nitro dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Fri Dec 14 00:23:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55679

--- Comment #7 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-12-14 00:22:31 UTC ---
The g++.dg/asan/interception-test-1.C test for excess errors failures are all
of the form...

Executing on host:
/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/g++/../../xg++
-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/testsuite/g++/../../
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/g++.dg/asan/interception-test-1.C
 -fsanitize=address -g -fno-diagnostics-show-caret  -nostdinc++
-I/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin10.8.0/i386/libstdc++-v3/include/x86_64-apple-darwin10.8.0
-I/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin10.8.0/i386/libstdc++-v3/include
-I/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/libstdc++-v3/libsupc++
-I/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/libstdc++-v3/include/backward
-I/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/libstdc++-v3/testsuite/util
-fmessage-length=0  -O0  -fno-builtin-malloc -fno-builtin-free   
-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin10.8.0/i386/libsanitizer/asan/.libs
 
-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin10.8.0/i386/libstdc++-v3/src/.libs

-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin10.8.0/i386/libstdc++-v3/src/.libs

-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin10.8.0/i386/libstdc++-v3/src/.libs
 -multiply_defined suppress -lm   -m32 -o ./interception-test-1.exe    (timeout
= 300)
Undefined symbols for architecture i386:^M
  "___interceptor_strtol", referenced from:^M
      _strtol in ccYdXB2Q.o^M
ld: symbol(s) not found for architecture i386^M
collect2: error: ld returned 1 exit status^M
compiler exited with status 1
output is:
Undefined symbols for architecture i386:^M
  "___interceptor_strtol", referenced from:^M
      _strtol in ccYdXB2Q.o^M
ld: symbol(s) not found for architecture i386^M
collect2: error: ld returned 1 exit status^M

FAIL: g++.dg/asan/interception-test-1.C  -O0  (test for excess errors)



More information about the Gcc-bugs mailing list