[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

--- Comment #13 from Jonathan Wakely  ---
Author: redi
Date: Mon Aug 13 19:15:40 2018
New Revision: 263517

URL: https://gcc.gnu.org/viewcvs?rev=263517=gcc=rev
Log:
Revert "libstdc++-v3: Have aligned_alloc() on Newlib"

This reverts commit r263462 / 61b760a78fdf9f5d87b0b626a61a3216bd1411fc
because aligned_alloc is not defined for baremetal newlib targets, see
https://gcc.gnu.org/ml/libstdc++/2018-08/msg00065.html

Revert
2018-08-10  Sebastian Huber  

PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.

Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/configure
branches/gcc-8-branch/libstdc++-v3/configure.ac

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

--- Comment #14 from Jonathan Wakely  ---
Author: redi
Date: Mon Aug 13 19:16:02 2018
New Revision: 263518

URL: https://gcc.gnu.org/viewcvs?rev=263518=gcc=rev
Log:
Revert "libstdc++-v3: Have aligned_alloc() on Newlib"

This reverts commit r263463 / b7edd52337828cc46e469bca12f58288795b78d5
because aligned_alloc is not defined for baremetal newlib targets, see
https://gcc.gnu.org/ml/libstdc++/2018-08/msg00065.html

Revert
2018-08-10  Sebastian Huber  

PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.

Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/configure
branches/gcc-7-branch/libstdc++-v3/configure.ac

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

--- Comment #12 from Jonathan Wakely  ---
Author: redi
Date: Mon Aug 13 18:54:21 2018
New Revision: 263513

URL: https://gcc.gnu.org/viewcvs?rev=263513=gcc=rev
Log:
Revert "libstdc++-v3: Have aligned_alloc() on Newlib"

This reverts commit r263461 / 2e920cd849b3cf0a72df4f172e27676a3e70b73f
because aligned_alloc is not defined for baremetal newlib targets, see
https://gcc.gnu.org/ml/libstdc++/2018-08/msg00065.html

Revert
2018-08-10  Sebastian Huber  

PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.ac

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-10 Thread sh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

--- Comment #11 from sh at gcc dot gnu.org ---
Author: sh
Date: Fri Aug 10 06:31:57 2018
New Revision: 263463

URL: https://gcc.gnu.org/viewcvs?rev=263463=gcc=rev
Log:
libstdc++-v3: Have aligned_alloc() on Newlib

While building for Newlib, some configure checks must be hard coded.
The aligned_alloc() is supported since 2015 in Newlib.

libstdc++-v3/

PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.

Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/configure
branches/gcc-7-branch/libstdc++-v3/configure.ac

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-10 Thread sh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

--- Comment #10 from sh at gcc dot gnu.org ---
Author: sh
Date: Fri Aug 10 06:29:58 2018
New Revision: 263462

URL: https://gcc.gnu.org/viewcvs?rev=263462=gcc=rev
Log:
libstdc++-v3: Have aligned_alloc() on Newlib

While building for Newlib, some configure checks must be hard coded.
The aligned_alloc() is supported since 2015 in Newlib.

libstdc++-v3/

PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.

Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/configure
branches/gcc-8-branch/libstdc++-v3/configure.ac

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-10 Thread sh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

--- Comment #9 from sh at gcc dot gnu.org ---
Author: sh
Date: Fri Aug 10 06:27:35 2018
New Revision: 263461

URL: https://gcc.gnu.org/viewcvs?rev=263461=gcc=rev
Log:
libstdc++-v3: Have aligned_alloc() on Newlib

While building for Newlib, some configure checks must be hard coded.
The aligned_alloc() is supported since 2015 in Newlib.

libstdc++-v3/

PR target/85904
* configure.ac: Define HAVE_ALIGNED_ALLOC if building for
Newlib.
* configure: Regenerate.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.ac

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-08-08 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

Sebastian Huber  changed:

   What|Removed |Added

 CC||sebastian.huber@embedded-br
   ||ains.de

--- Comment #8 from Sebastian Huber  ---
This bug affects also all Newlib targets.  However, the configure checks in
GLIBCXX_CROSSCONFIG do not work here, due to this Newlib speciality in
libstdc++-v3/configure.ac:

  # First, test for "known" system libraries.  We may be using newlib even
  # on a hosted environment.
  if test "x${with_newlib}" = "xyes"; then

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-07-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

Jonathan Wakely  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Jonathan Wakely  ---
Fixed for 7.4 and 8.2

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-07-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

--- Comment #6 from Jonathan Wakely  ---
Author: redi
Date: Wed Jul  4 13:59:17 2018
New Revision: 262406

URL: https://gcc.gnu.org/viewcvs?rev=262406=gcc=rev
Log:
PR target/85904 check for aligned_alloc on netbsd cross-compilation

Backport from mainline
2018-05-24  Maya Rashish  

PR target/85904
* crossconfig.m4: Test for aligned_alloc on netbsd.
* configure: Regenerate.

Modified:
branches/gcc-7-branch/libstdc++-v3/ChangeLog
branches/gcc-7-branch/libstdc++-v3/configure
branches/gcc-7-branch/libstdc++-v3/crossconfig.m4

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-07-04 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

--- Comment #5 from Jonathan Wakely  ---
Author: redi
Date: Wed Jul  4 11:45:51 2018
New Revision: 262390

URL: https://gcc.gnu.org/viewcvs?rev=262390=gcc=rev
Log:
PR target/85904 check for aligned_alloc on netbsd cross-compilation

Backport from mainline
2018-05-24  Maya Rashish  

PR target/85904
* crossconfig.m4: Test for aligned_alloc on netbsd.
* configure: Regenerate.

Modified:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/configure
branches/gcc-8-branch/libstdc++-v3/crossconfig.m4

[Bug target/85904] [7/8 Regression] configure issue cross compiling on netbsd, with patch

2018-05-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85904

Richard Biener  changed:

   What|Removed |Added

   Keywords||build
   Priority|P3  |P2
   Target Milestone|--- |7.4
Summary|[7/8/9 Regression]  |[7/8 Regression] configure
   |configure issue cross   |issue cross compiling on
   |compiling on netbsd, with   |netbsd, with patch
   |patch   |