Re: [build] Disable SHF_MERGE on Solaris 10/x86 (PR bootstrap/84017)

2018-01-29 Thread Rainer Orth
Hi Jakub, > On Mon, Jan 29, 2018 at 02:30:04PM +0100, Rainer Orth wrote: >> --- a/gcc/testsuite/gcc.dg/debug/dwarf2/prod-options.c >> +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/prod-options.c >> @@ -4,8 +4,7 @@ >> as well. */ >> /* { dg-do compile } */ >> /* { dg-options "-O2 -gdwarf -dA -fdeb

Re: [build] Disable SHF_MERGE on Solaris 10/x86 (PR bootstrap/84017)

2018-01-29 Thread Jakub Jelinek
On Mon, Jan 29, 2018 at 02:30:04PM +0100, Rainer Orth wrote: > --- a/gcc/testsuite/gcc.dg/debug/dwarf2/prod-options.c > +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/prod-options.c > @@ -4,8 +4,7 @@ > as well. */ > /* { dg-do compile } */ > /* { dg-options "-O2 -gdwarf -dA -fdebug-prefix-map=a=b"

[build] Disable SHF_MERGE on Solaris 10/x86 (PR bootstrap/84017)

2018-01-29 Thread Rainer Orth
As described in the PR, Solaris 10/x86 ld is broken when dealing with the SHF_MERGE flag, causing the bootstrap to break in strange ways. Solaris as doesn't support it, but gas does, so only gas/ld builds were affected. This patch forces HAVE_GAS_SHF_MERGE to 0 to work around this. I've massively