Hi Daniel, Just a guess, check that if you add --enable-libstdcxx-time to ./configure in 5.17. Cross GCC-4.8.1 - Final. It seems that the cross-tools can't find c++ library in /tools/include.
Sincerely, 王文鑫 Charlie 2013/6/12 <[email protected]> > > Send Clfs-support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Clfs-support digest..." > > > Today's Topics: > > 1. Re: Build Error for GCC-4.8.1 (chpt 6.9 ) (Martin Ward) > 2. Re: Build Error for GCC-4.8.1 (chpt 6.9 ) (Daniel King) > 3. Re: Build Error for GCC-4.8.1 (chpt 6.9 ) (Martin Ward) > 4. Re: Build Error for GCC-4.8.1 (chpt 6.9 ) (William Harrington) > 5. Re: Build Error for GCC-4.8.1 (chpt 6.9 ) (William Harrington) > 6. Re: Build Error for GCC-4.8.1 (chpt 6.9 ) (Daniel King) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 11 Jun 2013 18:44:39 +0100 > From: Martin Ward <[email protected]> > To: [email protected] > Subject: Re: [Clfs-support] Build Error for GCC-4.8.1 (chpt 6.9 ) > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 11/06/13 16:14, William Harrington wrote: > > > > On Jun 10, 2013, at 10:56 PM, Daniel King wrote: > > > >> g++ -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti > >> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings > >> -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long > >> -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H > >> -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc > >> -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include > >> -I../../gcc-4.8.1/gcc/../libcpp/include > >> -I../../gcc-4.8.1/gcc/../libdecnumber > >> -I../../gcc-4.8.1/gcc/../libdecnumber/bid -I../libdecnumber > >> -I../../gcc-4.8.1/gcc/../libbacktrace -DCLOOG_INT_GMP \ > >> -o build/genconstants.o ../../gcc-4.8.1/gcc/genconstants.c > >> In file included from /usr/include/x86_64-linux-gnu/sys/resource.h:25:0, > >> from ../../gcc-4.8.1/gcc/system.h:395, > >> from ../../gcc-4.8.1/gcc/genconstants.c:28: > >> /usr/include/x86_64-linux-gnu/bits/resource.h:131:18: error: > >> declaration does not declare anything [-fpermissive] > > > > > > From what I've found so far, it seems to be mentioned in PR 54281 for > > gcc. May take a look at that. > > > > I built ppc64 multilib just fine from a recent LFS dev system so I'm > > wondering if I'm encountering it cause of debian. > > > > Which Host OS are you using? > > > > Martin, did you ever encounter this? I know you don't build Multilib, > > or have you given it a recent go lately? > no i don't so haven't come across this > > > > Anyone else who built or tested Multilib? Maybe bvl? > > > > Sincerely, > > > > WIlliam Harrington > > > > > > _______________________________________________ > > Clfs-support mailing list > > [email protected] > > http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org > martin > > > ------------------------------ > > Message: 2 > Date: Tue, 11 Jun 2013 17:35:55 -0400 > From: Daniel King <[email protected]> > To: [email protected] > Subject: Re: [Clfs-support] Build Error for GCC-4.8.1 (chpt 6.9 ) > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > On 06/11/2013 01:44 PM, Martin Ward wrote: > > On 11/06/13 16:14, William Harrington wrote: > >> > >> On Jun 10, 2013, at 10:56 PM, Daniel King wrote: > >> > >>> g++ -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti > >>> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings > >>> -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long > >>> -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H > >>> -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc > >>> -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include > >>> -I../../gcc-4.8.1/gcc/../libcpp/include > >>> -I../../gcc-4.8.1/gcc/../libdecnumber > >>> -I../../gcc-4.8.1/gcc/../libdecnumber/bid -I../libdecnumber > >>> -I../../gcc-4.8.1/gcc/../libbacktrace -DCLOOG_INT_GMP \ > >>> -o build/genconstants.o ../../gcc-4.8.1/gcc/genconstants.c > >>> In file included from > >>> /usr/include/x86_64-linux-gnu/sys/resource.h:25:0, > >>> from ../../gcc-4.8.1/gcc/system.h:395, > >>> from ../../gcc-4.8.1/gcc/genconstants.c:28: > >>> /usr/include/x86_64-linux-gnu/bits/resource.h:131:18: error: > >>> declaration does not declare anything [-fpermissive] > >> > >> > >> From what I've found so far, it seems to be mentioned in PR 54281 for > >> gcc. May take a look at that. > >> > >> I built ppc64 multilib just fine from a recent LFS dev system so I'm > >> wondering if I'm encountering it cause of debian. > >> > >> Which Host OS are you using? > >> > >> Martin, did you ever encounter this? I know you don't build Multilib, > >> or have you given it a recent go lately? > > no i don't so haven't come across this > >> > >> Anyone else who built or tested Multilib? Maybe bvl? > >> > >> Sincerely, > >> > >> WIlliam Harrington > >> > >> > >> _______________________________________________ > >> Clfs-support mailing list > >> [email protected] > >> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org > > martin > > _______________________________________________ > > Clfs-support mailing list > > [email protected] > > http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org > > > I am using ubuntu 13.04 on a amd 64 system. > > Daniel King > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.cross-lfs.org/pipermail/clfs-support-cross-lfs.org/attachments/20130611/7293e45a/attachment-0001.htm> > > ------------------------------ > > Message: 3 > Date: Tue, 11 Jun 2013 23:35:20 +0100 > From: Martin Ward <[email protected]> > To: [email protected] > Subject: Re: [Clfs-support] Build Error for GCC-4.8.1 (chpt 6.9 ) > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 11/06/13 22:35, Daniel King wrote: > > On 06/11/2013 01:44 PM, Martin Ward wrote: > >> On 11/06/13 16:14, William Harrington wrote: > >>> > >>> On Jun 10, 2013, at 10:56 PM, Daniel King wrote: > >>> > >>>> g++ -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti > >>>> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing > >>>> -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic > >>>> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings > >>>> -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc > >>>> -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include > >>>> -I../../gcc-4.8.1/gcc/../libcpp/include > >>>> -I../../gcc-4.8.1/gcc/../libdecnumber > >>>> -I../../gcc-4.8.1/gcc/../libdecnumber/bid -I../libdecnumber > >>>> -I../../gcc-4.8.1/gcc/../libbacktrace -DCLOOG_INT_GMP \ > >>>> -o build/genconstants.o ../../gcc-4.8.1/gcc/genconstants.c > >>>> In file included from > >>>> /usr/include/x86_64-linux-gnu/sys/resource.h:25:0, > >>>> from ../../gcc-4.8.1/gcc/system.h:395, > >>>> from ../../gcc-4.8.1/gcc/genconstants.c:28: > >>>> /usr/include/x86_64-linux-gnu/bits/resource.h:131:18: error: > >>>> declaration does not declare anything [-fpermissive] > >>> > >>> > Hi > > Can you do this go through 6.9 as far as the sed to prevent it looking > in the wrong directories > > then instead of > > make AS_FOR_TARGET="${AS}" \ > LD_FOR_TARGET="${LD}" > > can you run this command make configure-host > > then > > show the output of > grep NATIVE_SYSTEM_HEADER_DIR gcc/Makefile > > and > grep CROSS_SYSTEM_HEADER_DIR gcc/Makefile > > > trying to find out why its picking up headers from the host system > > martin > > > > ------------------------------ > > Message: 4 > Date: Tue, 11 Jun 2013 18:41:15 -0500 > From: William Harrington <[email protected]> > To: CLFS Support <[email protected]> > Subject: Re: [Clfs-support] Build Error for GCC-4.8.1 (chpt 6.9 ) > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii"; Format="flowed"; > DelSp="yes" > > > On Jun 11, 2013, at 5:35 PM, Martin Ward wrote: > > > Can you do this go through 6.9 as far as the sed to prevent it > > looking in the wrong directories > > This makes sense as the issue I was looking up for people > bootstrapping against a debian system, they had to install the mpc-dev > headers... since my hosts have those already, I didn't see it when > using my LFS dev system to build ppc64 multilib. I'm going to go > through it again and look at this. > > Sincerely, > > WIlliam Harrington > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.cross-lfs.org/pipermail/clfs-support-cross-lfs.org/attachments/20130611/aeb05119/attachment-0001.htm> > > ------------------------------ > > Message: 5 > Date: Tue, 11 Jun 2013 18:59:01 -0500 > From: William Harrington <[email protected]> > To: CLFS Support <[email protected]> > Subject: Re: [Clfs-support] Build Error for GCC-4.8.1 (chpt 6.9 ) > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii"; Format="flowed"; > DelSp="yes" > > > On Jun 11, 2013, at 5:35 PM, Martin Ward wrote: > > > Can you do this go through 6.9 as far as the sed to prevent it > > looking in the wrong directories > > I also wonder if this problem persists in 32 bit and 64 bit builds > during tools? > > Sincerely, > > William Harrington > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.cross-lfs.org/pipermail/clfs-support-cross-lfs.org/attachments/20130611/791243b0/attachment-0001.htm> > > ------------------------------ > > Message: 6 > Date: Tue, 11 Jun 2013 21:40:05 -0400 > From: Daniel King <[email protected]> > To: [email protected] > Subject: Re: [Clfs-support] Build Error for GCC-4.8.1 (chpt 6.9 ) > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > On 06/11/2013 06:35 PM, Martin Ward wrote: > > On 11/06/13 22:35, Daniel King wrote: > >> On 06/11/2013 01:44 PM, Martin Ward wrote: > >>> On 11/06/13 16:14, William Harrington wrote: > >>>> > >>>> On Jun 10, 2013, at 10:56 PM, Daniel King wrote: > >>>> > >>>>> g++ -c -g -O2 -DIN_GCC -fno-exceptions -fno-rtti > >>>>> -fasynchronous-unwind-tables -W -Wall -Wno-narrowing > >>>>> -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic > >>>>> -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings > >>>>> -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc > >>>>> -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include > >>>>> -I../../gcc-4.8.1/gcc/../libcpp/include > >>>>> -I../../gcc-4.8.1/gcc/../libdecnumber > >>>>> -I../../gcc-4.8.1/gcc/../libdecnumber/bid -I../libdecnumber > >>>>> -I../../gcc-4.8.1/gcc/../libbacktrace -DCLOOG_INT_GMP \ > >>>>> -o build/genconstants.o ../../gcc-4.8.1/gcc/genconstants.c > >>>>> In file included from > >>>>> /usr/include/x86_64-linux-gnu/sys/resource.h:25:0, > >>>>> from ../../gcc-4.8.1/gcc/system.h:395, > >>>>> from ../../gcc-4.8.1/gcc/genconstants.c:28: > >>>>> /usr/include/x86_64-linux-gnu/bits/resource.h:131:18: error: > >>>>> declaration does not declare anything [-fpermissive] > >>>> > >>>> > > Hi > > > > Can you do this go through 6.9 as far as the sed to prevent it looking > > in the wrong directories > > > > then instead of > > > > make AS_FOR_TARGET="${AS}" \ > > LD_FOR_TARGET="${LD}" > > > > can you run this command make configure-host > > > > then > > > > show the output of > > grep NATIVE_SYSTEM_HEADER_DIR gcc/Makefile > > > > and > > grep CROSS_SYSTEM_HEADER_DIR gcc/Makefile > > > > > > trying to find out why its picking up headers from the host system > > > > martin > > > > _______________________________________________ > > Clfs-support mailing list > > [email protected] > > http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org > > > I have removed everythingand started over. Here is the output of the > two grep commands. > > clfs@end-times1-ubuntu:/mnt/clfs/sources/gcc-build$ grep > NATIVE_SYSTEM_HEADER_DIR gcc/Makefile > NATIVE_SYSTEM_HEADER_DIR = /tools/include > SYSTEM_HEADER_DIR = `echo $(NATIVE_SYSTEM_HEADER_DIR) | sed -e :a -e > 's,[^/]*/\.\.\/,,' -e ta` > -DNATIVE_SYSTEM_HEADER_DIR=\"$(NATIVE_SYSTEM_HEADER_DIR)\" \ > clfs@end-times1-ubuntu:/mnt/clfs/sources/gcc-build$ grep > CROSS_SYSTEM_HEADER_DIR gcc/Makefile > CROSS_SYSTEM_HEADER_DIR = $(gcc_tooldir)/sys-include > -DCROSS_INCLUDE_DIR=\"$(CROSS_SYSTEM_HEADER_DIR)\" \ > > > Daniel > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.cross-lfs.org/pipermail/clfs-support-cross-lfs.org/attachments/20130611/3c1be610/attachment.htm> > > ------------------------------ > > _______________________________________________ > Clfs-support mailing list > [email protected] > http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org > > > End of Clfs-support Digest, Vol 66, Issue 9 > ******************************************* _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
