malloc(): memory corruption: in first stage compile of gcc for lfs 6.3
I'm getting the following error on the first stage compile of gcc for lfs 6.3
Code:
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/ -c -O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include gtype-desc.c -o gtype-desc.o |
Update on this issue:
I moved from Slackware 12 to the LFS LiveCD 6.3 r2130, thinking it might help. Indeed gcc compilation got much farther along, raising my hopes, but again I got a memory corruption error. With Slackware 12 I was getting the memory corruption errors in different spots on each attempt to make. I've only tried once and gotten the below error with the LFS LiveCD as a host. In addition, I've had intermittent, but frequent errors extracting the binutils and gcc bzips. So, I've tried checking my disk with badblocks, and 'fsck.ext3 -vcf /dev/hdb4', but I've found no problems, so far. I've also run memtest recently, with no issues. I have to think this is some buggy hardware, because I've gotten similar issues on 2 different host distributions. However, Windows really hasn't been buggy at all, and neither have the host distributions, for that matter. Anyways, I think I'll try a different machine. My latest error from the LFS LiveCD, first pass compile of gcc: Code:
stage2/xgcc -Bstage2/ -B/tools/i686-pc-linux-gnu/bin/ -c -O2 -g -fomit-frame-pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.1.2/gcc -I../../gcc-4.1.2/gcc/. -I../../gcc-4.1.2/gcc/../include -I../../gcc-4.1.2/gcc/../libcpp/include ../../gcc-4.1.2/gcc/c-decl.c -o c-decl.o |
All times are GMT -5. The time now is 09:14 AM. |