[Bug libgcc/62097] t-hardfp requires GNU sed

2016-11-28 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62097 Chris Johns changed: What|Removed |Added CC||chrisj at rtems dot org --- Comment #10

[Bug libstdc++/78677] __gthread_key_create assumed not to fail in eh_globals.cc

2016-12-05 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78677 --- Comment #2 from Chris Johns --- (In reply to Jonathan Wakely from comment #1) > (In reply to Chris Johns from comment #0) > > Some operating system, for example RTEMS, may fail to create a POSIX key if > > not configured with enough

[Bug libstdc++/78677] New: __gthread_key_create assumed not to fail in eh_globals.cc

2016-12-04 Thread chrisj at rtems dot org
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: chrisj at rtems dot org Target Milestone: --- Some operating system, for example RTEMS, may fail to create a POSIX key if not configured with enough resources. The lack of any error

[Bug demangler/81835] New: cxxabi.h has invalid link in comment.

2017-08-14 Thread chrisj at rtems dot org
Assignee: unassigned at gcc dot gnu.org Reporter: chrisj at rtems dot org Target Milestone: --- Tiny issue. Looking over cxxabi.h I noticed a link in a comment about __cxa_demangle is not valid anymore: * See http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch39

[Bug libstdc++/81835] cxxabi.h has invalid link in comment.

2017-08-18 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81835 --- Comment #3 from Chris Johns --- (In reply to Jonathan Wakely from comment #2) > (In reply to Chris Johns from comment #0) > > Tiny issue. > > > > Looking over cxxabi.h I noticed a link in a comment about __cxa_demangle is > > not valid

[Bug libgcc/66032] RTEMS MIPS build fails on FreeBSD

2017-05-17 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66032 --- Comment #5 from Chris Johns --- I have decided to revisit this bug and see what the issue is. I cannot see how to reopen the issue? Using GNU sed on FreeBSD is not straight forward. It requires either building by hand to a custom prefix

[Bug libgcc/66032] RTEMS MIPS build fails on FreeBSD

2017-05-17 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66032 --- Comment #6 from Chris Johns --- Created attachment 41380 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41380=edit Use awk to create compile args as sed is not working on FreeBSD

[Bug other/80923] New: RTEMS SH ICE building gcc-7.1.0 on FreeBSD 11.0

2017-05-30 Thread chrisj at rtems dot org
: other Assignee: unassigned at gcc dot gnu.org Reporter: chrisj at rtems dot org Target Milestone: --- FreeBSD version is 11.0-RELEASE-p9. Configure line is: ../gcc-7.1.0/configure --prefix=/build/rtems/tools/4.12-7.1 --bindir=/build/rtems/tools/4.12-7.1/bin --exec_prefix

