[Bug c/54638] New: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken: cc1: malloc(): memory corruption
markus at trippelsdorf dot de
gcc-bugzilla@gcc.gnu.org
Thu Sep 20 13:17:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54638
Bug #: 54638
Summary: [4.8 Regression] bootstraping 4.7.2 with 4.8 broken:
cc1: malloc(): memory corruption
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: markus@trippelsdorf.de
With:
~/gcc/configure --disable-werror --disable-multilib --enable-checking=release
--enable-languages=c,c++
and:
make BOOT_CFLAGS="-march=native -O2 -pipe" STAGE1_CFLAGS="-march=native -O2
-pipe" CFLAGS_FOR_TARGET="-march=native -O2 -pipe"
CXXFLAGS_FOR_TARGET="-march=native -O2 -pipe" bootstrap
I get:
...
/var/tmp/gcc_build_dir/./gcc/xgcc -B/var/tmp/gcc_build_dir/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -march=native -O2 -pipe -O2
-march=native -O2 -pipe -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/home/markus/gcc/libgcc
-I/home/markus/gcc/libgcc/. -I/home/markus/gcc/libgcc/../gcc
-I/home/markus/gcc/libgcc/../include -I/home/markus/gcc/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _cmpdi2.o -MT _cmpdi2.o
-MD -MP -MF _cmpdi2.dep -DL_cmpdi2 -c /home/markus/gcc/libgcc/libgcc2.c
-fvisibility=hidden -DHIDE_EXPORTS
*** glibc detected *** /var/tmp/gcc_build_dir/./gcc/cc1: malloc(): memory
corruption: 0x00000000014e8e10 ***
That happens with r191468 of trunk.
More information about the Gcc-bugs
mailing list