Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Ken Moffat
On Wed, Apr 15, 2015 at 09:25:11PM -0500, Douglas R. Reno wrote: > No problem Ken. I plan on continuing my build through trunk as well, as it > will give me an idea of what has to be changed for systemd, and it always > helps to have a second pair of eyes on a project such as GCC 5 > Keeping it in

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Douglas R. Reno
No problem Ken. I plan on continuing my build through trunk as well, as it will give me an idea of what has to be changed for systemd, and it always helps to have a second pair of eyes on a project such as GCC 5 Douglas R. Reno -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Ken Moffat
On Wed, Apr 15, 2015 at 06:01:46PM -0500, Douglas R. Reno wrote: > > libstdc++: Add CFLAGS=-fPIC CXXFLAGS=-fPIC to the configure command > AND copy the headers/directories from > /tools/$LFS_TGT/include/c++/5.1.0-RC-20150412/$LFS_TGT to > /tools/$LFS_TGT/include/c++/5.1.0-RC-20150412 Just got thr

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Douglas R. Reno
Alright here is a patch for Ncurses. I just submitted it to the patches repo. Douglas R. Reno Submitted By: Douglas R. Reno Date:2015-04-15 Initial Package Version: 5.9 Upstream Status: Unknown Origin:ftp://invisible-island.net/ncurses/5.9/ncurses-5.9-20141206.patch.gz Description:

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Ken Moffat
On Wed, Apr 15, 2015 at 06:51:42PM -0500, Douglas R. Reno wrote: > I had no clue about that. I would definitely file a bug report about that. > I did, but it was closed as invalid : | |Please see https://gcc.gnu.org/develop.html . | |Basically 5.1.0 is the version for the released version 5.0.1 is

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Ken Moffat
On Wed, Apr 15, 2015 at 06:51:42PM -0500, Douglas R. Reno wrote: > I had no clue about that. I would definitely file a bug report about that. > > I only made it as far as Ncurses 5.9 in the temporary toolchain, > though. It bombs out with: > > gcc -DHAVE_CONFIG_H -I../ncurses -I. -D_GNU_SOURCE -

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Douglas R. Reno
I had no clue about that. I would definitely file a bug report about that. I only made it as far as Ncurses 5.9 in the temporary toolchain, though. It bombs out with: gcc -DHAVE_CONFIG_H -I../ncurses -I. -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/tools/include -O2 --param max-inline-insns-single

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Ken Moffat
On Wed, Apr 15, 2015 at 06:01:46PM -0500, Douglas R. Reno wrote: > Hi Ken, > > I seem to have solved the issue with the headers. Your symlinks didn't > work. Here is what I did: > > Binutils 2.25 Pass 1 and 2: Add "--with-pic" to the configure command > (Taken from Armin's buildscript for Binutil

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Douglas R. Reno
Hi Ken, I seem to have solved the issue with the headers. Your symlinks didn't work. Here is what I did: Binutils 2.25 Pass 1 and 2: Add "--with-pic" to the configure command (Taken from Armin's buildscript for Binutils after I figured out the issue with -fPIC) Explanation: Later on in the GCC bu

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Ken Moffat
On Tue, Apr 14, 2015 at 08:04:32PM -0500, Douglas R. Reno wrote: > I got as far as GCC Pass 2, however I failed with a different error > (related to ): > This is the same error that I had - but perhaps my repoort was garbled. Certainly my brain was pretty addled by the time I reported this. > /b

Re: [lfs-dev] GCC 5 and Flex

2015-04-15 Thread Douglas R. Reno
I just had an interesting thought. I added CFLAGS but just noticed that it is executing x86_64-lfs-linux-gnu-g++. Maybe I should try adding CXXFLAGS (or CPPFLAGS, will have to look into that) =-I/tools/$LFS_TGT/include. I will try that once I get home. Douglas R. Reno -- http://lists.linuxfromscr

Re: [lfs-dev] LFS 7.7: GMP 6.0.0: 3 errors in tests/mpn

2015-04-15 Thread Kevin Buckley
; ... That change has now been made. I've just tested the latest GMP snapshot gmp-6.0.0-20150415 and for all four of the systems I was compiling GMP in Ubuntu 12.04, no Xen Ubuntu 12.04 + Xen 4.1.6.1 host CentOS 6.6 Xen VM LFS chroot inside CentOS 6.6 Xen VM I can report that all tests now