Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-23 Thread Edgar Alwers
Am 23.06.2016 um 12:10 schrieb Pierre Labastie: Do you mean that you type: CC=$LFS_TGT-gcc\ CXX=$LFS_TGT-g++ \ ... then "enter" then ../configure ... ? If so, that is the problem: this is one big instruction starting at CC= and ending at

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-23 Thread Edgar Alwers
Am 23.06.2016 um 10:14 schrieb akhiezer: From: Edgar Alwers <edgaralw...@gmx.de> Date: Wed, 22 Jun 2016 22:18:09 +0200 Subject: Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails Am 22.06.2016 um 18:35 schrieb Pierre Labastie: Did you type the CC=... CXX=... etc

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-22 Thread Paul Rogers
> >> Now that you mention it Pierre, I think the following would be better > >> because it is far easier to read and understand. > >> > >> > >> sed -e 's@/lib../ld@/tools&@g' > >> > >> where the '.' matches any character. > > > > Not completely sure, but I think we need to be able to match /lib/ld

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-22 Thread Edgar Alwers
Am 22.06.2016 um 18:35 schrieb Pierre Labastie: Did you type the CC=... CXX=... etc lines? They are needed (with backslash as continuation character) to get the behavior I described... Maybe LFS_TGT is not set? Or $LFS_TGT-gcc is not found in the PATH? To be clear, you can unpack gcc outside

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-22 Thread Pierre Labastie
On 22/06/2016 17:20, Edgar Alwers wrote: Am 22.06.2016 um 15:08 schrieb Pierre Labastie: You may try (outside chroot): echo 'int main(){}' > dummy.c /tools/bin/i686-lfs-linux-gnu-gcc dummy.c readelf -l a.out | grep ': /tools' [Requesting program interpreter: /tools/lib/ld-linux.so.2]

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-22 Thread Pierre Labastie
On 21/06/2016 21:12, Bruce Dubbs wrote: Pierre Labastie wrote: The place where /tools/ is added before /lib is in 5.10, GCC Pass 2. it is the long sequence of instructions starting with "for file in". Have you pasted those instructions from the book, or did you recopy them by hand? Make sure

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-21 Thread Edgar Alwers
Am 21.06.2016 um 18:21 schrieb Pierre Labastie: Actually, what version of LFS were you building? SVN? The place where /tools/ is added before /lib is in 5.10, GCC Pass 2. it is the long sequence of instructions starting with "for file in". Have you pasted those instructions from the book,

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-21 Thread Edgar Alwers
Am 14.06.2016 um 07:21 schrieb Bruce Dubbs: Edgar, I'd suggest trying jhalfs. It is really a tool for developers, but it's not that hard to use. You need subversion and the tools uses to build the book (libxml2, libxslt, DocBook, and tidy). If you need help getting it to run properly,

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-14 Thread Paul Rogers
I'll check my Tualatin, 1.4Ghz Pentium-3, today. I could try it there if necessary. p.s. Correction to a previous post: I stopped compiling after "check" not "install", of course. -- Paul Rogers paulgrog...@fastmail.fm Rogers' Second Law: "Everything you do communicates." (I do not personally

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-13 Thread Paul Rogers
I have stopped my build with the gcc-build as is at the end of the "make install", with tee'd logs of the configure, make, and install phases. I'm very willing to search for any clues to what's causigng the failure which anybody can suggest, given that I'm just a LFS/Linux user, not a C programmer

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-13 Thread Douglas R. Reno
On June 13, 2016 3:59:27 PM CDT, Bruce Dubbs wrote: >Bruce Dubbs wrote: >> Dr.-Ing. Edgar Alwers wrote: > $ ldd /tools/bin/gcc linux-vdso.so.1 (0x7ffdf9d09000) libm.so.6 => /tools/lib/libm.so.6 (0x7f0813de7000)

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-13 Thread Bruce Dubbs
Thomas Trepl wrote: Am Montag, den 13.06.2016, 15:59 -0500 schrieb Bruce Dubbs: Bruce Dubbs wrote: Dr.-Ing. Edgar Alwers wrote: $ ldd /tools/bin/gcc linux-vdso.so.1 (0x7ffdf9d09000) libm.so.6 => /tools/lib/libm.so.6 (0x7f0813de7000) libc.so.6 => /tools/lib/libc.so.6

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-13 Thread Paul Rogers
BTW, I did search for GCC-4.9.2 i686 regression test/patch and found some, but they seemed to mostly be dealing with particular distros packaging. On GNU I found a report of a successful regression test build. Can't attest to a very thorough search. -- Paul Rogers paulgrog...@fastmail.fm

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-13 Thread Bruce Dubbs
Bruce Dubbs wrote: Dr.-Ing. Edgar Alwers wrote: $ ldd /tools/bin/gcc linux-vdso.so.1 (0x7ffdf9d09000) libm.so.6 => /tools/lib/libm.so.6 (0x7f0813de7000) libc.so.6 => /tools/lib/libc.so.6 (0x7f0813a46000) /tools/lib64/ld-linux-x86-64.so.2

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-13 Thread William Harrington
On Sun, June 12, 2016 20:32, Bruce Dubbs wrote: > Paul Rogers wrote: >>> I admit I have not tested a 32-bit system is several months. They >>> really >>> are obsolete. >> >> That's OK, so is all my hardware! I'm retired living on a fixed income. > > You can't afford a one time $89? > Apparently

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-12 Thread Thomas Trepl
Am Sonntag, den 12.06.2016, 12:56 -0700 schrieb Paul Rogers: > > > > I admit I have not tested a 32-bit system is several months.  They > > really  > > are obsolete. > > That's OK, so is all my hardware! ... > --  > Paul Rogers > No its not.  Too bad that well running machines are thrown away

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-12 Thread Paul Rogers
Reporting on the failure of my Ch6 GCC-4.9.2 rebuild from scratch for i686. It went through the headers fine this time. I did a few greps with line numbers on the "make check" log, so I could sort them into order. I didn't see mush in the way of specific identifications. I'm not sure this is

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-12 Thread Bruce Dubbs
Paul Rogers wrote: I admit I have not tested a 32-bit system is several months. They really are obsolete. That's OK, so is all my hardware! I'm retired living on a fixed income. You can't afford a one time $89?

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-12 Thread Paul Rogers
> I admit I have not tested a 32-bit system is several months. They really > are obsolete. That's OK, so is all my hardware! I'm retired living on a fixed income. If I had all the bucks to keep up with the latest and greatest maybe I'd have a recent version of that other software that keeps

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-12 Thread Bruce Dubbs
Dr.-Ing. Edgar Alwers wrote: ls -l /tools/bin/*gcc*' from outside chroot in my case --- -rwxr-xr-x 3 root root 894420 11. Jun 10:28 /tools/bin/gcc -rwxr-xr-x 2 root root 24160 11. Jun 10:28 /tools/bin/gcc-ar and the same,

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-12 Thread Dr.-Ing. Edgar Alwers
Hallo all, thank you very much for your e-mails On Saturday 11 June 2016 16:01:26 Bruce Dubbs wrote: > What about 'ls -l /tools/bin/*gcc*' from outside chroot. > > I admit I have not tested a 32-bit system is several months. They really > are obsolete. > > I have: > > -rwxr-xr-x 3 lfs lfs

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-12 Thread Dr.-Ing. Edgar Alwers
On Sunday 12 June 2016 07:30:51 William Harrington wrote: > The interpreter is probably wrong. From the host run "readelf -e > /tool/bin/gcc | grep interpreter" > > You may find it is linked to the host OS. Hi William, "readelf -e /tools/bin/gcc | grep interpreter" delivers [Requesting

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-12 Thread William Harrington
On Sat, June 11, 2016 15:25, Edgar Alwers wrote: > Hi Bruce, hi all, > > I am building the LFS Version SVN-20160527, up to chapter 6.7 everythink > went OK. > > Now, starting the API Headers section with "make mrproper", I get an error > > make: gcc: Command not found > > followed by

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-11 Thread Paul Rogers
> While I can't say anything about helping, I will note that you are the > third person to report this issue in the past few days. I think this > prompts an investigation. > > What do you use as a host system? What architecture (i686/x86_64)? I'm doing LFS-7.7, march=i686, hosted on an i7 with

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-11 Thread Bruce Dubbs
Edgar Alwers wrote: Am 11.06.2016 um 18:46 schrieb Bruce Dubbs: Make sure you have the virtual file systems mounted. I think the virtual file system is mounted. I can access every virtual file e.g. cdrom and floppy in /media > Inside chroot can you do: < echo 'int main(){}' > dummy.c >

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-11 Thread Bruce Dubbs
Edgar Alwers wrote: Am 11.06.2016 um 18:28 schrieb Ken Moffat: How about ldd /tools/bin/gcc ? delivers /tools/bin/ldd: line 125: /tools/bin/gcc: No such file or directory But that is not true. /tools/bin/gcc exists ! I have followed step by step the book instructions, and I have already

Re: [lfs-support] 6.7 Linux-4.6 API headers make mrproper fails

2016-06-11 Thread Douglas R. Reno
On June 11, 2016 10:25:10 AM CDT, Edgar Alwers wrote: >Hi Bruce, hi all, > >I am building the LFS Version SVN-20160527, up to chapter 6.7 >everythink >went OK. > >Now, starting the API Headers section with "make mrproper", I get an >error > >make: gcc: Command not found >