Odd behaviour from 1st compile.
Starting Chapter 5 - binutils-pass 1 onwards I am getting weird behaviour. In the make compiles halt on
Code:
checking how to print strings... Code:
lfs:~$ cat .bash_profile EDIT: These errors come from configure scripts. Binutils and gcc run a few each. |
I would run the version-ck.sh and run echo $LFS Then remount the target partition mount -v -t ext4 /dev/<xxx> $LFS Using this LFS=/media/hd0 is not standard and can introduce issues.
|
1st compile reply
I'd start over with Sections 2 and 4. Not using export LFS=/mnt/lfs may have tripped something up in those.
|
Thanks for the reply.
I think I can call this solved. It's a gremlin from my base system (too many updates, no recent clean install) but it's harmless. I went on, & things are fine. It was big in binutils & gcc, but they have several configure scripts in both of them. The 'make test' stage in things is coming out as clean as you would expect for chapter 5. I'm on bison now in Ch. 5-17.1 and all is smooth. The definitive test is the make test on gcc in chapter 6. I'll scrub it all if that looks poorly. On this box, building a kernel throws a bucketload of warnings, but the kernel comes out just fine. |
Yep, it's solved all right.
On chapter 6 now, passing with flying colors on Binutils, Glibc & Gcc, in fact on everything. The problem vanished in the chroot. It was satisfying to have binutils not stop with stupid nonsense; it has a lot of small compiles with individual configure scripts, and was the first thing in chapter 5 and the major offender, prompting the query. |
All times are GMT -5. The time now is 12:13 AM. |