fix gfcov regression

Dominique Dhumieres dominiq@lps.ens.fr
Wed Sep 3 08:07:00 GMT 2014


> I've committed the patch now.

It (r214840) breaks bootstrap on darwin:

...
/opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/ -B/opt/gcc/gcc4.10w/x86_64-apple-darwin13.3.0/bin/ -B/opt/gcc/gcc4.10w/x86_64-apple-darwin13.3.0/lib/ -isystem /opt/gcc/gcc4.10w/x86_64-apple-darwin13.3.0/include -isystem /opt/gcc/gcc4.10w/x86_64-apple-darwin13.3.0/sys-include    -g -O2 -m32 -O2  -g -O2 -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -pipe -fno-common -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -pipe -fno-common -I. -I. -I../../.././gcc -I../../../../work/libgcc -I../../../../work/libgcc/. -I../../../../work/libgcc/../gcc -I../../../../work/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o _gcov_reset.o -MT _gcov_reset.o -MD -MP -MF _gcov_reset.dep -DL_gcov_reset -c ../../../../work/libgcc/libgcov-interface.c
../../../../work/libgcc/libgcov-interface.c:136:33: error: only weak aliases are supported in this configuration
 STRONG_ALIAS (__gcov_reset_int, __gcov_reset);
                                 ^
../../../../work/libgcc/libgcov-interface.c:49:25: note: in definition of macro 'STRONG_ALIAS'
   extern __typeof (src) dst __attribute__((alias (#src)))
                         ^
make[5]: *** [_gcov_reset.o] Error 1
...

TIA

Dominique



More information about the Gcc-patches mailing list