[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-16 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #72 from Jürgen Reuter --- (In reply to Iain Sandoe from comment #71) > (In reply to Iain Sandoe from comment #70) > > (In reply to Jürgen Reuter from comment #69) > > > (In reply to Iain Sandoe from comment #68) > > > Does this mean

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-16 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #71 from Iain Sandoe --- (In reply to Iain Sandoe from comment #70) > (In reply to Jürgen Reuter from comment #69) > > (In reply to Iain Sandoe from comment #68) > Does this mean, "when building LLVM on OSX 10.14.2 using GCC as the >

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-16 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #70 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #69) > (In reply to Iain Sandoe from comment #68) > > Created attachment 46176 [details] > > revised fixincludes patch. > > > > The patch attached include the generated

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-16 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #69 from Jürgen Reuter --- (In reply to Iain Sandoe from comment #68) > Created attachment 46176 [details] > revised fixincludes patch. > > The patch attached include the generated files, and I'd be grateful if folks > would test it

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-15 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 Iain Sandoe changed: What|Removed |Added Attachment #46110|0 |1 is obsolete|

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-12 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #67 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #66) > (In reply to Iain Sandoe from comment #62) > > (In reply to Iain Sandoe from comment #61) > > > (In reply to Jonathan Wakely from comment #60) > > > > PR 81797 wa

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #66 from Jakub Jelinek --- (In reply to Iain Sandoe from comment #62) > (In reply to Iain Sandoe from comment #61) > > (In reply to Jonathan Wakely from comment #60) > > > PR 81797 was the relevant bug, which apparently is still prese

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-11 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #65 from Jürgen Reuter --- (In reply to Jakub Jelinek from comment #64) > Why is this a [9 Regression] BTW? If the failure is while compiling > darwin-driver.c and caused by system headers using _Atomic even in C++, when > gcc/config

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #64

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #63 from Jürgen Reuter --- I confirm that the fix in comment #48 works also with MACOSX 10.14.4, XCode 10.2 on gcc trunk, as of r270245.

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #62 from Iain Sandoe --- (In reply to Iain Sandoe from comment #61) > (In reply to Jonathan Wakely from comment #60) > > PR 81797 was the relevant bug, which apparently is still present for darwin > > when using the buggy new APFS fil

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #61 from Iain Sandoe --- (In reply to Jonathan Wakely from comment #60) > PR 81797 was the relevant bug, which apparently is still present for darwin > when using the buggy new APFS filesystem so, from discussion on IRC, and notes ab

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #60 from Jonathan Wakely --- PR 81797 was the relevant bug, which apparently is still present for darwin when using the buggy new APFS filesystem.

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #59 from Jürgen Reuter --- Yes, to me this looks also like an independent problem, and it appears to me like a sort of race condition. I also just restarted the bootstrap (without a parallel make). Now I have to do some theoretical ph

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #58 from Dominique d'Humieres --- > No such file or directory >31 | #include > | ^~~~ > compilation terminated. I think this is an older issue (on SSD?) for which there is already a filed PR. When I hit t

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #57 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #56) > I tried the fix, but now I get another error: > /libstdc++-v3/../libgcc > -I/usr/local/packages/gcc_9.0_fixincl/_build/x86_64-apple-darwin18.5.0/i386/ > libstdc++

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #56 from Jürgen Reuter --- I tried the fix, but now I get another error: /libstdc++-v3/../libgcc -I/usr/local/packages/gcc_9.0_fixincl/_build/x86_64-apple-darwin18.5.0/i386/libstdc++-v3/include/x86_64-apple-darwin18.5.0 -I/usr/local/p

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #55 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #54) > Ok, after running genfixes there are still only two modified files in the > whole tree of code, namely fixincludes/inclhack.def and > fixincludes/fixincl.x. > Is

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #54 from Jürgen Reuter --- Ok, after running genfixes there are still only two modified files in the whole tree of code, namely fixincludes/inclhack.def and fixincludes/fixincl.x. Is that as intended?

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-10 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #53 from Jürgen Reuter --- (In reply to Erik Schnetter from comment #46) > The patch does not include the generated files. You need to run "genfixes" > in the "fixincludes" directory after applying the patch. This I don't understand:

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread fink at snaggledworks dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 fink at snaggledworks dot com changed: What|Removed |Added CC||fink at snaggledworks dot

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #51 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #50) > (In reply to Jakub Jelinek from comment #48) > > Perhaps that redefinition of _Atomic should be guarded with > > #if (__STDC_VERSION__ < 201112L) || defined(__cpl

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #50 from Jürgen Reuter --- (In reply to Jakub Jelinek from comment #48) > Perhaps that redefinition of _Atomic should be guarded with > #if (__STDC_VERSION__ < 201112L) || defined(__cplusplus) > or so, so that for C -std=c11 you still

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #49 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #48) > Perhaps that redefinition of _Atomic should be guarded with > #if (__STDC_VERSION__ < 201112L) || defined(__cplusplus) > or so, so that for C -std=c11 you still g

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #48 from Jakub Jelinek --- Perhaps that redefinition of _Atomic should be guarded with #if (__STDC_VERSION__ < 201112L) || defined(__cplusplus) or so, so that for C -std=c11 you still get _Atomic?

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #47 from Iain Sandoe --- (In reply to Erik Schnetter from comment #46) > The patch does not include the generated files. You need to run "genfixes" > in the "fixincludes" directory after applying the patch. the one I put above has th

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #46 from Erik Schnetter --- The patch does not include the generated files. You need to run "genfixes" in the "fixincludes" directory after applying the patch.

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #45 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #44) > (In reply to Iain Sandoe from comment #43) > > Created attachment 46110 [details] > > Proof-of-principle path > > > > Does this work for you? > > - my local tes

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #44 from Jürgen Reuter --- (In reply to Iain Sandoe from comment #43) > Created attachment 46110 [details] > Proof-of-principle path > > Does this work for you? > - my local testing says it generates the right wrapped include file.

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #43 from Iain Sandoe --- Created attachment 46110 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46110&action=edit Proof-of-principle path Does this work for you? - my local testing says it generates the right wrapped include

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-09 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #42 from Jürgen Reuter --- I filed an APPLE bug report: https://bugreport.apple.com/web/?problemID=49727047

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #41 from Iain Sandoe --- inconclusive so far, it's agreed that _Atomic is not a C++ keyword, but not clear what is best solution to the SDK use. If you filed a radar, please copy the number here (no-one else can see it, but at least

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-08 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #40 from Jürgen Reuter --- Are there any news on this?

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #39 from Iain Sandoe --- (In reply to Erik Schnetter from comment #38) > (In reply to Iain Sandoe from comment #36) > > (In reply to Jürgen Reuter from comment #35) > > > The latest fix doesn't work. It fails at the darwin-driver.c. S

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #38 from Erik Schnetter --- (In reply to Iain Sandoe from comment #36) > (In reply to Jürgen Reuter from comment #35) > > The latest fix doesn't work. It fails at the darwin-driver.c. So yes, all > > the files mentioned before have to

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #37 from Erik Schnetter --- (In reply to Jürgen Reuter from comment #35) > The latest fix doesn't work. It fails at the darwin-driver.c. So yes, all > the files mentioned before have to be modified, asan_mac.cc, > sanitizer_mac.cc, >

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #36 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #35) > The latest fix doesn't work. It fails at the darwin-driver.c. So yes, all > the files mentioned before have to be modified, asan_mac.cc, > sanitizer_mac.cc, > san

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #35 from Jürgen Reuter --- The latest fix doesn't work. It fails at the darwin-driver.c. So yes, all the files mentioned before have to be modified, asan_mac.cc, sanitizer_mac.cc, sanitizer_platform_limits_posix.cc, darwin-driver.c

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #34 from Erik Schnetter --- Here is an updated version of the patch that fixincludes both and , and does not need to touch any sources files in GCC any more: Index: fixincludes/inclhack.def =

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #33 from Erik Schnetter --- Here is an updated version of the patch that fixincludes both and , and does not need to touch any sources files in GCC any more: Index: fixincludes/inclhack.def =

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #32 from Jürgen Reuter --- (In reply to Erik Schnetter from comment #31) > Here is an updated version of the patch that fixincludes both > and , and does not need to touch any sources > files in GCC any more: > What about the chan

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #31 from Erik Schnetter --- Here is an updated version of the patch that fixincludes both and , and does not need to touch any sources files in GCC any more: Index: fixincludes/inclhack.def ==

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #30 from Jürgen Reuter --- In addition to Erik's changes I have to do as well: --- asan_mac.cc 2019-04-04 15:02:48.0 +0200 +++ asan_mac.cc.orig2019-04-04 16:44:32.0 +0200 @@ -32,13 +32,7 @@ #include // for free(

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #29 from Erik Schnetter --- On Thu, Apr 4, 2019 at 8:11 AM iains at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 > > --- Comment #26 from Iain Sandoe --- > (In reply to Eri

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #28 from Erik Schnetter --- On Thu, Apr 4, 2019 at 8:11 AM iains at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 > > --- Comment #26 from Iain Sandoe --- > (In reply to Eri

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #27 from Jürgen Reuter --- In order to proceed bootstrapping I had also to fix libsanitize/sanitizer_common/sanitizer_platform_limits_posix.cc and libsanitize/asan/asan_mac.cc by correspondingly wrapping include statements.

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #26 from Iain Sandoe --- (In reply to Erik Schnetter from comment #25) > > On Thu, Apr 4, 2019 at 5:43 AM iains at gcc dot gnu.org < > > gcc-bugzi...@gcc.gnu.org> wrote: > > _Atomic is used only in a single struct, which is marked "t

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #25 from Erik Schnetter --- > On Thu, Apr 4, 2019 at 5:43 AM iains at gcc dot gnu.org < > gcc-bugzi...@gcc.gnu.org> wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 > > > > --- Comment #22 from Iain Sandoe --- > > (In

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #24 from Erik Schnetter --- On Thu, Apr 4, 2019 at 5:43 AM iains at gcc dot gnu.org < gcc-bugzi...@gcc.gnu.org> wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 > > --- Comment #22 from Iain Sandoe --- > (In reply to Erik

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #23 from Jürgen Reuter --- This patch still doesn't work for me: libtool: compile: /usr/local/packages/gcc_9.0/_build/./gcc/xgcc -shared-libgcc -B/usr/local/packages/gcc_9.0/_build/./gcc -nostdinc++ -L/usr/local/packages/gcc_9.0/_bui

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #22 from Iain Sandoe --- (In reply to Erik Schnetter from comment #21) > https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00162.html Additional to the comments on list. Perhaps this is just unfixable :( I suspect that Apple will want

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-03 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #21 from Erik Schnetter --- https://gcc.gnu.org/ml/gcc-patches/2019-04/msg00162.html

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-03 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #20 from Erik Schnetter --- I have a patch that works for 8.3.0. It doesn't work for 9.0.0 (i.e. an svn checkout); I'm working on this.

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-02 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #19 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #18) > Do you think it would be possible to get this fix before the 9.1 release > (see the announcement by Richard B. yesterday/today)? If someone can propose and test

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-04-02 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #18 from Jürgen Reuter --- Do you think it would be possible to get this fix before the 9.1 release (see the announcement by Richard B. yesterday/today)?

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #17 from Jürgen Reuter --- (In reply to Erik Schnetter from comment #16) > The proper way to fix this via fixinclude is to replace declarations such as > > _Atomic u_long > > with > > _Atomic(u_long) > > which is still legal in C.

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #16 from Erik Schnetter --- The proper way to fix this via fixinclude is to replace declarations such as _Atomic u_long with _Atomic(u_long) which is still legal in C. In C++, one can then add #include #ifndef _Atomic #define _A

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #15 from Jürgen Reuter --- Sorry for the spam, now I got it, there was something old (i.e. new) lingering around still. Now, back to XCode 10.1 and command line tools from October 2018 with a different include/sys. Started compilation

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #14 from Jürgen Reuter --- Unfortunately, the downgrade to XCode 10.1 didn't work, I still get the buggy/problematic headers. That is really annoying, because now I am stuck with my development.

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #13 from Jürgen Reuter --- I see. For the moment, I will be downgrading to XCode 10.1 with its command line tools, but I really hope that either you or them will be able to fix it. If you were following the progress from Apple, maybe

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #12 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #11) > (In reply to Iain Sandoe from comment #10) > > > In the short-term, I'd suggest picking up the previous version of Xcode > > command line tools [e.g.10.1] (from

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #11 from Jürgen Reuter --- (In reply to Iain Sandoe from comment #10) > In the short-term, I'd suggest picking up the previous version of Xcode > command line tools [e.g.10.1] (from developer.apple.com) and using the SDK > from that?

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #10 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #9) > Trying to continue that fix I get loads and loads of other error in the > libsanitizer :( I'm not sure that there's a valid "fix includes" replacement for _Atomic

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #9 from Jürgen Reuter --- Trying to continue that fix I get loads and loads of other error in the libsanitizer :(

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-29 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #8 from Jürgen Reuter --- Hi Erik, your patch works beyond the point where the problem occurs first, but then the sanitizer still fails bootstrapping: In file included from /usr/include/sys/sysctl.h:83, from ../../../

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-28 Thread schnetter at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #7 from Erik Schnetter --- I tried adding a fixinclude that #defines _Atomic to volatile if the system header is included from C++, and this resolved the issue for me. A possible implementation is described here

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-28 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 Andrew Pinski changed: What|Removed |Added CC||schnetter at gmail dot com --- Comment #

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-28 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #5 from Jürgen Reuter --- My hunch is that it takes Apple too long to fix that issue, so a fix inside gcc would be very much appreciated.

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-28 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #4 from Jürgen Reuter --- Created attachment 46043 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46043&action=edit Darwin header file ucred.h As this seems to be of interest, I posted the Darwin XCode 10.2 header file ucred.h

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-28 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 --- Comment #3 from Iain Sandoe --- (In reply to Iain Sandoe from comment #2) > This has already been reported to Apple by Daniel Vollmer [noted in PR68771] (of course, it will do no harm to have multiple radars filed, so go at it!)

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-28 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 Richard Biener changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #1

[Bug bootstrap/89864] [9 regression] gcc fails to build/bootstrap with XCode 10.2

2019-03-28 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89864 Richard Biener changed: What|Removed |Added Keywords||build Host|Darwin Kernel