Re: [PATCH] build: Fix 32-bit TLS detection with 64-bit-default gas on Solaris/x86

2020-05-04 Thread Rainer Orth
Hi Jakub, > On Mon, May 04, 2020 at 03:19:30PM +0200, Rainer Orth wrote: >> I'm going to commit this to master shortly. Ok for the gcc-10 branch, >> too, given that it fixes a bootstrap failure? > > Ok, but see below. >> diff --git a/gcc/configure.ac b/gcc/configure.ac >> --- a/gcc/configure.ac

Re: [PATCH] build: Fix 32-bit TLS detection with 64-bit-default gas on Solaris/x86

2020-05-04 Thread Jakub Jelinek via Gcc-patches
On Mon, May 04, 2020 at 03:19:30PM +0200, Rainer Orth wrote: > I'm going to commit this to master shortly. Ok for the gcc-10 branch, > too, given that it fixes a bootstrap failure? Ok, but see below. > 2020-05-02 Rainer Orth > > * configure.ac : Add --32 to tls_as_opt on Solaris. >

[PATCH] build: Fix 32-bit TLS detection with 64-bit-default gas on Solaris/x86

2020-05-04 Thread Rainer Orth
I've recently tested i386-pc-solaris2.11 bootstrap on Solaris 11/x86 with only the bundled tools (using /usr/gnu/bin/as from binutils 2.30 in this case). It failed compiling libgo/runtime/proc.c, creating invalid assembly: proc.s: Assembler messages: proc.s:2092: Error: junk at end of line, first