I am trying to create a lfs for a Pentium (i586) computer from a P4 (i686) running OpenSuSE 10.1  using CLFS1.0.0rc3.  I have made it through the chapter 9 and have chrooted to /mnt/clfs.  When I get to 10.14 (Installing Ncurses) I get a compiler error:

./shlib: line 140: 21535 Segmentation fault      tic -x -s -o / 
tools/share/terminfo terminfo.tmp
? tic could not build /tools/share/terminfo
make[1]: *** [install.data] Error 1
make[1]: Leaving directory `/mnt/lfs/sources/ncurses-5.5/misc'
make: *** [install] Error 2

This error was reported by another user on the mailing list at http://linuxfromscratch.org/pipermail/lfs-dev/2006-February/055869.html , but the problem was never fully diagnosed.  The user simply switched the host system he was using.

There are a couple of things I have noticed.  First, entering /usr/bin/gcc -v or /tools/bin/gcc -v at the command line says that the target is i686-pc-linux-gnu and every configure in chapter 10 says that the host, build and target options are i686-pc-linux-gnu.  That doesn't seem right to me, but maybe it is.  Second, there were some errors when running through the test suite of gcc in section 10.9.  The book says that some will exist, but I'm not sure about the severity of the errors.  The book in section 10.3 claims that there are build logs at http://trac.cross-lfs.org/clfs/build-logs/1.0.0rc3 , but when I go to the website I get an error.  Did the logs move to a different site?  Finally, when I run tic -x -s -o /tools/share/terminfo terminfo.tmp from the terminal it works just fine.  (Note the terminalis in the chroot jail. If I run make install from the Ncurses directory I get the fault, but if I run the line it faults on it works fine.)  It also works fine in section 6.5.

I am running through the build from the start just to see if there was an error that I missed early on.  I'm also going to watch the creation of /tools/bin/gcc more closely.  Any help would be appreciated.  Thanks.



--
Brenden Capps
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to