[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2018-12-15 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #7 from Iain Sandoe --- (In reply to Eric Gallager from comment #6) > (In reply to Eric Gallager from comment #5) > > (In reply to René J.V. Bertin from comment #4) > > > Any news on this front? > > > > Last I heard from Iain he was

[Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13

2018-12-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84257 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #5

[Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13

2018-12-19 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84257 --- Comment #6 from Iain Sandoe --- (In reply to Iain Sandoe from comment #5) > 1) Speculation: that there are a lot of paths to search and they might > contain many files, so that if there's no caching of the results (perhaps > that was present

[Bug bootstrap/87030] GCC fails to build with Xcode 10, attempting an impossible multilib build

2018-12-21 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87030 --- Comment #15 from Iain Sandoe --- FWIW I had a quick look the other day if there was an easy fix to this PR, and didn't find a '5 minute' one. (In reply to Eric Gallager from comment #14) > (In reply to Iain Sandoe from comment #13) > > (In r

[Bug libstdc++/64883] FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10

2018-12-22 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64883 --- Comment #59 from Iain Sandoe --- Author: iains Date: Sat Dec 22 17:50:45 2018 New Revision: 267352 URL: https://gcc.gnu.org/viewcvs?rev=267352&root=gcc&view=rev Log: Backport fix for PR libstdc++/64883. Backport from mainline

[Bug testsuite/80661] make check-gcc RUNTESTFLAGS="dg.exp=g*" runs all the tests in gcc.dg

2018-12-23 Thread iains at gcc dot gnu.org
*, ||x86_64-linux-gnu Status|UNCONFIRMED |NEW Last reconfirmed||2018-12-23 CC||iains at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1

[Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin*

2018-12-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78444 --- Comment #17 from Iain Sandoe --- Author: iains Date: Sun Dec 23 20:34:13 2018 New Revision: 267384 URL: https://gcc.gnu.org/viewcvs?rev=267384&root=gcc&view=rev Log: backport r266853 to fix PR target/78444. 2018-12-23 Iain Sandoe

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-12-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #20 from Iain Sandoe --- Author: iains Date: Sun Dec 23 20:55:39 2018 New Revision: 267386 URL: https://gcc.gnu.org/viewcvs?rev=267386&root=gcc&view=rev Log: darwin, fix c++/87380 by backproting r266866. This was [intentionally] bro

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2018-12-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 --- Comment #8 from Iain Sandoe --- Author: iains Date: Sun Dec 23 21:17:46 2018 New Revision: 267387 URL: https://gcc.gnu.org/viewcvs?rev=267387&root=gcc&view=rev Log: fix PR target/88343 by backporting r267049 The PR is about unnecessary save

[Bug testsuite/82920] cet test failures on darwin

2018-12-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82920 --- Comment #3 from Iain Sandoe --- I believe that the target-supports test needs the -fcf-protection flag to ensure that code generated is appropriate (the endbr* insns are not accepted yet by the Xcode assembler, although they will be at some p

[Bug testsuite/82920] cet test failures on darwin

2018-12-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82920 --- Comment #4 from Iain Sandoe --- It might be better to move all the CET tests into a separate directory with a .exp file that tests for compile-time (and runtime) support, so that as hardware becomes available - and assembler support, things j

[Bug testsuite/67974] Missing gcc/testsuite/gcc.target/x86_64/abi/avx/asm-support-darwin.s file

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67974 --- Comment #1 from Iain Sandoe --- Author: iains Date: Mon Dec 24 09:02:03 2018 New Revision: 267395 URL: https://gcc.gnu.org/viewcvs?rev=267395&root=gcc&view=rev Log: Fix PR67974 for Darwin by adding an asm shim for AVX. The PR is about a set

[Bug testsuite/67974] Missing gcc/testsuite/gcc.target/x86_64/abi/avx/asm-support-darwin.s file

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67974 --- Comment #2 from Iain Sandoe --- Author: iains Date: Mon Dec 24 09:16:25 2018 New Revision: 267396 URL: https://gcc.gnu.org/viewcvs?rev=267396&root=gcc&view=rev Log: Fix PR67974 for Darwin by adding an asm shim for AVX. The PR is about a set

[Bug bootstrap/88590] New: System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.

2018-12-24 Thread iains at gcc dot gnu.org
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: iains at gcc dot gnu.org Target Milestone: --- Synopsis: macOS from 10.11 (darwin15) has a new measure of default system protection, where there is no "root"

[Bug bootstrap/88590] System Integrity Protection (SIP) breaks GCC build assumptions on Darwin.

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88590 Iain Sandoe changed: What|Removed |Added Keywords||build Status|UNCONFIRMED

[Bug target/81685] [7/8 Regression] FAIL: g++.dg/debug/dwarf2/inline-ns-2.C -std=gnu++* (internal compiler error) on darwin

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81685 --- Comment #10 from Iain Sandoe --- Author: iains Date: Mon Dec 24 12:20:18 2018 New Revision: 267401 URL: https://gcc.gnu.org/viewcvs?rev=267401&root=gcc&view=rev Log: fix Darwin target/81685 2018-12-24 Iain Sandoe Backport from m

[Bug target/81685] [7/8 Regression] FAIL: g++.dg/debug/dwarf2/inline-ns-2.C -std=gnu++* (internal compiler error) on darwin

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81685 Iain Sandoe changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/70694] 50 experimental/filesystem/* failures on x86_64-apple-darwin10

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70694 --- Comment #12 from Iain Sandoe --- Author: iains Date: Mon Dec 24 12:26:11 2018 New Revision: 267402 URL: https://gcc.gnu.org/viewcvs?rev=267402&root=gcc&view=rev Log: Fix Darwin PR libstdc++/70694 2018-12-24 Iain Sandoe Backport

[Bug testsuite/78544] FAIL: gcc.dg/tree-prof/section-attr-*.c compilation, -fprofile-generate -D_PROFILE_GENERATE on darwin

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78544 --- Comment #8 from Iain Sandoe --- Author: iains Date: Mon Dec 24 12:30:24 2018 New Revision: 267403 URL: https://gcc.gnu.org/viewcvs?rev=267403&root=gcc&view=rev Log: Fix tree-prof section tests on Darwin. Add Darwin section names. 2018-12-2

[Bug testsuite/78544] FAIL: gcc.dg/tree-prof/section-attr-*.c compilation, -fprofile-generate -D_PROFILE_GENERATE on darwin

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78544 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin*

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78444 --- Comment #18 from Iain Sandoe --- Author: iains Date: Mon Dec 24 12:47:58 2018 New Revision: 267406 URL: https://gcc.gnu.org/viewcvs?rev=267406&root=gcc&view=rev Log: Fix target/78444 on x86/Darwin. 2018-12-24 Iain Sandoe Backpor

[Bug target/78444] Wrong prologue stack alignment for implicit dtor on x86_64-darwin*

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78444 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/64883] FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64883 --- Comment #60 from Iain Sandoe --- Author: iains Date: Mon Dec 24 13:01:04 2018 New Revision: 267407 URL: https://gcc.gnu.org/viewcvs?rev=267407&root=gcc&view=rev Log: Fix libstdc++/64883 for Darwin. 2018-12-24 Iain Sandoe Backpor

[Bug libstdc++/64883] FAIL: 17_intro/headers/c++*/all_attributes.cc (test for excess errors) on x86_64-apple-darwin10

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64883 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/70694] 50 experimental/filesystem/* failures on x86_64-apple-darwin10

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70694 --- Comment #14 from Iain Sandoe --- Fixed for open branches, maintainers of earlier branches might want to apply this locally.

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 --- Comment #21 from Iain Sandoe --- Author: iains Date: Mon Dec 24 13:17:28 2018 New Revision: 267409 URL: https://gcc.gnu.org/viewcvs?rev=267409&root=gcc&view=rev Log: Fix PR c++/87380 (ABI breakage) for Darwin. 2018-12-24 Iain Sandoe

[Bug c++/87380] Explicit instantations should use weak symbols on darwin

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87380 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/67974] Missing gcc/testsuite/gcc.target/x86_64/abi/avx/asm-support-darwin.s file

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67974 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug testsuite/67974] Missing gcc/testsuite/gcc.target/x86_64/abi/avx/asm-support-darwin.s file

2018-12-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67974 --- Comment #3 from Iain Sandoe --- Author: iains Date: Mon Dec 24 13:41:16 2018 New Revision: 267411 URL: https://gcc.gnu.org/viewcvs?rev=267411&root=gcc&view=rev Log: Fix target/67974 for Darwin by adding AVX asm shim. 2018-12-24 Iain Sandoe

[Bug pch/61250] Random pch failures on x86_64-apple-darwin1(3|4).

2018-12-28 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61250 --- Comment #21 from Iain Sandoe --- (In reply to Eric Gallager from comment #20) > (In reply to Jack Howarth from comment #16) > > (In reply to howarth from comment #15) > > > (In reply to howarth from comment #14) > > > > Testing https://gcc.gn

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

2018-12-28 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 --- Comment #8 from Iain Sandoe --- I can see this on x86_64-darwin15 .. but not on darwin16, 17 or 18. please can you confirm that you definitely see this on darwin18? (and what your bootstrap compiler / config is). my tests were on 267418 wit

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2018-12-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 --- Comment #9 from Iain Sandoe --- Author: iains Date: Sun Dec 30 13:20:19 2018 New Revision: 267477 URL: https://gcc.gnu.org/viewcvs?rev=267477&root=gcc&view=rev Log: fix PR target/88343 for 32b powerpc. 2018-12-30 Iain Sandoe bac

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2018-12-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/88644] New: Unexpected pub type info eliminated after r 246973 (causes pubtypes-*.c to regress).

2018-12-31 Thread iains at gcc dot gnu.org
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: iains at gcc dot gnu.org Target Milestone: --- r246973 addresses PR debug/80263 with : * dwarf2out.c (modified_type_die): Try harder not to emit internal

[Bug target/88644] Unexpected pub type info eliminated after r 246973 (causes pubtypes-*.c to regress).

2018-12-31 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88644 Iain Sandoe changed: What|Removed |Added Target||*-*-darwin* Status|UNCONFIRMED

[Bug debug/88644] [7/8/9 Regression] Unexpected pub type info eliminated after r246973 (causes pubtypes-*.c to regress).

2019-01-02 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88644 --- Comment #3 from Iain Sandoe --- works for me with following addition to correct the length of the (now correct) subtypes sections. - diff --git a/gcc/testsuite/gcc.dg/pubtypes-2.c b/gcc/testsuite/gcc.dg/pubtypes-2.c index 3ac3a38..6669f

[Bug debug/88644] [7/8/9 Regression] Unexpected pub type info eliminated after r246973 (causes pubtypes-*.c to regress).

2019-01-02 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88644 --- Comment #4 from Iain Sandoe --- will do a complete test suite run now, to catch any other changed lengths.

[Bug target/60563] FAIL: g++.dg/ext/sync-4.C on *-apple-darwin*

2019-01-02 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60563 --- Comment #16 from Iain Sandoe --- well.. given the amount of time that's passed - perhaps we'll only get a fix for ld64 if we do it ourselves... What about xfail-run-if - to reduce test noise, and then when (if?) ld64 gets fixed it will "xpas

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2019-01-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 --- Comment #13 from Iain Sandoe --- (In reply to Joseph S. Myers from comment #11) > This change results in miscompilation of glibc for 32-bit soft-float powerpc > (symptoms: many libm tests as run by "make regen-ulps" either segfault, or > prod

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2019-01-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 --- Comment #14 from Iain Sandoe --- Author: iains Date: Thu Jan 3 08:34:41 2019 New Revision: 267542 URL: https://gcc.gnu.org/viewcvs?rev=267542&root=gcc&view=rev Log: revert fix for pr88343 causes problems with soft-fp in GLIBC, see pr comme

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2019-01-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 --- Comment #15 from Iain Sandoe --- Author: iains Date: Thu Jan 3 08:45:35 2019 New Revision: 267543 URL: https://gcc.gnu.org/viewcvs?rev=267543&root=gcc&view=rev Log: revert fix for pr88343 This causes problems for soft-f on GLIBC, see pr co

[Bug debug/88644] [7/8/9 Regression] Unexpected pub type info eliminated after r246973 (causes pubtypes-*.c to regress).

2019-01-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88644 --- Comment #5 from Iain Sandoe --- (In reply to Iain Sandoe from comment #4) > will do a complete test suite run now, to catch any other changed lengths. I don't see any other related changes.

[Bug sanitizer/87880] [9 regression] All macOS asan execution tests FAIL

2019-01-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87880 --- Comment #9 from Iain Sandoe --- So.. this is somewhat puzzling. Essentially, it seems that on macOS and Linux (at least) currently ASAN_INTERCEPT___CXA_RETHROW_PRIMARY_EXCEPTION is set unconditionally to "on" (for any target that has ASAN_HA

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2019-01-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 --- Comment #20 from Iain Sandoe --- (In reply to Joseph S. Myers from comment #19) > Created attachment 45330 [details] > Bad assembly (from trunk r267560 with the patch still present) Thanks, Joseph, that's very helpful. .. so the code plainl

[Bug libgomp/88707] Random failures of libgomp.c++/task-reduction-(8|10).C on x86_64-apple-darwin18

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

[Bug libgomp/88707] Random failures of libgomp.c++/task-reduction-(8|10).C on x86_64-apple-darwin18

2019-01-05 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88707 --- Comment #2 from Iain Sandoe --- (on Darwin17 I had a recent build) I find that a built exe fails quite often; here's a sample of the hung program (it appears deadlocked, not consuming any CPU). The correct libraries are being loaded. Sampl

[Bug c++/84497] link errors with trivial external thread_local variables

2019-01-07 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84497 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #6

[Bug c++/84497] link errors with trivial external thread_local variables

2019-01-07 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84497 Iain Sandoe changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug c++/59994] [meta-bug] thread_local

2019-01-07 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59994 Bug 59994 depends on bug 84497, which changed state. Bug 84497 Summary: link errors with trivial external thread_local variables https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84497 What|Removed |Added ---

[Bug c++/84497] link errors with trivial external thread_local variables

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

[Bug libbacktrace/88745] New: Darwin lacks an implementation for libbacktrace

2019-01-07 Thread iains at gcc dot gnu.org
Component: libbacktrace Assignee: unassigned at gcc dot gnu.org Reporter: iains at gcc dot gnu.org CC: ian at gcc dot gnu.org Target Milestone: --- see: https://gcc.gnu.org/ml/gcc-patches/2019-01/msg00136.html

[Bug libbacktrace/88745] Darwin lacks an implementation for libbacktrace

2019-01-07 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88745 Iain Sandoe changed: What|Removed |Added Target||*-*-darwin* Priority|P3

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #7

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #9 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #8) Thanks! I've been using gmp-6.1.2, mpfr-3.1.6, mpc-1.1.0 isl-0.20 on all my recent builds (for trunk, gcc-8 and gcc-7) You don't (I think) mention whether the GCC y

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #11 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #10) > The trunk, svn 267657, all newest versions of gmp, mpfr, mpc. It seems that > the problem is also solved when I use the libtool flag -static instead of > -static-

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #13 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #12) > No, unfortunately a working svn # is difficult, I first observed it by doing > svn up on another Macbook around Christmas. hmm ... that's tricky - a busy time .

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-08 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #15 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #14) > Well, it seems that r267488 from Dec 31 was still working, on the other > hand, I saw a problem on the other MACbook definitely around at latest Dec > 26 or so. P

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #17 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #16) > Yes, after the problem occurred, I did a completely clean new build of gmp, > mpfr, mpc, gcc (configured with ../configure --prefix=/usr/local/ > --with-gmp=/usr/

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #18 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #14) does the application use exceptions? > This one is failing: > gfortran -g -O2 -Wl,-rpath -Wl,/usr/local/packages/OpenLoops/lib -o > static_1.exe .libs/static_1.ex

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #23 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #22) > This is the output from the lldb command (but this was not a debug build of > gcc yet): > $ lldb ./static_1.exe > (lldb) target create "./static_1.exe" > Current

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #26 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #25) > (In reply to Richard Biener from comment #24) > > (In reply to Iain Sandoe from comment #23) > > > (In reply to Jürgen Reuter from comment #22) > > > > > Indeed

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #27 from Iain Sandoe --- JFTR, I did an experiment with a trivial hot/cold partitioned object and ld64 from XCode10.1. Yes, it complains - but it still publishes the symbol as a weak extern. I looked a bit harder at the symbol

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #28 from Iain Sandoe --- I wonder what would happen if you add -rdynamic (or -Wl,-export_dynamic) to the main exe in the static link case, perhaps that would ensure that the libstdc++ symbols get resolved from there.

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #30 from Iain Sandoe --- well, what I'm trying to achieve is that the exe (with libstdc++ linked in) provides all the symbols. it's -Wl,-export_dynamic with an underscore, no a hyphen you might need to add -Wl,-all_load too (to make

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #32 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #31) > Then I get tons of duplicate symbol lines. ah well, not so simple then, then I think the next step is for you to identify the last working revision of the comp

[Bug fortran/88750] [9 Regression] runtime error in statically linked binaries

2019-01-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88750 --- Comment #34 from Iain Sandoe --- (In reply to Jürgen Reuter from comment #33) > (In reply to Iain Sandoe from comment #32) > > (In reply to Jürgen Reuter from comment #31) > > > Then I get tons of duplicate symbol lines. > > > > ah well, not

[Bug target/83531] Build broken on macOS 10.13.2

2019-01-15 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531 --- Comment #3 from Iain Sandoe --- On current 10.136, with Xcode 9.4 command line tools, and/or GCC 7.4 (with a new enough linker to support v2 tbd files), this seems to work for me: clang bootstrap (trunk) https://gcc.gnu.org/ml/gcc-testresult

[Bug lto/86736] [9 regression] g++.dg/asan/pr81021.C -O2 -flto -flto-partition=none ICE at dwarf2out.c:31111

2019-01-15 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86736 --- Comment #5 from Iain Sandoe --- (In reply to Richard Biener from comment #4) > Hmm, I can no longer reproduce -g0 vs -g on x86_64-linux. Ians testresults > now > list > > FAIL: g++.dg/asan/pr62017.C -O2 -flto (internal compiler error) >

[Bug lto/86736] [9 regression] g++.dg/asan/pr81021.C -O2 -flto -flto-partition=none ICE at dwarf2out.c:31111

2019-01-15 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86736 --- Comment #6 from Iain Sandoe --- 62017 would seem to suggest that we've generated bad code for the stage#3 tree_fits_shwi_p function (which would be a separate issue) but maybe the tree shouldn't be null anyway.

[Bug lto/86736] [9 regression] g++.dg/asan/pr81021.C -O2 -flto -flto-partition=none ICE at dwarf2out.c:31111

2019-01-15 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86736 --- Comment #8 from Iain Sandoe --- (In reply to Richard Biener from comment #7) > (In reply to Iain Sandoe from comment #5) > > (In reply to Richard Biener from comment #4) > > > Hmm, I can no longer reproduce -g0 vs -g on x86_64-linux. Ians >

[Bug lto/86736] [9 regression] g++.dg/asan/pr81021.C -O2 -flto -flto-partition=none ICE at dwarf2out.c:31111

2019-01-15 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86736 --- Comment #10 from Iain Sandoe --- dunno if this is helpful... frame #4: 0x0001007b4288 lto1`::add_pubtype(decl=0x000144625f18, die=0x000144627f50) at dwarf2out.c:11333 11330 scope = TYPE_P (decl) ? TYPE_CONTEXT (de

[Bug lto/86736] [9 regression] g++.dg/asan/pr81021.C -O2 -flto -flto-partition=none ICE at dwarf2out.c:31111

2019-01-15 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86736 --- Comment #11 from Iain Sandoe --- so, no... it doesn't have a name. (lldb) p ((tree)0x1446212f8)->decl_minimal.name (tree) $5 = 0x

[Bug lto/86736] [9 regression] g++.dg/asan/pr81021.C -O2 -flto -flto-partition=none ICE at dwarf2out.c:31111

2019-01-16 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86736 --- Comment #13 from Iain Sandoe --- (In reply to Richard Biener from comment #12) > OK, so C++ has > > else if ((DECL_NAME (decl) == NULL_TREE) >&& TREE_CODE (decl) == NAMESPACE_DECL) > dump_decl (cxx_pp, decl, TFF_PLAIN_IDENT

[Bug target/83531] Build broken on macOS 10.13.2

2019-01-16 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83531 --- Comment #5 from Iain Sandoe --- * thanks for looking at this! (my machines are all tied up right now, so any testing won't happen before 'tomorrow') * apologies if this comes across as negative - but TBH I'm a bit nervous about applying som

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2019-02-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343 --- Comment #24 from Iain Sandoe --- so, it seems that there are more cases where the RS6000_PIC_OFFSET_TABLE_REGNUM is used without setting the uses_pic_offset_table. We can easily back the change out to "fix" master - but that seems to be pape

[Bug libstdc++/58142] _pthread_tsd_cleanup called before destructors are called

2019-02-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142 --- Comment #4 from Iain Sandoe --- (In reply to Jonathan Wakely from comment #3) > I think it's still open because nobody has looked at it again recently, not > because of any conscious decision. > > I'm changing the component to libstdc++ as t

[Bug libstdc++/58142] _pthread_tsd_cleanup called before destructors are called

2019-02-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142 --- Comment #6 from Iain Sandoe --- So .. I had a look in the sources for libc. cxa_thread_atexit is implemented as a wrapper function that calls _tlv_atexit (provided in lib/system/libdyld.dylib, which is part of the umbrella "libSystem" which i

[Bug libstdc++/58142] _pthread_tsd_cleanup called before destructors are called

2019-02-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58142 --- Comment #7 from Iain Sandoe --- (In reply to Iain Sandoe from comment #6) > I'd need to see what dyld is actually implementing for > tlv_atexit. Seems to be layered on top of pthread_get/set_specific - so, in principle, we could do something

[Bug target/63651] Lot of failures in obj(c|-c++) with yosemite

2019-02-05 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63651 --- Comment #21 from Iain Sandoe --- (In reply to Eric Gallager from comment #20) > (In reply to Dominique d'Humieres from comment #18) > > For the record with darwin15 I had to add > > > > /System/Library/Frameworks/Foundation.framework/Version

[Bug objc++/23610] obj-c++.dg/bitfield-[14].mm, obj-c++.dg/layout-1.mm fails with the GNU runtime

2019-07-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23610 --- Comment #12 from Iain Sandoe --- (In reply to Eric Gallager from comment #11) > cc-ing Iain I don't see these excess errors on recent trunk [273642/273656] for i686-darwin9, powerpc-darwin9 or x86_64-linux-gnu. For x86_64-linux-gnu the obje

[Bug objc++/23610] obj-c++.dg/bitfield-[14].mm, obj-c++.dg/layout-1.mm fails with the GNU runtime

2019-07-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23610 --- Comment #13 from Iain Sandoe --- (In reply to Iain Sandoe from comment #12) > (In reply to Eric Gallager from comment #11) > > cc-ing Iain > > I don't see these excess errors on recent trunk [273642/273656] for > i686-darwin9, powerpc-darwin

[Bug bootstrap/87030] GCC fails to build with Xcode 10, attempting an impossible multilib build

2019-07-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87030 --- Comment #19 from Iain Sandoe --- Author: iains Date: Tue Jul 23 20:31:26 2019 New Revision: 273746 URL: https://gcc.gnu.org/viewcvs?rev=273746&root=gcc&view=rev Log: [Darwin] Fix PR87030 and tidy config fragments. This is about 32/64b host

[Bug bootstrap/87030] GCC fails to build with Xcode 10, attempting an impossible multilib build

2019-07-23 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87030 --- Comment #20 from Iain Sandoe --- Author: iains Date: Tue Jul 23 23:20:31 2019 New Revision: 273749 URL: https://gcc.gnu.org/viewcvs?rev=273749&root=gcc&view=rev Log: [Darwin] Fix PR87030 add missed commit hunks. Messed up the commit, and mi

[Bug bootstrap/87030] GCC fails to build with Xcode 10, attempting an impossible multilib build

2019-07-24 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87030 --- Comment #21 from Iain Sandoe --- Author: iains Date: Wed Jul 24 19:59:22 2019 New Revision: 273768 URL: https://gcc.gnu.org/viewcvs?rev=273768&root=gcc&view=rev Log: [Darwin] Partial reversion of 273749. We still need to cater for pr80556,

[Bug gcov-profile/91087] g++.dg/gcov/pr16855.C fails everywhere on Darwin.

2019-07-25 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91087 --- Comment #2 from Iain Sandoe --- Author: iains Date: Thu Jul 25 18:12:03 2019 New Revision: 273809 URL: https://gcc.gnu.org/viewcvs?rev=273809&root=gcc&view=rev Log: [Darwin, testsuite] Address PR91087 - XFAIL parts of pr16855.C. The testcas

[Bug c++/52477] Wrong initialization order? __attribute__((constructor)) vs static data access

2019-07-26 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52477 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #17

[Bug ada/91266] New: [10 regression] acats cd2a31a fails for 32b hosts.

2019-07-26 Thread iains at gcc dot gnu.org
: ada Assignee: unassigned at gcc dot gnu.org Reporter: iains at gcc dot gnu.org Target Milestone: --- between r273419 and 273457 this test has started to fail on at least 3 32b hosts.

[Bug ada/91266] [10 regression] acats cd2a31a fails for 32b hosts.

2019-07-26 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91266 Iain Sandoe changed: What|Removed |Added Target||i686-pc-linux-gnu, |

[Bug ada/91266] [10 regression] acats cd2a31a fails for 32b hosts.

2019-07-28 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91266 --- Comment #1 from Iain Sandoe --- actually, the problem is also seen on 64b powerpc-linux-gnu LAST_UPDATED: Fri Jul 26 10:23:02 UTC 2019 (revision 273825) === acats tests === FAIL: cd2a31a Native configuration is powerpc64-

[Bug target/63810] gcc sets incorrect macro for OS X deployment targets

2019-08-02 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810 --- Comment #33 from Iain Sandoe --- Author: iains Date: Fri Aug 2 14:54:57 2019 New Revision: 274017 URL: https://gcc.gnu.org/viewcvs?rev=274017&root=gcc&view=rev Log: darwin, backport driver fixes. 272260,r272479 - Darwin, Driver - Improve p

[Bug bootstrap/87030] GCC fails to build with Xcode 10, attempting an impossible multilib build

2019-08-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87030 --- Comment #22 from Iain Sandoe --- Author: iains Date: Sat Aug 3 20:16:22 2019 New Revision: 274049 URL: https://gcc.gnu.org/viewcvs?rev=274049&root=gcc&view=rev Log: Darwin, backport fix for PR87030 273746 , 273749, 273768 [Darwin] Fix PR87

[Bug bootstrap/87030] GCC fails to build with Xcode 10, attempting an impossible multilib build

2019-08-03 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87030 --- Comment #23 from Iain Sandoe --- fixed on trunk and for 9.2

[Bug testsuite/58321] FAIL: gcc.target/i386/memcpy-strategy-3.c scan-assembler-times memcpy 2 on x86_64-apple-darwin*

2019-08-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58321 --- Comment #9 from Iain Sandoe --- Author: iains Date: Sun Aug 4 09:53:37 2019 New Revision: 274058 URL: https://gcc.gnu.org/viewcvs?rev=274058&root=gcc&view=rev Log: Darwin, X86, backport fix for PR58321. 2019-08-04 Iain Sandoe B

[Bug testsuite/58321] FAIL: gcc.target/i386/memcpy-strategy-3.c scan-assembler-times memcpy 2 on x86_64-apple-darwin*

2019-08-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58321 --- Comment #10 from Iain Sandoe --- fixed for trunk and 9.2

[Bug target/63891] [7/8/9 regression] Failure of darwin-weakimport-3.c

2019-08-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63891 --- Comment #14 from Iain Sandoe --- Author: iains Date: Sun Aug 4 09:59:21 2019 New Revision: 274059 URL: https://gcc.gnu.org/viewcvs?rev=274059&root=gcc&view=rev Log: Darwin, testsuite, backport fix for PR83891 2019-08-04 Iain Sandoe

[Bug target/63891] [7/8/9 regression] Failure of darwin-weakimport-3.c

2019-08-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63891 --- Comment #15 from Iain Sandoe --- fixed on trunk and for 9.2

[Bug testsuite/67958] The tests changed by r223498 now FAILs on darwin

2019-08-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67958 --- Comment #7 from Iain Sandoe --- Author: iains Date: Sun Aug 4 10:06:33 2019 New Revision: 274060 URL: https://gcc.gnu.org/viewcvs?rev=274060&root=gcc&view=rev Log: Darwin, X86, backport testsuite fix for 67958. 2019-08-04 Iain Sandoe

[Bug testsuite/67958] The tests changed by r223498 now FAILs on darwin

2019-08-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67958 Iain Sandoe changed: What|Removed |Added Target Milestone|--- |7.5 --- Comment #8 from Iain Sandoe --- f

[Bug testsuite/27221] g++.dg/ext/alignof2.C fails on powerpc-darwin (and powerpc-aix)

2019-08-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27221 --- Comment #5 from Iain Sandoe --- Author: iains Date: Sun Aug 4 10:11:53 2019 New Revision: 274061 URL: https://gcc.gnu.org/viewcvs?rev=274061&root=gcc&view=rev Log: Darwin, testsuite, backport for for 27221. This can't pass on 32b power Dar

[Bug testsuite/27221] g++.dg/ext/alignof2.C fails on powerpc-darwin (and powerpc-aix)

2019-08-04 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27221 --- Comment #6 from Iain Sandoe --- fixed on trunk and for 9.2

<    2   3   4   5   6   7   8   9   10   11   >