Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 771482 - gcc-4.7 arm software floating point build fails with undefined type error
Summary: gcc-4.7 arm software floating point build fails with undefined type error
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: arm
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2012-01-03 20:57 UTC by Dennis Gilmore
Modified: 2012-01-06 18:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-06 08:15:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
s390 support (3.33 KB, patch)
2012-01-06 18:00 UTC, Dan Horák
no flags Details | Diff
arm support (1.04 KB, patch)
2012-01-06 18:01 UTC, Dan Horák
no flags Details | Diff

Description Dennis Gilmore 2012-01-03 20:57:33 UTC
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

Comment 1 Jakub Jelinek 2012-01-05 13:07:29 UTC
Guess go hasn't been ported to ARM yet, will need to %global build_go 0 for %{arm} then.

Comment 2 Jakub Jelinek 2012-01-06 08:15:43 UTC
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.

Comment 3 Dan Horák 2012-01-06 09:31:44 UTC
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.

Comment 4 Dan Horák 2012-01-06 18:00:44 UTC
Created attachment 551222 [details]
s390 support

Comment 5 Dan Horák 2012-01-06 18:01:16 UTC
Created attachment 551223 [details]
arm support

Comment 6 Dan Horák 2012-01-06 18:05:31 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.