[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-07 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 --- Comment #10 from Oleg Endo olegendo at gcc dot gnu.org --- Sorry for the trouble, but Joseph has a point here ... http://gcc.gnu.org/ml/gcc-patches/2014-05/msg00414.html Could you guys please try moving the problematic header includes in sh.c

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-05 Thread jbg...@lug-owl.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 --- Comment #7 from Jan-Benedict Glaw jbg...@lug-owl.de --- I'm not 100% sure, but I guess this fix breaks building GCC on gcc111.fsffrance.org . All build details can be found here:

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-05 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 --- Comment #8 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to Jan-Benedict Glaw from comment #7) I'm not 100% sure, but I guess this fix breaks building GCC on gcc111.fsffrance.org . All build details can be found here:

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-05 Thread jbg...@lug-owl.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 --- Comment #9 from Jan-Benedict Glaw jbg...@lug-owl.de --- Could you please try to add an #include unistd.h before the C++ includes and see if it resolves some of the errors/changes anything? It's probably not going to be the final fix

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added Target||sh*-*-*

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 --- Comment #3 from Oleg Endo olegendo at gcc dot gnu.org --- Author: olegendo Date: Sat May 3 07:51:02 2014 New Revision: 210028 URL: http://gcc.gnu.org/viewcvs?rev=210028root=gccview=rev Log: PR target/61026 * config/sh/sh.c: Include

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 --- Comment #4 from Oleg Endo olegendo at gcc dot gnu.org --- Author: olegendo Date: Sat May 3 08:17:43 2014 New Revision: 210029 URL: http://gcc.gnu.org/viewcvs?rev=210029root=gccview=rev Log: Back port from mainline PR target/61026

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 --- Comment #5 from Oleg Endo olegendo at gcc dot gnu.org --- Author: olegendo Date: Sat May 3 08:21:24 2014 New Revision: 210030 URL: http://gcc.gnu.org/viewcvs?rev=210030root=gccview=rev Log: Back port from mainline PR target/61026

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-03 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-01 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org --- I think the C++ headers (sstream, vector and algorithm) need to be included before the GCC headers that poison malloc. The actual culprit is sstream but there's no guarantee the

[Bug target/61026] sh-rtems4.11 build of 4.9.0 fails on FreeBSD 10 c++ (clang).

2014-05-01 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61026 Joel Sherrill joel at gcc dot gnu.org changed: What|Removed |Added CC||joel at gcc dot