Re: Problems with trans-mem branch on Solaris/x86 etc.

2011-11-08 Thread Rainer Orth
Richard Henderson r...@redhat.com writes: Solaris/SPARC is going to have a similar issue: the default configure triplet is sparc-sun-solaris2*, still it defaults to v8plus, so cas is available. I haven't tried a bootstrap yet, though. Of course there's a bit more porting work to do

Re: Problems with trans-mem branch on Solaris/x86 etc.

2011-11-08 Thread Richard Henderson
On 11/08/2011 06:51 AM, Rainer Orth wrote: * configure.tgt: Handle i386 like i[456]86. * config/generic/tls.h [!HAVE_ARCH_GTM_THREAD] (gtm_thr): Don't take address. * config/generic/tls.cc [!HAVE_ARCH_GTM_THREAD || !HAVE_ARCH_GTM_THREAD_DISP] (_gtm_thr_tls): New variable. Ok for

Problems with trans-mem branch on Solaris/x86 etc.

2011-11-07 Thread Rainer Orth
This weekend, I tried the trans-mem branch as of r180975 on i386-pc-solaris2.11. Doing so, I ran into a couple of problems. I'm reporting them here, both because bugzilla currently lacks a libitm component and in the hope that they can be fixed before the merge. * At first I tried a bootstrap

Re: Problems with trans-mem branch on Solaris/x86 etc.

2011-11-07 Thread Richard Henderson
On 11/07/2011 03:47 AM, Rainer Orth wrote: While the configure triplet has i386 as target_cpu, the port defaults to --with-arch=pentiumpro (Solaris 8/9) or pentium4 (Solaris 10+). I've changed configure.tgt to accept i386 as well, but this needs to be dealt with in a more general way.

Re: Problems with trans-mem branch on Solaris/x86 etc.

2011-11-07 Thread Joseph S. Myers
On Mon, 7 Nov 2011, Richard Henderson wrote: We should make sure that the bootstrap succeeds though, disabling the library when porting work hasn't been done. For disabling libraries, I've suggested that toplevel configure should source a file from the subdirectory that says whether a target