[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-05 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread samsonluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #2 from Samson Luk 2010-10-06 15:57:13 UTC --- > I know very little about cross-compilation, but something seems badly wrong > with the setup you are using: the 4.5.1 C++ front-end definitely implements > the > __is_trivial "builtin

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #3 from Jonathan Wakely 2010-10-06 16:14:16 UTC --- (In reply to comment #0) > make[4]: Entering directory > `/home/samson/src/gccB451/arm-none-linux-gnueabi/libstdc++-v3/src' > /bin/sh ../libtool --tag CXX --mode=compile arm-none-l

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #4 from Paolo Carlini 2010-10-06 16:50:34 UTC --- Just to expand a little bit on what Jon said: you are getting an error on __is_trivial, which is a C++ front-end "builtin" available in 4.5.x and not available in 4.4.x. Thus, the only

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread samsonluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #5 from Samson Luk 2010-10-06 17:56:57 UTC --- (In reply to comment #4) Now I understand... seems to me a chicken and egg problem... I am already using the latest Cross Toolchain and it only came with gcc/c++ 4.4.1. It seems that gcc

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #6 from Paolo Carlini 2010-10-06 17:58:26 UTC --- Only 4.5.x can build the 4.5.x C++ runtime library.

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #7 from Jonathan Wakely 2010-10-06 18:33:01 UTC --- (In reply to comment #5) > It seems that > gcc 4.5.x was build successfully, do you mean I have to make use of the new > build gcc to build the c++ 4.5.x? That should happen automat

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #8 from joseph at codesourcery dot com 2010-10-06 18:53:27 UTC --- On Wed, 6 Oct 2010, samsonluk at gmail dot com wrote: > Now I understand... seems to me a chicken and egg problem... I am already > using > the latest Cross Toolchain

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|paolo.carlini

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread samsonluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #10 from Samson Luk 2010-10-07 01:12:03 UTC --- (In reply to comment #7) > (In reply to comment #5) > What configure command did you use to configure 4.5.1? (You only showed the > command used to configure 4.4.1) Jon, they are the s

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-06 Thread samsonluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #11 from Samson Luk 2010-10-07 01:47:23 UTC --- (In reply to comment #8) > In order to do a Canadian cross build - one where build != host (such as > your build with build = i686-pc-linux-gnu, host = arm-none-linux-gnueabi, > targe

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-07 Thread samsonluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #12 from Samson Luk 2010-10-07 09:49:46 UTC --- (In reply to comment #8) > in your case, build = host = i686-pc-linux-gnu, target = > arm-none-linux-gnueabi). I just tried, such a build always break at the following location, am I

[Bug libstdc++/45906] Cross build gcc 4.5.1 failed but same options success on 4.4.1

2010-10-07 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45906 --- Comment #13 from Paolo Carlini 2010-10-07 10:06:29 UTC --- I would suggest not adding more to the audit trail here: the PR, which turned out to be invalid, is about a completely different issue having to to with libstdc++. Maybe the gcc-help