Bug 46963 - SPARC64 Not Supported by Go
Summary: SPARC64 Not Supported by Go
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: go (show other bugs)
Version: 4.6.0
: P3 normal
Target Milestone: ---
Assignee: Ian Lance Taylor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 15:25 UTC by Joel Sherrill
Modified: 2011-01-05 00:38 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Sherrill 2010-12-15 15:25:01 UTC
sparc64-rtems4.11-gcc (GCC) 4.6.0 20101213 (experimental) [trunk revision 167770]

/users/joel/test-gcc/gcc-svn/libgo/runtime/go-go.c:40:3: error: #error must define SAVE_REGS
/users/joel/test-gcc/gcc-svn/libgo/runtime/go-go.c: In function '__go_run_goroutine_gc':
/users/joel/test-gcc/gcc-svn/libgo/runtime/go-go.c:348:3: error: 'SAVE_REGS' undeclared (first use in this function)
/users/joel/test-gcc/gcc-svn/libgo/runtime/go-go.c:348:3: note: each undeclared identifier is reported only once for each function it appears in
/users/joel/test-gcc/gcc-svn/libgo/runtime/go-go.c: In function '__go_scanstacks':
/users/joel/test-gcc/gcc-svn/libgo/runtime/go-go.c:437:3: error: 'SAVE_REGS' undeclared (first use in this function)
Comment 1 ian@gcc.gnu.org 2011-01-05 00:24:35 UTC
Author: ian
Date: Wed Jan  5 00:24:15 2011
New Revision: 168500

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168500
Log:
	PR go/46959
	PR go/46960
	PR go/46961
	PR go/46962
	PR go/46963
	PR go/46964
Use __builtin_unwind_init rather than the SAVE_REGS hack.

Modified:
    trunk/libgo/runtime/go-go.c
Comment 2 Ian Lance Taylor 2011-01-05 00:38:15 UTC
Fixed.