[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-11 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 Jonathan Wakely changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|

[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-10 Thread scott at smedleyfamily dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 --- Comment #9 from scott at smedleyfamily dot net 2012-04-11 01:36:13 UTC --- Thanks for the explanation. Makes sense.

[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-10 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 --- Comment #8 from Jonathan Wakely 2012-04-11 00:49:39 UTC --- (In reply to comment #7) > I realise this is off-topic but I would love to know: what is causing this > limitation? GCC's "fixincludes" mechanism, which installs modified versions o

[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-10 Thread scott at smedleyfamily dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 --- Comment #7 from scott at smedleyfamily dot net 2012-04-10 23:19:58 UTC --- Thanks Jonathan, > No, in general you can't use GCC built for one target on a different target. I realise this is off-topic but I would love to know: what is causing t

[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-10 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 --- Comment #6 from Jonathan Wakely 2012-04-10 09:11:03 UTC --- No, in general you can't use GCC built for one target on a different target. What I do is just build the same version of GCC with the exact same configuration on each OS I need to t

[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-10 Thread scott at smedleyfamily dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 --- Comment #5 from scott at smedleyfamily dot net 2012-04-10 08:13:44 UTC --- H, you are right. I was compiling gcc with a version of gcc built on Centos 5.6. (though I compiled Andrew's test program with a different "native" version) I would

[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-10 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 --- Comment #4 from Jonathan Wakely 2012-04-10 07:52:39 UTC --- This implies the /usr/local/bin/gcc compiler you're using was not built on SL6.1, or was built against an older glibc I've had exactly this error when trying to use a compiler built

[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-10 Thread scott at smedleyfamily dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 --- Comment #3 from scott at smedleyfamily dot net 2012-04-10 07:45:58 UTC --- Hi Andrew, Works fine - see below. Let me know if there's anything I can do to help. Scott. :) lcas-el6build1>> cat >! test.cc #include "string.h" #include "stdio.h

[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug c++/52922] failed to build gcc 4.7 on SL6.1

2012-04-09 Thread scott at smedleyfamily dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52922 --- Comment #1 from scott at smedleyfamily dot net 2012-04-10 05:41:18 UTC --- Created attachment 27122 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27122 config.log