[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:21:00 GMT 2012


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

--- Comment #6 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-12-14 00:19:58 UTC ---
The c-c++-common/asan/swapcontext-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/xgcc
-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/
swapcontext_available47450.c  
-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin10.8.0/i386/libsanitizer/asan/.libs
 -fsanitize=address -g -fno-diagnostics-show-caret  -fno-builtin  -lm   -m32 -o
swapcontext_available47450.exe    (timeout = 300)
Executing on host: /sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/xgcc
-B/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/gcc/
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c
 
-L/sw/src/fink.build/gcc48-4.8.0-1000/darwin_objdir/x86_64-apple-darwin10.8.0/i386/libsanitizer/asan/.libs
 -fsanitize=address -g -fno-diagnostics-show-caret   -O0    -lm   -m32 -o
./swapcontext-test-1.exe    (timeout = 300)
In file included from
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:6:0:^M
/usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated,
and require _XOPEN_SOURCE to be defined^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:9:1:
error: unknown type name 'ucontext_t'^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:10:1:
error: unknown type name 'ucontext_t'^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:
In function 'Run':^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:33:16:
error: request for member 'uc_stack' in something not a structure or union^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:34:16:
error: request for member 'uc_stack' in something not a structure or union^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:36:18:
error: request for member 'uc_link' in something not a structure or union^M
compiler exited with status 1
output is:
In file included from
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:6:0:^M
/usr/include/ucontext.h:42:2: error: #error ucontext routines are deprecated,
and require _XOPEN_SOURCE to be defined^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:9:1:
error: unknown type name 'ucontext_t'^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:10:1:
error: unknown type name 'ucontext_t'^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:
In function 'Run':^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:33:16:
error: request for member 'uc_stack' in something not a structure or union^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:34:16:
error: request for member 'uc_stack' in something not a structure or union^M
/sw/src/fink.build/gcc48-4.8.0-1000/gcc-4.8-20121213/gcc/testsuite/c-c++-common/asan/swapcontext-test-1.c:36:18:
error: request for member 'uc_link' in something not a structure or union^M

FAIL: c-c++-common/asan/swapcontext-test-1.c  -O0  (test for excess errors)



More information about the Gcc-bugs mailing list