1
0
mirror of https://github.com/golang/go synced 2024-11-21 23:34:42 -07:00

arm: fix build, attempt #1

TBR=kaib
CC=golang-dev
https://golang.org/cl/883046
This commit is contained in:
Russ Cox 2010-04-06 17:56:48 -07:00
parent b57afc2f83
commit c819a0c72f
3 changed files with 140 additions and 81 deletions

View File

@ -1,5 +1,6 @@
./235.go ./235.go # slow
./64bit.go ./64bit.go # slow
# ./args.go # android runner doesn't pass args through
./assign.go ./assign.go
./bigalg.go ./bigalg.go
./blank.go ./blank.go
@ -9,6 +10,10 @@
./closedchan.go ./closedchan.go
./closure.go ./closure.go
./cmp1.go ./cmp1.go
./cmp2.go
./cmp3.go
./cmp4.go
./cmp5.go
./complit.go ./complit.go
./compos.go ./compos.go
./const.go ./const.go
@ -19,7 +24,7 @@
./convert3.go ./convert3.go
./convlit.go ./convlit.go
./convlit1.go ./convlit1.go
./copy.go # ./copy.go # slow
./ddd.go ./ddd.go
./ddd1.go ./ddd1.go
./ddd2.go ./ddd2.go
@ -27,18 +32,24 @@
./decl.go ./decl.go
./declbad.go ./declbad.go
./defer.go ./defer.go
# ./deferprint.go # need floating point
./empty.go ./empty.go
./env.go
./escape.go ./escape.go
./float_lit.go
# ./floatcmp.go # need floating point
./for.go ./for.go
# ./func.go
./func1.go ./func1.go
./func2.go ./func2.go
./func3.go ./func3.go
./func4.go ./func4.go
./func5.go ./func5.go
./gc.go # ./gc.go
./gc1.go # ./gc1.go
./hashmap.go ./hashmap.go
./hilbert.go ./hilbert.go
./helloworld.go
./if.go ./if.go
./if1.go ./if1.go
./import.go ./import.go
@ -49,16 +60,18 @@
./indirect.go ./indirect.go
./indirect1.go ./indirect1.go
./initcomma.go ./initcomma.go
# ./initialize.go # need floating point
./initializerr.go ./initializerr.go
./initsyscall.go ./initsyscall.go
./int_lit.go ./int_lit.go
./intcvt.go ./intcvt.go
./iota.go ./iota.go
./literal.go ./literal.go
./malloc1.go # ./malloc1.go
./mallocrand.go # ./mallocfin.go
./mallocrep.go # ./mallocrand.go
./mallocrep1.go # ./mallocrep.go
# ./mallocrep1.go
./map.go ./map.go
./method.go ./method.go
./method1.go ./method1.go
@ -67,13 +80,19 @@
./named.go ./named.go
./named1.go ./named1.go
./nil.go ./nil.go
./nul1.go
./parentype.go ./parentype.go
# ./peano.go # foo
./printbig.go
./range.go ./range.go
./recover.go
./recover1.go ./recover1.go
./recover2.go
./rename.go ./rename.go
./rename1.go ./rename1.go
./runtime.go ./runtime.go
./sieve.go ./sieve.go
# ./sigchld.go # fail - does not survive signal
./simassign.go ./simassign.go
./stack.go ./stack.go
./string_lit.go ./string_lit.go
@ -81,38 +100,58 @@
./switch.go ./switch.go
./switch1.go ./switch1.go
./test0.go ./test0.go
./turing.go
./typeswitch.go ./typeswitch.go
# ./typeswitch1.go
./typeswitch2.go ./typeswitch2.go
./utf.go ./utf.go
./varinit.go ./varinit.go
./vectors.go # ./vectors.go
ken/array.go ken/array.go
ken/chan.go # ken/chan.go # slow
ken/chan1.go # ken/chan1.go # slow
ken/complit.go ken/complit.go
ken/divconst.go # ken/cplx0.go # need floating point
# ken/cplx1.go # need floating point
# ken/cplx2.go # need floating point
# ken/cplx3.go # need floating point
# ken/cplx4.go # need floating point
# ken/cplx5.go # need floating point
# ken/divconst.go # slow
ken/divmod.go ken/divmod.go
ken/embed.go ken/embed.go
ken/for.go ken/for.go
ken/interbasic.go ken/interbasic.go
ken/interfun.go ken/interfun.go
ken/intervar.go
ken/label.go
ken/litfun.go ken/litfun.go
ken/mfunc.go ken/mfunc.go
ken/modconst.go # ken/modconst.go # slow
ken/ptrfun.go ken/ptrfun.go
ken/ptrvar.go ken/ptrvar.go
ken/range.go ken/range.go
ken/rob1.go
ken/rob2.go
ken/robfor.go ken/robfor.go
# ken/robfunc.go # fail
ken/robif.go ken/robif.go
ken/shift.go ken/shift.go
ken/simparray.go
ken/simpbool.go ken/simpbool.go
ken/simpconv.go
ken/simpfun.go ken/simpfun.go
ken/simpprint.go
ken/simpswitch.go
ken/simpvar.go ken/simpvar.go
ken/slicearray.go ken/slicearray.go
ken/sliceslice.go ken/sliceslice.go
ken/string.go
ken/strvar.go ken/strvar.go
# chan/doubleselect.go # slow
chan/fifo.go chan/fifo.go
chan/goroutines.go chan/goroutines.go
chan/nonblock.go
chan/perm.go chan/perm.go
chan/powser1.go chan/powser1.go
chan/powser2.go chan/powser2.go
@ -128,10 +167,13 @@ interface/embed.go
interface/embed0.go interface/embed0.go
interface/embed1.go interface/embed1.go
interface/explicit.go interface/explicit.go
# interface/fake.go # fails - panic: assert
interface/fail.go
interface/pointer.go interface/pointer.go
interface/receiver.go interface/receiver.go
interface/receiver1.go interface/receiver1.go
interface/recursive.go interface/recursive.go
interface/returntype.go
interface/struct.go interface/struct.go
nilptr/arrayindex.go nilptr/arrayindex.go
nilptr/arrayindex1.go nilptr/arrayindex1.go
@ -172,6 +214,7 @@ fixedbugs/bug012.go
fixedbugs/bug013.go fixedbugs/bug013.go
fixedbugs/bug014.go fixedbugs/bug014.go
fixedbugs/bug015.go fixedbugs/bug015.go
fixedbugs/bug016.go
fixedbugs/bug017.go fixedbugs/bug017.go
fixedbugs/bug020.go fixedbugs/bug020.go
fixedbugs/bug021.go fixedbugs/bug021.go
@ -179,6 +222,7 @@ fixedbugs/bug022.go
fixedbugs/bug023.go fixedbugs/bug023.go
fixedbugs/bug024.go fixedbugs/bug024.go
fixedbugs/bug026.go fixedbugs/bug026.go
fixedbugs/bug027.go
fixedbugs/bug028.go fixedbugs/bug028.go
fixedbugs/bug030.go fixedbugs/bug030.go
fixedbugs/bug031.go fixedbugs/bug031.go
@ -210,8 +254,10 @@ fixedbugs/bug063.go
fixedbugs/bug064.go fixedbugs/bug064.go
fixedbugs/bug065.go fixedbugs/bug065.go
fixedbugs/bug066.go fixedbugs/bug066.go
fixedbugs/bug067.go
fixedbugs/bug068.go fixedbugs/bug068.go
fixedbugs/bug069.go fixedbugs/bug069.go
fixedbugs/bug070.go
fixedbugs/bug071.go fixedbugs/bug071.go
fixedbugs/bug072.go fixedbugs/bug072.go
fixedbugs/bug073.go fixedbugs/bug073.go
@ -221,6 +267,7 @@ fixedbugs/bug076.go
fixedbugs/bug077.go fixedbugs/bug077.go
fixedbugs/bug078.go fixedbugs/bug078.go
fixedbugs/bug080.go fixedbugs/bug080.go
fixedbugs/bug081.go
fixedbugs/bug082.go fixedbugs/bug082.go
fixedbugs/bug083.go fixedbugs/bug083.go
fixedbugs/bug084.go fixedbugs/bug084.go
@ -232,6 +279,7 @@ fixedbugs/bug089.go
fixedbugs/bug090.go fixedbugs/bug090.go
fixedbugs/bug091.go fixedbugs/bug091.go
fixedbugs/bug092.go fixedbugs/bug092.go
fixedbugs/bug093.go
fixedbugs/bug094.go fixedbugs/bug094.go
fixedbugs/bug096.go fixedbugs/bug096.go
fixedbugs/bug097.go fixedbugs/bug097.go
@ -248,12 +296,14 @@ fixedbugs/bug109.go
fixedbugs/bug110.go fixedbugs/bug110.go
fixedbugs/bug111.go fixedbugs/bug111.go
fixedbugs/bug112.go fixedbugs/bug112.go
fixedbugs/bug113.go
fixedbugs/bug114.go fixedbugs/bug114.go
fixedbugs/bug115.go fixedbugs/bug115.go
fixedbugs/bug116.go fixedbugs/bug116.go
fixedbugs/bug117.go fixedbugs/bug117.go
fixedbugs/bug118.go fixedbugs/bug118.go
fixedbugs/bug119.go fixedbugs/bug119.go
# fixedbugs/bug120.go # needs floating point
fixedbugs/bug121.go fixedbugs/bug121.go
fixedbugs/bug122.go fixedbugs/bug122.go
fixedbugs/bug123.go fixedbugs/bug123.go
@ -277,11 +327,13 @@ fixedbugs/bug144.go
fixedbugs/bug145.go fixedbugs/bug145.go
fixedbugs/bug146.go fixedbugs/bug146.go
fixedbugs/bug147.go fixedbugs/bug147.go
fixedbugs/bug148.go
fixedbugs/bug149.go fixedbugs/bug149.go
fixedbugs/bug150.go fixedbugs/bug150.go
fixedbugs/bug151.go fixedbugs/bug151.go
fixedbugs/bug152.go fixedbugs/bug152.go
fixedbugs/bug153.go fixedbugs/bug153.go
# fixedbugs/bug154.go # needs floating point
fixedbugs/bug155.go fixedbugs/bug155.go
fixedbugs/bug156.go fixedbugs/bug156.go
fixedbugs/bug157.go fixedbugs/bug157.go
@ -345,6 +397,7 @@ fixedbugs/bug217.go
fixedbugs/bug218.go fixedbugs/bug218.go
fixedbugs/bug219.go fixedbugs/bug219.go
fixedbugs/bug220.go fixedbugs/bug220.go
# fixedbugs/bug221.go # slow
fixedbugs/bug222.go fixedbugs/bug222.go
fixedbugs/bug223.go fixedbugs/bug223.go
fixedbugs/bug224.go fixedbugs/bug224.go
@ -359,13 +412,14 @@ fixedbugs/bug232.go
fixedbugs/bug233.go fixedbugs/bug233.go
fixedbugs/bug234.go fixedbugs/bug234.go
fixedbugs/bug235.go fixedbugs/bug235.go
fixedbugs/bug236.go # fixedbugs/bug236.go # slow
fixedbugs/bug237.go fixedbugs/bug237.go
fixedbugs/bug238.go fixedbugs/bug238.go
fixedbugs/bug239.go fixedbugs/bug239.go
fixedbugs/bug240.go fixedbugs/bug240.go
fixedbugs/bug241.go fixedbugs/bug241.go
fixedbugs/bug242.go fixedbugs/bug242.go
# fixedbugs/bug243.go # fail
fixedbugs/bug244.go fixedbugs/bug244.go
fixedbugs/bug245.go fixedbugs/bug245.go
fixedbugs/bug246.go fixedbugs/bug246.go
@ -379,9 +433,12 @@ fixedbugs/bug253.go
fixedbugs/bug254.go fixedbugs/bug254.go
fixedbugs/bug255.go fixedbugs/bug255.go
fixedbugs/bug256.go fixedbugs/bug256.go
fixedbugs/bug257.go # fixedbugs/bug257.go # slow
# fixedbugs/bug258.go # needs floating point
fixedbugs/bug259.go fixedbugs/bug259.go
fixedbugs/bug261.go fixedbugs/bug261.go
fixedbugs/bug262.go fixedbugs/bug262.go
fixedbugs/bug263.go fixedbugs/bug263.go
fixedbugs/bug265.go fixedbugs/bug265.go
bugs/bug260.go
bugs/bug264.go

