Re: gcc 3.4.3 make bootstrap error chapter 5

2005-10-26 Thread Henry Grefrath

Ok - it seems that I will have to accept that :-(.

So the approach will be to use the hint for small footprint system 
and compile it on another machine manually forcing the target to be 586?


Thanks
Henry



At 25.10.2005 08:07 +0200, you wrote:


Matthew Burgess wrote:


Henry Grefrath wrote:


Hi Tony,

I was hoping I could build a small system on this laptop. It has 
32MB of RAM and I setup a 75MB swap partition. The rest of the 
hard disk 1.2GB is mounted as /mnt/lfs.



I think you might struggle with that, I'm afraid.  Building just 
chapter 5 on an Athlon XP 2400+ with 512MB RAM and 512MB swap took 
just over 3.5 hours over the weekend (admittedly that included all 
the toolchain testsuites as well).  A better approach, if possible, 
would be to utilise a much faster machine than your laptop, then 
copy the resulting system across, minus any binaries and libraries 
you don't require.

Have to agree, and maybe even stretch it to; it won't work.. :(
I compiled LFS 6.0 on a P-200MMX a few months ago. 96MB RAM and 7GB 
HD. First followed my standard procedure and set up 190MB (ca 2xRAM) 
swap, and started building. Don't remember exactly where the problem 
started, but think it was the bootstrap phase in ch5. Strange 
errors.. Tried again, similar, but not the same.. Ok, finally I set 
up 1GB swap, and managed to compile the whole system. Took me about 
a week, wouldn't recommend it. :)
The case is, with low RAM, you gonna need alot of swap, and then 
there's not enough space left on your 1.2GB HD for building.. :(


--Tor Olav
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: gcc 3.4.3 make bootstrap error chapter 5

2005-10-25 Thread Tor Olav Stava

Matthew Burgess wrote:


Henry Grefrath wrote:


Hi Tony,

I was hoping I could build a small system on this laptop. It has 32MB 
of RAM and I setup a 75MB swap partition. The rest of the hard disk 
1.2GB is mounted as /mnt/lfs.



I think you might struggle with that, I'm afraid.  Building just 
chapter 5 on an Athlon XP 2400+ with 512MB RAM and 512MB swap took 
just over 3.5 hours over the weekend (admittedly that included all the 
toolchain testsuites as well).  A better approach, if possible, would 
be to utilise a much faster machine than your laptop, then copy the 
resulting system across, minus any binaries and libraries you don't 
require.



Have to agree, and maybe even stretch it to; it won't work.. :(
I compiled LFS 6.0 on a P-200MMX a few months ago. 96MB RAM and 7GB HD. 
First followed my standard procedure and set up 190MB (ca 2xRAM) swap, 
and started building. Don't remember exactly where the problem started, 
but think it was the bootstrap phase in ch5. Strange errors.. Tried 
again, similar, but not the same.. Ok, finally I set up 1GB swap, and 
managed to compile the whole system. Took me about a week, wouldn't 
recommend it. :)
The case is, with low RAM, you gonna need alot of swap, and then there's 
not enough space left on your 1.2GB HD for building.. :(


--Tor Olav
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


RE: gcc 3.4.3 make bootstrap error chapter 5

2005-10-24 Thread Jose Luis Garcia Lopez
I used all the sources from the live CD and I applied the following 
patches from the CD:
gcc-3.4.3-linkonce-1.patch
gcc-3.4.3-no_fixincludes-1.patch
gcc-3.4.3-specs-2.patch

In the chapter 5.4 donĀ“t need any patch, and in the 5.11 you only 
need aply :
   gcc-3.4.3-no_fixincludes-1.patch 
   and 
   gcc-3.4.3-specs-2.patch
The gcc-3.4.3-linkonce-1.patch is for the chapter 6.

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: gcc 3.4.3 make bootstrap error chapter 5

2005-10-24 Thread Tony Sauri

Henry Grefrath wrote:

Hi,

I have been following the book using the LiveCD 6.1.3 on my Toshiba 
Laptop Satellite Pro 430CDT.




I'm not a LFS building expert but I would question whether your hardware 
platform has the resources for the job.  That model laptop maxes RAM at 
48MB and the standard hard drive is only 2 GB


snip

make bootstrap ended in the following error:

. -o crtbegin.o
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:79:19: stdio.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:82:23: sys/types.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:85:19: errno.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:92:20: string.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:94:19: unistd.h: No such file or directory
In file included from ./include/syslimits.h:7,
 from ./include/limits.h:11,
 from ../../gcc-3.4.3/gcc/tsystem.h:97,
 from ../../gcc-3.4.3/gcc/crtstuff.c:62,
./include/limits.h:122:61: limits.h: No such file or directory
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:100:18: time.h: No such file or directory
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2


Are you sure you that a lack of disk space is not the cause of the 
missing files?

Regards

Tony Sauri
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: gcc 3.4.3 make bootstrap error chapter 5

2005-10-24 Thread Henry Grefrath

Hi Tony,

I was hoping I could build a small system on this laptop. It has 32MB 
of RAM and I setup a 75MB swap partition. The rest of the hard disk 
1.2GB is mounted as /mnt/lfs.


So far I have only copied the sources onto the HD and I have build 
the binutils.


Regards
Henry

At 24.10.2005 22:59 +1300, you wrote:


Henry Grefrath wrote:

Hi,
I have been following the book using the LiveCD 6.1.3 on my Toshiba 
Laptop Satellite Pro 430CDT.


I'm not a LFS building expert but I would question whether your 
hardware platform has the resources for the job.  That model laptop 
maxes RAM at 48MB and the standard hard drive is only 2 GB


snip

make bootstrap ended in the following error:
. -o crtbegin.o
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:79:19: stdio.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:82:23: sys/types.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:85:19: errno.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:92:20: string.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:93:20: stdlib.h: No such file or directory
../../gcc-3.4.3/gcc/tsystem.h:94:19: unistd.h: No such file or directory
In file included from ./include/syslimits.h:7,
 from ./include/limits.h:11,
 from ../../gcc-3.4.3/gcc/tsystem.h:97,
 from ../../gcc-3.4.3/gcc/crtstuff.c:62,
./include/limits.h:122:61: limits.h: No such file or directory
In file included from ../../gcc-3.4.3/gcc/crtstuff.c:62:
../../gcc-3.4.3/gcc/tsystem.h:100:18: time.h: No such file or directory
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory '/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory '/mnt/lfs/sources/gcc-build/gcc'
make: *** [bootstrap] Error 2


Are you sure you that a lack of disk space is not the cause of the 
missing files?

Regards

Tony Sauri
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: gcc 3.4.3 make bootstrap error chapter 5

2005-10-24 Thread Matthew Burgess

Henry Grefrath wrote:

Hi Tony,

I was hoping I could build a small system on this laptop. It has 32MB of 
RAM and I setup a 75MB swap partition. The rest of the hard disk 1.2GB 
is mounted as /mnt/lfs.


I think you might struggle with that, I'm afraid.  Building just chapter 
5 on an Athlon XP 2400+ with 512MB RAM and 512MB swap took just over 3.5 
hours over the weekend (admittedly that included all the toolchain 
testsuites as well).  A better approach, if possible, would be to 
utilise a much faster machine than your laptop, then copy the resulting 
system across, minus any binaries and libraries you don't require.


Regards,

Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page