[lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Israel Silberg
Hi all, I started working on LFS 7.2 and I get the following error in GCC 4.7.1 pass 1 (section 5.5.1) as far as I can tell I'm following the book to the letter and the configure I have copied and pasted. I tried the section three times already and every time I get the same error, is it OK or shou

[lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Walter Webb
I just joined this list and can't respond properly. I had a different file not found than Israel Silberg. I unset MAKEFLAGS and retried, and it worked. Walter Webb ** -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See th

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Jasmine Iwanek
On 2012-09-03 07:53, Israel Silberg wrote: > > checking for MPFR... no > configure: error: libmpfr not found or uses a different ABI > (including static vs shared). > make[2]: *** [configure-stage1-mpc] Error 1 > make[2]: Leaving directory `/mnt/lfs/sources/gcc-build > make[1]: *** [stage1-bubble]

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread William Harrington
On Sep 3, 2012, at 01:53 AM, Israel Silberg wrote: > checking for MPFR... no > configure: error: libmpfr not found or uses a different ABI > (including static vs shared). Most likely trying to use the host's installed mpfr. First extract the gcc tarball from the sources directory and then c

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Israel Silberg
Hi, Thanks for your reply. I extracted all of these packages from within the GCC-4.7.1 folder and the configure and make are from gcc-build Here is the output for ls -lah of gcc-4.7.1 lfs@kitt-Lenovo-Product:/mnt/lfs/sources/gcc-4.7.1$ ls -lah total 11M drwxr-xr-x 33 lfs lfs 4.0K Sep 3 09:25 . dr

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread William Harrington
On Sep 3, 2012, at 06:33 AM, Israel Silberg wrote: > Hi, > Thanks for your reply. > I extracted all of these packages from within the GCC-4.7.1 folder > and the configure and make are from gcc-build > Here is the output for ls -lah of gcc-4.7.1 > > drwxr-xr-x 14 lfs lfs 4.0K May 6 14:20 gmp > dr

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Richard Melville
> > I extracted all of these packages from within the GCC-4.7.1 folder > and the configure and make are from gcc-build > Here is the output for ls -lah of gcc-4.7.1 > > lfs@kitt-Lenovo-Product:/mnt/lfs/sources/gcc-4.7.1$ ls -lah > total 11M > drwxr-xr-x 33 lfs lfs 4.0K Sep 3 09:25 . > drwxrwxrwt

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Eleanore Boyd
On 9/3/2012 11:23 AM, Richard Melville wrote: >> >> I'd still be interested to know why we build GMP, MPC, and MPFR inside GCC >> except on the final build where they are built separately. >> >> Richard >> > > As I understand it, with the first two times the toolchain is being built, and GMP, MPC,

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Bruce Dubbs
Eleanore Boyd wrote: > On 9/3/2012 11:23 AM, Richard Melville wrote: >>> >>> I'd still be interested to know why we build GMP, MPC, and MPFR inside GCC >>> except on the final build where they are built separately. > As I understand it, with the first two times the toolchain is being > built, and

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Israel Silberg
Thaks all for the replies, Richard, what do you mean by puting it in a script to what is going on? How do I make the script write me the data I need? I know some bash scripting but clearly not enogh :-) And another question, if I want in the end tohave a LFS or BLFS system without gcc in it, shold

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Eleanore Boyd
On 9/3/2012 12:24 PM, Israel Silberg wrote: > Thaks all for the replies, > Richard, what do you mean by puting it in a script to what is going on? How > do I make the script write me the data I need? > I know some bash scripting but clearly not enogh :-) > And another question, if I want in the end

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Bruce Dubbs
Eleanore Boyd wrote: > On 9/3/2012 12:24 PM, Israel Silberg wrote: >> Thaks all for the replies, >> Richard, what do you mean by puting it in a script to what is going on? How >> do I make the script write me the data I need? >> I know some bash scripting but clearly not enogh :-) >> And another qu

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Israel Silberg
And another thing, when you have a compiler you never know if a software works because you wrote it good or because it has the compiler's enviroment. Anotger question a bit OT, can a LFS be built from rpms so we will have a comfertable way to update it? On Sep 3, 2012 9:21 PM, "Bruce Dubbs" wrote:

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Baho Utot
On 09/03/2012 01:24 PM, Israel Silberg wrote: Thaks all for the replies, Richard, what do you mean by puting it in a script to what is going on? How do I make the script write me the data I need? I know some bash scripting but clearly not enogh :-) And another question, if I want in the end to

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Baho Utot
On 09/03/2012 03:51 PM, Israel Silberg wrote: > > And another thing, when you have a compiler you never know if a > software works because you wrote it good or because it has the > compiler's enviroment. > Anotger question a bit OT, can a LFS be built from rpms so we will > have a comfertable wa

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-03 Thread Bruce Dubbs
Walter Webb wrote: > I just joined this list and can't respond properly. > I had a different file not found than Israel Silberg. > I unset MAKEFLAGS and retried, and it worked. Good point. Using -j > 1 can cause problems in some packages. It can cause race conditions that sometimes cause a fail

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-04 Thread Steve Crosby
On Tue, Sep 4, 2012 at 4:23 AM, Richard Melville wrote: >> I extracted all of these packages from within the GCC-4.7.1 folder > > I'd still be interested to know why we build GMP, MPC, and MPFR inside GCC > except on the final build where they are built separately. > > Richard > During pass 1,

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-04 Thread Richard Melville
> > Walter Webb wrote: > > I just joined this list and can't respond properly. > > I had a different file not found than Israel Silberg. > > I unset MAKEFLAGS and retried, and it worked. > I'm glad you got it to build, but that's the conclusion of a simple empiricist. It's like me saying that bec

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-04 Thread Israel Silberg
Another day, another try. I extracted the gcc again and did it again, and this time it worked. Thanks all for your support. On Tue, Sep 4, 2012 at 12:03 PM, Richard Melville < richard.melvill...@googlemail.com> wrote: > Walter Webb wrote: >> > I just joined this list and can't respond properly. >

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-04 Thread Baho Utot
On 09/03/2012 11:54 PM, Bruce Dubbs wrote: > Walter Webb wrote: >> I just joined this list and can't respond properly. >> I had a different file not found than Israel Silberg. >> I unset MAKEFLAGS and retried, and it worked. > Good point. Using -j > 1 can cause problems in some packages. It can >

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Richard Melville
> > On Tue, Sep 4, 2012 at 4:23 AM, Richard Melville > wrote: > >> I extracted all of these packages from within the GCC-4.7.1 folder > > > > > > I'd still be interested to know why we build GMP, MPC, and MPFR inside > GCC > > except on the final build where they are built separately. > > > > Ric

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Jasmine Iwanek
On 2012-09-05 10:43, Richard Melville wrote: > > Thanks for the reply Steve ( and Eleanor earlier).  Picking up on > what Bruce said about the possibility of race conditions relating to > building GCC with MAKEFLAGS set to -j > 1, Im wondering if there may > be a race condition affecting the GCC bu

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Baho Utot
On 09/05/2012 08:17 AM, Jasmine Iwanek wrote: > On 2012-09-05 10:43, Richard Melville wrote: >> Thanks for the reply Steve ( and Eleanor earlier). Picking up on >> what Bruce said about the possibility of race conditions relating to >> building GCC with MAKEFLAGS set to -j > 1, Im wondering if the

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Jasmine Iwanek
On 2012-09-05 13:34, Baho Utot wrote: > On 09/05/2012 08:17 AM, Jasmine Iwanek wrote: >> I've been bashing away at building LFS for a VERY long time, and >> done >> many many builds of 7.2, this problem has not hit me once, I would >> suggest you stop building GCC with MAKEFLAGS set to -j > 1, as

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Baho Utot
On 09/05/2012 09:55 AM, Jasmine Iwanek wrote: > On 2012-09-05 13:34, Baho Utot wrote: [putolin] >> I always build all of LFS with -j4 or -j8 and it has not failed me. >> >> Maybe those that do have a problem are all using a scripted build vs >> those that don't have a scripted build? >> >> Suggest

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Jasmine Iwanek
On 2012-09-05 15:34, Baho Utot wrote: > On 09/05/2012 09:55 AM, Jasmine Iwanek wrote: > > Leaping before looking is what I do well and it has taught me a great > deal. Following a path by others may be a very good guide, but to > truly > learn requires ones to deviate from the beaten path and str

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Richard Melville
> > On 2012-09-05 10:43, Richard Melville wrote: > > > > Thanks for the reply Steve ( and Eleanor earlier). ?Picking up on > > what Bruce said about the possibility of race conditions relating to > > building GCC with MAKEFLAGS set to -j > 1, Im wondering if there may > > be a race condition affect

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Richard Melville
> > On 2012-09-05 13:34, Baho Utot wrote: > > On 09/05/2012 08:17 AM, Jasmine Iwanek wrote: > >> I've been bashing away at building LFS for a VERY long time, and > >> done > >> many many builds of 7.2, this problem has not hit me once, I would > >> suggest you stop building GCC with MAKEFLAGS set t

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Jasmine Iwanek
On 2012-09-05 16:37, Richard Melville wrote: > > Who are you referring to here?  You make an awful lot of assumptions. > > Richard  And yet you tell me that I should try reading all the posts. -- Jasmine Iwanek -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfrom

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Richard Melville
> > On 2012-09-05 15:34, Baho Utot wrote: > > On 09/05/2012 09:55 AM, Jasmine Iwanek wrote: > > > > Leaping before looking is what I do well and it has taught me a great > > deal. Following a path by others may be a very good guide, but to > > truly > > learn requires ones to deviate from the beat

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Jasmine Iwanek
On 2012-09-05 16:46, Richard Melville wrote: > > What is that supposed to mean?  Really, if you have nothing useful to > say then dont say anything. > > Thanks for your positive post Baho. > > Richard  This is lfs-support, not Whine-like-a-child-because-someone-gave-their-insight-and-opinion-and-

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Eleanore Boyd
On 9/5/2012 11:20 AM, Jasmine Iwanek wrote: > On 2012-09-05 16:46, Richard Melville wrote: >> What is that supposed to mean? Really, if you have nothing useful to >> say then dont say anything. >> >> Thanks for your positive post Baho. >> >> Richard > This is lfs-support, not > Whine-like-a-child-

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Bruce Dubbs
Baho Utot wrote: > I still think that helping others even if they have failed to follow the > book is a worthy goal as it shows where the book my be improved. Who > knows by some not following the book new things are learned? I don't have problem with users not following the book. It's just tha

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Jasmine Iwanek
On 2012-09-05 19:01, Bruce Dubbs wrote: > Baho Utot wrote: > >> I still think that helping others even if they have failed to follow >> the >> book is a worthy goal as it shows where the book my be improved. >> Who >> knows by some not following the book new things are learned? > > I don't have

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Baho Utot
On 09/05/2012 02:01 PM, Bruce Dubbs wrote: > Baho Utot wrote: > >> I still think that helping others even if they have failed to follow the >> book is a worthy goal as it shows where the book my be improved. Who >> knows by some not following the book new things are learned? > I don't have problem

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Eleanore Boyd
On 9/5/2012 2:35 PM, Baho Utot wrote: > One can not assume that if you do it manually that you will do it > correctly every time. What if your some what dyslexic? Then the manual > way is a great problem. Have you ever thought that the manual way does not have to involve typing? I don't use scri

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Bruce Dubbs
Baho Utot wrote: > #!/bin/bash > set -o errexit# exit if error > set -o nounset# exit if variable not initalized > set +h# disable hashall > shopt -s -o pipefail > pkgname= > pkgver= > srcname="${pkgname}-${pkgver}.tar.gz" > srcdir=${pkgname}-${pkgver} > startdir=$(pwd) > > functio

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Baho Utot
On 09/05/2012 03:47 PM, Eleanore Boyd wrote: > On 9/5/2012 2:35 PM, Baho Utot wrote: >> One can not assume that if you do it manually that you will do it >> correctly every time. What if your some what dyslexic? Then the manual >> way is a great problem. > Have you ever thought that the manual way

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Eleanore Boyd
On 9/5/2012 2:54 PM, Baho Utot wrote: > On 09/05/2012 03:47 PM, Eleanore Boyd wrote: >> On 9/5/2012 2:35 PM, Baho Utot wrote: >>> One can not assume that if you do it manually that you will do it >>> correctly every time. What if your some what dyslexic? Then the manual >>> way is a great problem.

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Baho Utot
On 09/05/2012 03:54 PM, Bruce Dubbs wrote: > Baho Utot wrote: > >> #!/bin/bash >> set -o errexit# exit if error >> set -o nounset# exit if variable not initalized >> set +h# disable hashall >> shopt -s -o pipefail >> pkgname= >> pkgver= >> srcname="${pkgname}-${pkgver}.tar.gz" >> sr

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Ken Moffat
On Wed, Sep 05, 2012 at 03:54:50PM -0400, Baho Utot wrote: > > Yes but what really is the difference if you cut and paste to a script > then run it instead of the tty? > What that gives me is a way of looking over what I had done when it > doesn't work. If I cut and paste to a term then I have l

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Mikie
>Have you ever thought that the manual way does not have to involve typing? I >don't use scripts to build LFS (always manual for me :) ), but I do know how >to copy+paste the commands into the console and hit Enter. >Elly Yes and us Windows people can allways download putty.exe and instal Open

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Baho Utot
On 09/05/2012 04:15 PM, Ken Moffat wrote: > On Wed, Sep 05, 2012 at 03:54:50PM -0400, Baho Utot wrote: >> Yes but what really is the difference if you cut and paste to a script >> then run it instead of the tty? >> What that gives me is a way of looking over what I had done when it >> doesn't work.

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-05 Thread Bruce Dubbs
Ken Moffat wrote: > On Wed, Sep 05, 2012 at 03:54:50PM -0400, Baho Utot wrote: >> >> Yes but what really is the difference if you cut and paste to a script >> then run it instead of the tty? >> What that gives me is a way of looking over what I had done when it >> doesn't work. If I cut and paste t

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-06 Thread Tim Burress
On 09/03/2012 03:53 PM, Israel Silberg wrote: > checking for MPFR... no > configure: error: libmpfr not found or uses a different ABI (including > static vs shared). > make[2]: *** [configure-stage1-mpc] Error 1 > make[2]: Leaving directory `/mnt/lfs/sources/gcc-build' > make[1]: *** [stage1-bubble

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-06 Thread Tobias Gasser
Baho Utot schrieb: > > I always build all of LFS with -j4 or -j8 and it has not failed me. > so you just had very very much luck on your way... there are packages which CAN fail with parallel builds. whenever i run into a problem, i just restart the package with -j1 which often solved the prob

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-07 Thread Ken Moffat
On Fri, Sep 07, 2012 at 07:12:42AM +0200, Tobias Gasser wrote: > > recently i had intermittent failures on both xulrunner and firefox where > i build with -jX since a very long time. with version 15.0 the build > fails at about half of the builds on my system. giving -j1 runs fine. i > can use 8 c

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-07 Thread Richard Melville
On 09/03/2012 03:53 PM, Israel Silberg wrote: > > checking for MPFR... no > > configure: error: libmpfr not found or uses a different ABI (including > > static vs shared). > > make[2]: *** [configure-stage1-mpc] Error 1 > > make[2]: Leaving directory `/mnt/lfs/sources/gcc-build' > > make[1]: *** [s

Re: [lfs-support] LFS 7.2 GCC pass 1

2012-09-07 Thread Baho Utot
On 09/07/2012 01:12 AM, Tobias Gasser wrote: > Baho Utot schrieb: >> I always build all of LFS with -j4 or -j8 and it has not failed me. >> > so you just had very very much luck on your way... > > there are packages which CAN fail with parallel builds. yes i know that, but I do not attribute my su

Re: [lfs-support] LFS 7.2 GCC pass 1

2013-01-13 Thread Bill Thomson
Tim Burress variosecure.net> writes: > On 09/03/2012 03:53 PM, Israel Silberg wrote: > > checking for MPFR... no > > configure: error: libmpfr not found or uses a different ABI (including > > static vs shared). > > make[2]: *** [configure-stage1-mpc] Error 1 > > make[2]: Leaving directory `/mnt/l