Bug 53847

Summary: bootstrap failure: Error: expecting string instruction after `rep'
Product: gcc Reporter: vincenzo Innocente <vincenzo.innocente>
Component: bootstrapAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P3    
Version: 4.8.0   
Target Milestone: ---   
Host: Target: x86_64-unknown-linux-gnu
Build: Known to work:
Known to fail: Last reconfirmed:

Description vincenzo Innocente 2012-07-03 21:19:05 UTC
revision 189240 fails to booststrap
(wrong assembler code emitted?)


cd /build/vin/gcc48-build/x86_64-unknown-linux-gnu/libgcc
[vocms123] /build/vin/gcc48-build/x86_64-unknown-linux-gnu/libgcc $ /build/vin/gcc48-build/./gcc/xgcc -B/build/vin/gcc48-build/./gcc/ -B/afs/cern.ch/user/i/innocent/w3/gcc47slc5/x86_64-unknown-linux-gnu/bin/ -B/afs/cern.ch/user/i/innocent/w3/gcc47slc5/x86_64-unknown-linux-gnu/lib/ -isystem /afs/cern.ch/user/i/innocent/w3/gcc47slc5/x86_64-unknown-linux-gnu/include -isystem /afs/cern.ch/user/i/innocent/w3/gcc47slc5/x86_64-unknown-linux-gnu/sys-include    -g -O2 -O2  -g -O2 -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fpic -I. -I. -I../.././gcc -I../../../gcc-trunk/libgcc -I../../../gcc-trunk/libgcc/. -I../../../gcc-trunk/libgcc/../gcc -I../../../gcc-trunk/libgcc/../include -I../../../gcc-trunk/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o _clear_cache.o -MT _clear_cache.o -MD -MP -MF _clear_cache.dep -DL_clear_cache -c ../../../gcc-trunk/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
/tmp/innocent/ccOTckUp.s: Assembler messages:
/tmp/innocent/ccOTckUp.s:14: Error: expecting string instruction after `rep'

[vocms123] /build/vin/gcc48-build/x86_64-unknown-linux-gnu/libgcc $  /build/vin/gcc48-build/./gcc/xgcc -v
Using built-in specs.
COLLECT_GCC=/build/vin/gcc48-build/./gcc/xgcc
Target: x86_64-unknown-linux-gnu
Configured with:
….
(reconfigured) ../gcc-trunk/configure --disable-multilib --enable-gold=yes --disable-nls --enable-lto --with-mpc=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-gmp=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --with-mpfr=/afs/cern.ch/cms/slc5_amd64_gcc470/external/gcc/4.7.0 --prefix=/afs/cern.ch/user/i/innocent/w3/gcc47slc5 --with-build-time-tools=/build/ge/new-binutils/a/slc5_amd64_gcc470/external/gcc/4.7.0-cms/bin --enable-languages=c,c++,fortran,lto --no-create --no-recursion
Thread model: posix
gcc version 4.8.0 20120703 (experimental) [trunk revision 189240] (GCC) 
[vocms123] /build/vin/gcc48-build/x86_64-unknown-linux-gnu/libgcc $ as -v
GNU assembler version 2.22 (x86_64-unknown-linux-gnu) using BFD version (GNU Binutils) 2.22
Comment 1 vincenzo Innocente 2012-07-03 22:34:58 UTC
rm -rf *
reconfigured
compiles fine