[Bug target/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-08 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 Chris Johns changed: What|Removed |Added CC||chrisj at rtems dot org --- Comment #17

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-08 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #19 from Chris Johns --- (In reply to Francois-Xavier Coudert from comment #18) > Adding ".NOTPARALLEL: install-headers" to the libstdc++ Makefile fixes it > perfectly, from what we can see on our apple-darwin test machines. We've

[Bug target/82530] New: RTEMS 4.12 SH build failure on FreeBSD 11.1 (clang) with an error in sh_optimize_sett_clrt.cc

2017-10-12 Thread chrisj at rtems dot org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: chrisj at rtems dot org Target Milestone: --- Building on FreeBSD with results in the following error: In file included from ../../gcc-7.2.0/gcc/config

[Bug libgcc/66032] RTEMS MIPS build fails on FreeBSD

2017-09-09 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66032 --- Comment #10 from Chris Johns --- (In reply to Joel Sherrill from comment #9) > Yes. I believe it is the same bug. Use of GNU sed specifics on a system > without GNU sed. > > I don't know if that changes the resolution. For this bug that is

[Bug libgcc/66032] RTEMS MIPS build fails on FreeBSD

2017-09-09 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66032 --- Comment #7 from Chris Johns --- Is this bug the same as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62097 As that bug states this issue is present on darwin and the patch I posted fixes the issues on that host.

[Bug libgcc/62097] t-hardfp requires GNU sed

2017-09-09 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62097 --- Comment #11 from Chris Johns --- Bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66032 has a patch using awk that lets the build complete without an error. The problem is still present on FreeBSD and darwin.

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-11 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #20 from Chris Johns --- I have been testing the patch attached to RTEMS ticket https://devel.rtems.org/ticket/3171 and it has built gcc once for ARM and then it did not build for SPARC plus SPARC build can fail on different header

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-18 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #27 from Chris Johns --- (In reply to Jack Howarth from comment #25) > (In reply to Chris Johns from comment #24) > Doesn't cross-compiles set GLIBCXX_HOSTED_FALSE such that install-data-local > is set to install-freestanding-headers

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-18 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #24 from Chris Johns --- I would welcome a patch attached to this ticket. My efforts with .NOTPARALLEL cannot get RTEMS's cross-compiled tools to build. I have seen a build work however most fail with a range of headers that can

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-25 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #38 from Chris Johns --- (In reply to Jonathan Wakely from comment #36) > Also, this strongly suggests the problem for RTEMS is different: > > (In reply to Chris Johns from comment #24) > > I would welcome a patch attached to this

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-26 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #44 from Chris Johns --- (In reply to Jonathan Wakely from comment #42) > I think something else is going on here, and not a race condition in the > makefile. I agree. I see the failure after a few files have been built. > > This

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2017-10-27 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #45 from Chris Johns --- This simple hack as a test works for me with `-j 8` on an i7 without .NOTPARALLEL: --- gcc-7.2.0/libstdc++-v3/include/Makefile.am.orig 2017-10-27 15:30:16.0 +1100 +++

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2018-02-04 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #50 from Chris Johns --- I raised an Apple bug report last December, the number is 36163995. Nothing useful has happened. I will ping the bug and ask what is happening.

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2018-09-26 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #65 from Chris Johns --- I am still seeing this issue with the patch https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00933.html applied to gcc-7.3.0 (RTEMS 5 [master]) tool builds. This is on Mojave and an fully updated Xcode. The ARM

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2018-09-27 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #67 from Chris Johns --- (In reply to Jonathan Wakely from comment #66) > Yes, I was afraid the RTEMS failures might be a different problem. > > Are the symptoms the same? i.e. missing C++ standard library headers? > Yes it seems

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2018-09-27 Thread chrisj at rtems dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #69 from Chris Johns --- (In reply to Jonathan Wakely from comment #68) > (In reply to Chris Johns from comment #67) > > (In reply to Jonathan Wakely from comment #66) > > > Yes, I was afraid the RTEMS failures might be a different

[Bug libstdc++/105880] eh_globals_init destructor not setting _M_init to false

2022-06-08 Thread chrisj at rtems dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880 --- Comment #10 from Chris Johns --- (In reply to Jonathan Wakely from comment #9) > Created attachment 53103 [details] > Fix lifetime bugs for non-TLS eh_globals > > Does this work? That is a great way to solve this problem given the

[Bug libstdc++/105880] eh_globals_init destructor not setting _M_init to false

2022-06-08 Thread chrisj at rtems dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880 --- Comment #4 from Chris Johns --- (In reply to Andrew Pinski from comment #3) > Sounds like the order of deconstructors is wrong. > Where is __cxxabiv1::__cxa_get_globals being called from that is the problem? The

[Bug libstdc++/105880] eh_globals_init destructor not setting _M_init to false

2022-06-08 Thread chrisj at rtems dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105880 --- Comment #6 from Chris Johns --- (In reply to Andrew Pinski from comment #5) > There has to be an ordering issue of the calling of the deconstructors vs > the ordering of the constructors. > > Maybe the problem is the `eh_gloabls init`

[Bug libstdc++/105880] New: eh_globals_init destructor not setting _M_init to false

2022-06-07 Thread chrisj at rtems dot org via Gcc-bugs
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: chrisj at rtems dot org Target Milestone: --- RTEMS 6 with GCC 12 (gcc version 12.1.1 20220509 (RTEMS 6, RSB e73a258a3aa4af8735b589a2d770571b2105ac5f, Newlib 64b2081) (GCC)) is calling

[Bug libgcc/109282] Libgcc references sh and not $(SHELL) in Makefile.in

2023-03-25 Thread chrisj at rtems dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109282 --- Comment #2 from Chris Johns --- (In reply to Andrew Pinski from comment #1) > move-if-change should work just fine with a normal POSIX shell ... It does. Maybe it was not found? > What is the error message with /bin/sh still there? The

[Bug libgcc/109282] New: Libgcc references sh and not $(SHELL) in Makefile.in

2023-03-25 Thread chrisj at rtems dot org via Gcc-bugs
Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: chrisj at rtems dot org Target Milestone: --- Created attachment 54753 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54753=edit Change sh to $(SHELL) The libgcc Makefile.in has `sh` and not `$(SH

[Bug libgcc/109282] Libgcc references sh and not $(SHELL) in Makefile.in

2023-03-29 Thread chrisj at rtems dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109282 --- Comment #5 from Chris Johns --- (In reply to Andrew Pinski from comment #4) > My bet if you do /bin/sh you would also get into trouble too ... I do not think it is /bin/sh but you are right with the link bring MacOS blocking an exe that