This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libgo] Build fix for sparc-linux
- From: Ian Lance Taylor <iant at golang dot org>
- To: Richard Henderson <rth at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, "gofrontend-dev at googlegroups dot com" <gofrontend-dev at googlegroups dot com>
- Date: Fri, 16 Jan 2015 15:23:37 -0800
- Subject: Re: [libgo] Build fix for sparc-linux
- Authentication-results: sourceware.org; auth=none
- References: <54B97688 dot 5070402 at redhat dot com>
On Fri, Jan 16, 2015 at 12:37 PM, Richard Henderson <rth@redhat.com> wrote:
>
> The glibc setcontext modifies %g7, so the SETCONTEXT_CLOBBERS_TLS configure
> test triggers.
>
> My guess is that Solaris doesn't clobber %g7, or Rainer would have noticed this
> before. Is it worth also checking for __linux__ in the elif test, or just wait
> until someone notices that they have an incompatible set of <ucontext.h>
> definitions?
Thanks, committed to mainline.
I agree with just committing it--let's see if anybody complains.
Ian