ServerBeach replaced the system memory on anduin last night. I compiled
gcc-4.02 to test it out, but I got a segfault at exactly the same place
it did before.
Upon analysis, it looks like the first invocation of stage1/xgcc fails.
I went to the build directory and ran the command that failed:
stage1/xgcc -Bstage1/ -B/tools/i686-pc-linux-gnu/bin/ -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 -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.0.2/gcc -I../../gcc-4.0.2/gcc/.
-I../../gcc-4.0.2/gcc/../include -I../../gcc-4.0.2/gcc/../libcpp/include
-c insn-attrtab.c -o insn-attrtab.o --verbose
and it completed successfully!
My original commands that resulted in the failure were right out of
LFS-dev Chapter 5:
tar -xf /srv/ftp/LFS/lfs-packages/development/gcc-4.0.2.tar.bz2
cd gcc-4.0.2/
mkdir -v ../gcc-build
cd ../gcc-build
../gcc-4.0.2/configure --prefix=/tools --with-local-prefix=/tools \
--disable-nls --enable-shared --enable-languages=c
make bootstrap
The md5sum of the tarball is a659b8388cac9db2b13e056e574ceeb0
/srv/ftp/LFS/lfs-packages/development/gcc-4.0.2.tar.bz2
(this matches what I have on my current system)
The system starts with:
[EMAIL PROTECTED] /tmp/gcc/gcc-build/gcc]$ gcc --version
gcc (GCC) 3.4.3
$ uname -a
Linux anduin 2.6.10-1 #1 Tue Jan 18 06:22:56 CST 2005 i686 athlon-4 i386
GNU/Linux
$ cat /etc/lfs-release
SVN-20050109
$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 8
model name : AMD Athlon(tm) XP 2100+
stepping : 1
cpu MHz : 1742.210
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 mmx fxsr sse pni syscall mmxext 3dnowext 3dnow
bogomips : 3432.44
Other info:
$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda6 3.7G 2.6G 994M 73% /
shm 443M 0 443M 0% /dev/shm
/dev/hda1 97M 7.9M 84M 9% /boot
/dev/hda5 3.7G 2.7G 892M 75% /home
/dev/hda7 19G 17G 918M 95% /srv
/dev/hda2 9.9G 1.1G 8.4G 12% /mnt/lfs
$ free
total used free shared buffers cached
Mem: 906740 383436 523304 0 149212 188124
-/+ buffers/cache: 46100 860640
Swap: 1048816 0 1048816
Any ideas on what is causing the segfault during the gcc build?
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page