> r194221

It breaks bootstrap on x86_64-apple-darwin10:

/opt/gcc/build_a/./gcc/xg++ -B/opt/gcc/build_a/./gcc/ -nostdinc++ -nostdinc++ 
-I/opt/gcc/build_a/x86_64-apple-darwin10.8.0/libstdc++-v3/include/x86_64-apple-darwin10.8.0
 -I/opt/gcc/build_a/x86_64-apple-darwin10.8.0/libstdc++-v3/include 
-I/opt/gcc/_clean/libstdc++-v3/libsupc++ 
-I/opt/gcc/_clean/libstdc++-v3/include/backward 
-I/opt/gcc/_clean/libstdc++-v3/testsuite/util 
-L/opt/gcc/build_a/x86_64-apple-darwin10.8.0/libstdc++-v3/src 
-L/opt/gcc/build_a/x86_64-apple-darwin10.8.0/libstdc++-v3/src/.libs 
-B/opt/gcc/gcc4.8a/x86_64-apple-darwin10.8.0/bin/ 
-B/opt/gcc/gcc4.8a/x86_64-apple-darwin10.8.0/lib/ -isystem 
/opt/gcc/gcc4.8a/x86_64-apple-darwin10.8.0/include -isystem 
/opt/gcc/gcc4.8a/x86_64-apple-darwin10.8.0/sys-include -D_GNU_SOURCE -D_DEBUG 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-DASAN_HAS_EXCEPTIONS=1 -DASAN_FLEXIBLE_MAPPING_AND_OFFSET=0 
-DASAN_NEEDS_SEGV=1 -DMAC_INTERPOSE_FUNCTIONS -DMISSING_BLOCKS_SUPPORT -I. 
-I../../../../_clean/libsanitizer/asan -I 
../../../../_clean/libsanitizer/include -I ../../../../_clean/libsanitizer 
-Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long -fPIC 
-fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables 
-fvisibility=hidden -Wno-variadic-macros -Wno-c99-extensions -g -O2 -MT 
asan_interceptors.lo -MD -MP -MF .deps/asan_interceptors.Tpo -c 
../../../../_clean/libsanitizer/asan/asan_interceptors.cc  -fno-common -DPIC -o 
.libs/asan_interceptors.o
../../../../_clean/libsanitizer/asan/asan_interceptors.cc: In function 'void 
wrap___cxa_throw(void*, void*, void*)':
../../../../_clean/libsanitizer/asan/asan_interceptors.cc:181:10: error: 
'__interceptor___cxa_throw' was not declared in this scope
          __interceptor___cxa_throw, REAL(__cxa_throw), __cxa_throw);
          ^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-c99-extensions" 
[enabled by default]

Commenting the lines

  Printf("__asan's __cxa_throw %p; REAL(__cxa_throw) %p PLAIN %p\n",
         __interceptor___cxa_throw, REAL(__cxa_throw), __cxa_throw);

in libsanitizer/asan/asan_interceptors.cc, allows boostrap to complete.

TIA

Dominique

Reply via email to