Description of problem: /usr/armv5tel-redhat-linux-gnueabi/bin/ -B/usr/armv5tel-redhat-linux-gnueabi/lib/ -isystem /usr/armv5tel-redhat-linux-gnueabi/include -isystem /usr/armv5tel-redhat-linux-gnueabi/sys-include -O2 -g -I . -c -fgo-prefix=libgo_syscall ../../../libgo/go/syscall/env_unix.go ../../../libgo/go/syscall/syscall_errno.go ../../../libgo/go/syscall/libcall_support.go ../../../libgo/go/syscall/libcall_posix.go ../../../libgo/go/syscall/socket.go ../../../libgo/go/syscall/str.go ../../../libgo/go/syscall/syscall.go ../../../libgo/go/syscall/syscall_unix.go ../../../libgo/go/syscall/exec_unix.go ../../../libgo/go/syscall/libcall_wait4.go ../../../libgo/go/syscall/sleep_select.go ../../../libgo/go/syscall/errstr_linux.go ../../../libgo/go/syscall/libcall_posix_largefile.go ../../../libgo/go/syscall/socket_linux.go epoll.go ../../../libgo/go/syscall/libcall_uname.go ../../../libgo/go/syscall/netlink_linux.go ../../../libgo/go/syscall/libcall_linux.go libcalls.go sysinfo.go syscall_arch.go -fPIC -o syscall/.libs/syscall.o ../../../libgo/go/syscall/libcall_linux.go:142:38: error: use of undefined type 'PtraceRegs' ../../../libgo/go/syscall/libcall_linux.go:142:38: error: use of undefined type 'PtraceRegs' full build log can be found at http://ausil.us/gcc-4.7-armv5tel-build.log
Guess go hasn't been ported to ARM yet, will need to %global build_go 0 for %{arm} then.
Should be fixed in gcc-4.7.0-0.4.fc17. Of course, even better would be if somebody spent the needed time and actually made go work on arm.
Same applies to s390(x) and ppc(64) I think, but after seeing some patches that add support for Alpha and MIPS to libgo it really shouldn't be hard to add support for our arches to libgo too.
Created attachment 551222 [details] s390 support
Created attachment 551223 [details] arm support
With syscall_linux-s390{,x}.go files libgo should be buildable (couldn't refresh the configure script due incompatible autoconf version on my machine). The ARM support is untested.