Re: [lfs-dev] glibc '::gets' breakage

2012-02-05 Thread Andrew Benton
On Sun, 05 Feb 2012 11:56:55 -0800 Bryan Kadzban wrote: > Looks like Uli broke it again: > > http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=c3a87236702cb73be1dada3438bbd3c3934e83f8 > > If you remove that "&& defined __USE_GNU" off the end of the #if line, I > bet it'll work fine. It may

Re: [lfs-dev] The case of libgmpxx

2012-02-05 Thread Andrew Benton
On Sun, 05 Feb 2012 23:01:30 +0100 Pierre Labastie wrote: > If I understand the xxx.la files, they are used by libtool to find > libraries. I am certainly missing something, but I do not understand > why changing tools to usr in libstdc++.la would give a better > result. When gmp is built (ie bef

Re: [lfs-dev] The case of libgmpxx

2012-02-05 Thread Pierre Labastie
Le 05/02/2012 18:02, Andrew Benton a écrit : > On Sat, 04 Feb 2012 23:00:37 +0100 > Pierre Labastie wrote: > >> Looks like the libstdc++.a built during chapter 5 cannot be used... >> Some missing -fPIC during build of libstdc++? >> (-fPIC is indeed used for C++ bindings during the build of gmp) >>

Re: [lfs-dev] glibc '::gets' breakage

2012-02-05 Thread Bryan Kadzban
Andrew Benton wrote: > To save spamming the list I've put that up here: > http://www.linuxfromscratch.org/~andy/dump-1.txt Looks like Uli broke it again: http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=c3a87236702cb73be1dada3438bbd3c3934e83f8 If you remove that "&& defined __USE_GNU" off

Re: [lfs-dev] glibc '::gets' breakage

2012-02-05 Thread Andrew Benton
Ok, so I reverted to type and resorted to simple sed hacks to bludgeon my way forward. This enabled the second pass of gcc to compile and install into /tools: sed -i '/::gets/d' libstdc++-v3/include/c_global/cstdio After that, coreutils, diffutils, gettext, gzip, tar and m4 all needed variations

[lfs-dev] Plans for LFS-7.1

2012-02-05 Thread Bruce Dubbs
We are starting to plan for LFS-7.1. We are anticipating an -rc1 release in about two weeks and lfs-7.1 around the first of March. Right now there are only two relatively routine package updates in the ticket queue: the kernel and automake. http://wiki.linuxfromscratch.org/lfs/query?status=ass

Re: [lfs-dev] glibc '::gets' breakage

2012-02-05 Thread Pierre Labastie
Le 05/02/2012 16:44, Andrew Benton a écrit : > On Sun, 05 Feb 2012 12:46:24 +0100 > Pierre Labastie wrote: > >>> Maybe try (supposing the build tree has not been removed): >>> >>> echo '#include' |/mnt/lfs/sources/gcc-build/gcc/xgcc -shared-libgcc >>> \ >>> -B/mnt/lfs/sources/gcc-build/gcc -nostd

Re: [lfs-dev] The case of libgmpxx

2012-02-05 Thread Andrew Benton
On Sat, 04 Feb 2012 23:00:37 +0100 Pierre Labastie wrote: > Looks like the libstdc++.a built during chapter 5 cannot be used... > Some missing -fPIC during build of libstdc++? > (-fPIC is indeed used for C++ bindings during the build of gmp) > > So, I do not know what to do. Well, does it make a

Re: [lfs-dev] glibc '::gets' breakage

2012-02-05 Thread Andrew Benton
On Sun, 05 Feb 2012 12:46:24 +0100 Pierre Labastie wrote: > > Maybe try (supposing the build tree has not been removed): > > > > echo '#include' |/mnt/lfs/sources/gcc-build/gcc/xgcc -shared-libgcc > > \ > > -B/mnt/lfs/sources/gcc-build/gcc -nostdinc++ \ > > -B/tools/x86_64-unknown-linux-gnu/bin

Re: [lfs-dev] glibc '::gets' breakage

2012-02-05 Thread Pierre Labastie
Le 05/02/2012 12:36, Pierre Labastie a écrit : > Le 04/02/2012 22:33, Bryan Kadzban a écrit : >> Bah, right. Well, there's a C++ compiler *somewhere*, that the pass2 >> gcc is using to compile libstdc++ when it runs into this error. :-) >> >> Maybe it'd be a better idea to do it that way: Run a b

Re: [lfs-dev] glibc '::gets' breakage

2012-02-05 Thread Pierre Labastie
Le 04/02/2012 22:33, Bryan Kadzban a écrit : > > Bah, right. Well, there's a C++ compiler *somewhere*, that the pass2 > gcc is using to compile libstdc++ when it runs into this error. :-) > > Maybe it'd be a better idea to do it that way: Run a build until it > breaks, then repeat the command tha