2016-06-03 15:12 GMT-03:00 Ken Moffat <[email protected]>:
> 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 ?

-rw-r--r-- 1 root root 2656 Fev 28  2015 /usr/lib/crti.o

The host is a LFS 7.6 (systemd version)

>> 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) ?

"real c++ programs"!? Sorry. I did not get it.  Could you explain?

>>
>> 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.

Yes, a hint from jimmy anderson
<http://comments.gmane.org/gmane.linux.lfs.hints/232> about "Build
your own LFS livecd".  I have already translated into brazilian
portuguese.  That hint uses thinks like squashfs4.2, busybox-1.20.2
and syslinux-4.06, among others, and kernel tweaks.  I do not know yet
if that is a solution for my needs.  I want to build a basic LFS and
have it always on my hand, even for a complete reinstalation on the
same hardware.  I am planing to format a machine and intend to
reinstall the whole system with a little effort.   I already have
installed the system using ALFS e I declare it works fine.  However,
could it exist a even more simple method? That is the challenge, I
suppose.

>
> 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 ?

Yes, I have enough hard disk space.   I could try this.   I will try
this and I will post the results.

> 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).

Oh. Bad news.  Lets go I figure out where it leave me.

> ĸ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
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to