* [Bug go/52557] Timex undefined on arm-linux-gnueabi
2012-03-11 17:33 [Bug go/52557] New: Timex undefined on arm-linux-gnueabi doko at gcc dot gnu.org
@ 2012-03-11 20:36 ` doko at gcc dot gnu.org
2012-03-13 20:59 ` ian at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2012-03-11 20:36 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557
--- Comment #1 from Matthias Klose <doko at gcc dot gnu.org> 2012-03-11 20:35:42 UTC ---
with the following hack, I'm able to build on arm, and run the tests.
--- libgo/mksysinfo.sh~ 2012-03-11 00:36:59.000000000 +0000
+++ libgo/mksysinfo.sh 2012-03-11 19:17:15.000000000 +0000
@@ -137,6 +137,9 @@
${CC} -fdump-go-spec=gen-sysinfo.go -std=gnu99 -S -o sysinfo.s sysinfo.c
+# ARM
+sed -i '/type _timex/s/INVALID-bit-field/int32/g;/type _timex/s,^// ,,'
gen-sysinfo.go
+
echo 'package syscall' > ${OUT}
echo 'import "unsafe"' >> ${OUT}
echo 'type _ unsafe.Pointer' >> ${OUT}
$ grep -v ^PASS libgo.sum
Test Run By doko on Sun Mar 11 19:35:35 UTC 2012
Native configuration is arm-unknown-linux-gnueabi
=== libgo tests ===
Schedule of variations:
unix
Running target unix
Running ../../../src/libgo/libgo.exp ...
FAIL: fmt
FAIL: log
FAIL: reflect
FAIL: sync
FAIL: time
FAIL: archive/zip
FAIL: debug/dwarf
FAIL: encoding/gob
FAIL: encoding/json
FAIL: html/template
FAIL: go/printer
FAIL: math/big
FAIL: net/http
FAIL: net/rpc
FAIL: old/regexp
FAIL: old/template
FAIL: text/template
FAIL: text/template/parse
=== libgo Summary ===
# of expected passes 105
# of unexpected failures 18
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/52557] Timex undefined on arm-linux-gnueabi
2012-03-11 17:33 [Bug go/52557] New: Timex undefined on arm-linux-gnueabi doko at gcc dot gnu.org
2012-03-11 20:36 ` [Bug go/52557] " doko at gcc dot gnu.org
@ 2012-03-13 20:59 ` ian at gcc dot gnu.org
2012-03-13 21:11 ` ian at airs dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ian at gcc dot gnu.org @ 2012-03-13 20:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557
--- Comment #2 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2012-03-13 20:56:29 UTC ---
Author: ian
Date: Tue Mar 13 20:56:23 2012
New Revision: 185354
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185354
Log:
PR go/52557
mksysinfo: Fix handling of timex for ARM GNU/Linux.
Modified:
trunk/libgo/mksysinfo.sh
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/52557] Timex undefined on arm-linux-gnueabi
2012-03-11 17:33 [Bug go/52557] New: Timex undefined on arm-linux-gnueabi doko at gcc dot gnu.org
2012-03-11 20:36 ` [Bug go/52557] " doko at gcc dot gnu.org
2012-03-13 20:59 ` ian at gcc dot gnu.org
@ 2012-03-13 21:11 ` ian at airs dot com
2012-03-13 21:12 ` doko at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2012-03-13 21:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2012-03-13
Ever Confirmed|0 |1
--- Comment #3 from Ian Lance Taylor <ian at airs dot com> 2012-03-13 20:58:41 UTC ---
Fixed on mainline, waiting for approval for 4.7 branch.
Thanks for reporting it.
Can you attach the complete libgo.sum file, either here or in a different PR?
It may have some clues as to why those tests are failing.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/52557] Timex undefined on arm-linux-gnueabi
2012-03-11 17:33 [Bug go/52557] New: Timex undefined on arm-linux-gnueabi doko at gcc dot gnu.org
` (2 preceding siblings ...)
2012-03-13 21:11 ` ian at airs dot com
@ 2012-03-13 21:12 ` doko at gcc dot gnu.org
2012-03-13 21:13 ` doko at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2012-03-13 21:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557
--- Comment #4 from Matthias Klose <doko at gcc dot gnu.org> 2012-03-13 21:10:38 UTC ---
Created attachment 26887
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26887
libgo.log
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/52557] Timex undefined on arm-linux-gnueabi
2012-03-11 17:33 [Bug go/52557] New: Timex undefined on arm-linux-gnueabi doko at gcc dot gnu.org
` (3 preceding siblings ...)
2012-03-13 21:12 ` doko at gcc dot gnu.org
@ 2012-03-13 21:13 ` doko at gcc dot gnu.org
2012-03-13 22:06 ` ian at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2012-03-13 21:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557
--- Comment #5 from Matthias Klose <doko at gcc dot gnu.org> 2012-03-13 21:11:06 UTC ---
Created attachment 26888
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26888
libgo.sum
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/52557] Timex undefined on arm-linux-gnueabi
2012-03-11 17:33 [Bug go/52557] New: Timex undefined on arm-linux-gnueabi doko at gcc dot gnu.org
` (4 preceding siblings ...)
2012-03-13 21:13 ` doko at gcc dot gnu.org
@ 2012-03-13 22:06 ` ian at gcc dot gnu.org
2012-03-13 22:08 ` ian at airs dot com
2012-03-13 22:16 ` ian at airs dot com
7 siblings, 0 replies; 9+ messages in thread
From: ian at gcc dot gnu.org @ 2012-03-13 22:06 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557
--- Comment #6 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2012-03-13 22:03:38 UTC ---
Author: ian
Date: Tue Mar 13 22:03:30 2012
New Revision: 185359
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185359
Log:
PR go/52557
mksysinfo: Fix handling of timex for ARM GNU/Linux.
Modified:
branches/gcc-4_7-branch/libgo/mksysinfo.sh
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/52557] Timex undefined on arm-linux-gnueabi
2012-03-11 17:33 [Bug go/52557] New: Timex undefined on arm-linux-gnueabi doko at gcc dot gnu.org
` (5 preceding siblings ...)
2012-03-13 22:06 ` ian at gcc dot gnu.org
@ 2012-03-13 22:08 ` ian at airs dot com
2012-03-13 22:16 ` ian at airs dot com
7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2012-03-13 22:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557
Ian Lance Taylor <ian at airs dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #7 from Ian Lance Taylor <ian at airs dot com> 2012-03-13 22:05:42 UTC ---
Original problem should be fixed now.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug go/52557] Timex undefined on arm-linux-gnueabi
2012-03-11 17:33 [Bug go/52557] New: Timex undefined on arm-linux-gnueabi doko at gcc dot gnu.org
` (6 preceding siblings ...)
2012-03-13 22:08 ` ian at airs dot com
@ 2012-03-13 22:16 ` ian at airs dot com
7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2012-03-13 22:16 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52557
--- Comment #8 from Ian Lance Taylor <ian at airs dot com> 2012-03-13 22:13:24 UTC ---
>From the log files, looks like there is some problem with unwinding the stack.
My first guess would be that there is something wrong with the ARM-specific
code in libgo/runtime/go-unwind.c.
^ permalink raw reply [flat|nested] 9+ messages in thread