On Fri, Jun 03, 2016 at 12:24:46PM -0300, Jamenson Ferreira Espindula de Almeida Melo wrote:
[ snipping most of this ] > > Subject: gcc-5.3.0 - pass 1 build error > > The error: > > g++: error: \ > /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/crti.o: \ > No such file or directory That seems bizarre - on 7.6 (sysvinit) my crti.o was at /usr/lib/crti.o [ from glibc ]. First question: where is crti.o on your host ? > Version check script output: > > bash, version 4.3.24(1)-release > /bin/sh -> /bin/bash > Binutils: (GNU Binutils) 2.24 > bison (GNU Bison) 3.0.2 > yacc is bison (GNU Bison) 3.0.2 > bzip2, Version 1.0.6, 6-Sept-2010. > Coreutils: 8.23 > diff (GNU diffutils) 3.3 > find (GNU findutils) 4.4.2 > GNU Awk 4.1.1, API: 1.1 (GNU MPFR 3.1.2-p10, GNU MP 6.0.0) > /usr/bin/awk -> /usr/bin/gawk > gcc (GCC) 4.9.1 > g++ (GCC) 4.9.1 > (GNU libc) 2.20 > grep (GNU grep) 2.20 > gzip 1.6 > Linux version 3.16.2-jfeam-2015dez21 (jamenson@lfs-comp02) (gcc \ > version 4.9.1 (GCC) ) #1 SMP Mon Dec 21 06:25:57 BRT 2015 > m4 (GNU M4) 1.4.17 > GNU Make 4.0 > GNU patch 2.7.1 > Perl version='5.20.0'; > sed (GNU sed) 4.2.2 > tar (GNU tar) 1.28 > makeinfo (GNU texinfo) 5.2 > xz (XZ Utils) 5.0.5 > g++ compilation OK > So, on the face of it g++ works on the host system. Have you built any real c++ programs there (to discount the possibility that the book's test for a working g++ might be inadequate) ? > > Hi all! > > I am trying to build a LFS 7.9 (SysV version). Detail: instead of > making a new partition following the book instructions, I am trying to > build the system in an ext4 file system archive (root.ext4), mounted in > loop mode (loop0). My LFS host system is 7.6 (systemd version). > > Any idea about the gcc-5.3.0 build error here described? > On blfs-support you mentioned you would follow a hint, I wonder if that hint no-longer works. Do you have space in /tmp or elsewhere, e.g. in /home, to create a directory you could bind mount at /mnt/lfs to repeat binutils pass 1 and try gcc pass 1 in the regular fashion to see if this problem is specific to building in a loopback filesystem ? I suspect that not many people use loopback - I vaguely remember I have had problems with it in the past (burned an iso, then unable to mount it to check the contents - but it booted fine). ĸen -- I had to walk fifteen miles to school, barefoot in the snow. Uphill both ways. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