View File

@ -1,24 +1,65 @@
=========== ./cmp2.go
panic: runtime error: comparing uncomparable type []int
panic PC=xxx
=========== ./cmp3.go
panic: runtime error: comparing uncomparable type []int
panic PC=xxx
=========== ./cmp4.go
panic: runtime error: hash of unhashable type []int
panic PC=xxx
=========== ./cmp5.go
panic: runtime error: hash of unhashable type []int
panic PC=xxx
=========== ./helloworld.go
hello, world
=========== ./printbig.go
-9223372036854775808
9223372036854775807
=========== ./turing.go
Hello World!
=========== ken/intervar.go
print 1 bio 2 file 3 -- abc
=========== ken/label.go
100
=========== ken/rob1.go
9876543210
=========== ken/rob2.go
(defn foo (add 12 34))
=========== ken/simpprint.go
hello world
=========== ken/simpswitch.go
0out01out12out2aout34out4fiveout56out6aout78out89out9
=========== ken/string.go
abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
=========== chan/nonblock.go =========== chan/nonblock.go
PASS PASS
=========== cmp2.go =========== interface/fail.go
panic: runtime error: comparing uncomparable type []int panic: interface conversion: *main.S is not main.I: missing method Foo
panic PC=xxx panic PC=xxx
=========== cmp3.go =========== interface/returntype.go
panic: runtime error: comparing uncomparable type []int panic: interface conversion: *main.S is not main.I2: missing method Name
panic PC=xxx
=========== cmp4.go
panic: runtime error: hash of unhashable type []int
panic PC=xxx
=========== cmp5.go
panic: runtime error: hash of unhashable type []int
panic PC=xxx panic PC=xxx
@ -64,56 +105,17 @@ panic: interface conversion: interface is main.T, not main.T
panic PC=xxx panic PC=xxx
=========== fixedbugs/bug154.go =========== bugs/bug260.go
SIGSEGV: segmentation violation FAIL
Faulting address: 0x0 BUG: bug260 failed
PC=0x255b4
BUG: should not panic =========== bugs/bug264.go
foo
=========== fixedbugs/bug206.go bar
BUG: bug206 bar
bal
=========== helloworld.go bal
hello, world panic: barCount != 1
=========== interface/fail.go
panic: interface conversion: *main.S is not main.I: missing method Foo
panic PC=xxx panic PC=xxx
BUG
=========== interface/returntype.go
panic: interface conversion: *main.S is not main.I2: missing method Name
panic PC=xxx
=========== ken/intervar.go
print 1 bio 2 file 3 -- abc
=========== ken/label.go
100
=========== ken/rob1.go
9876543210
=========== ken/rob2.go
(defn foo (add 12 34))
=========== ken/simpprint.go
hello world
=========== ken/simpswitch.go
0out01out12out2aout34out4fiveout56out6aout78out89out9
=========== ken/string.go
abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
=========== printbig.go
-9223372036854775808
9223372036854775807
=========== sigchld.go
survived SIGCHLD
=========== turing.go
Hello World!

View File

@ -36,7 +36,7 @@ FAILEDFILE=/tmp/gotest3-$$-$USER
ulimit -v 4000000 ulimit -v 4000000
for i in $(cat arm-pass.txt) for i in $(cat arm-pass.txt | sed 's/#.*//')
do do
export F=$(basename $i .go) export F=$(basename $i .go)
dir=$(dirname $i) dir=$(dirname $i)