Den sön 27 mars 2022 kl 20:40 skrev Joel Sing <j...@sing.id.au>: > > The following updates lang/go to 1.18. > > This has been tested on amd64 and arm64 - it still needs to be tested > (including 'make regress') on armv7 and mips64.
This is the output of "make regress" on mips64 -- May the most significant bit of your life be positive.
Script started on Mon Mar 28 16:37:27 2022 edgepro# make regress ===> Regression tests for go-1.18 ##### Building packages and commands. ##### Testing packages. ok archive/tar (cached) ok archive/zip (cached) ok bufio (cached) ok bytes (cached) ok compress/bzip2 (cached) ok compress/flate (cached) ok compress/gzip (cached) ok compress/lzw (cached) ok compress/zlib (cached) ok container/heap (cached) ok container/list (cached) ok container/ring (cached) ok context (cached) ok crypto (cached) ok crypto/aes (cached) ok crypto/cipher (cached) ok crypto/des (cached) ok crypto/dsa (cached) ok crypto/ecdsa (cached) ok crypto/ed25519 (cached) ok crypto/ed25519/internal/edwards25519 (cached) ok crypto/ed25519/internal/edwards25519/field (cached) ok crypto/elliptic (cached) ok crypto/elliptic/internal/fiat (cached) [no tests to run] ok crypto/elliptic/internal/nistec (cached) ok crypto/hmac (cached) ok crypto/internal/subtle (cached) ok crypto/md5 (cached) ok crypto/rand (cached) ok crypto/rc4 (cached) ok crypto/rsa (cached) ok crypto/sha1 (cached) ok crypto/sha256 (cached) ok crypto/sha512 (cached) ok crypto/subtle (cached) ok crypto/tls (cached) ok crypto/x509 (cached) ok database/sql (cached) ok database/sql/driver (cached) ok debug/buildinfo (cached) ok debug/dwarf (cached) ok debug/elf (cached) ok debug/gosym (cached) ok debug/macho (cached) ok debug/pe (cached) ok debug/plan9obj (cached) ok embed (cached) [no tests to run] ok embed/internal/embedtest (cached) ok encoding/ascii85 (cached) ok encoding/asn1 (cached) ok encoding/base32 (cached) ok encoding/base64 (cached) ok encoding/binary (cached) ok encoding/csv (cached) ok encoding/gob (cached) ok encoding/hex (cached) ok encoding/json (cached) ok encoding/pem (cached) ok encoding/xml (cached) ok errors (cached) ok expvar (cached) ok flag (cached) ok fmt (cached) ok go/ast (cached) ok go/build 15.622s ok go/build/constraint (cached) ok go/constant (cached) ok go/doc (cached) ok go/format (cached) ok go/importer 1.550s ok go/internal/gccgoimporter (cached) ok go/internal/gcimporter 54.676s ok go/internal/srcimporter 49.184s ok go/parser (cached) ok go/printer (cached) ok go/scanner (cached) ok go/token (cached) ok go/types 30.291s ok hash (cached) ok hash/adler32 (cached) ok hash/crc32 (cached) ok hash/crc64 (cached) ok hash/fnv (cached) ok hash/maphash (cached) ok html (cached) ok html/template (cached) ok image (cached) ok image/color (cached) ok image/draw (cached) ok image/gif (cached) ok image/jpeg (cached) ok image/png (cached) ok index/suffixarray (cached) ok internal/abi 0.334s ok internal/buildcfg (cached) ok internal/cpu (cached) ok internal/execabs (cached) ok internal/fmtsort (cached) ok internal/fuzz (cached) ok internal/godebug (cached) ok internal/intern (cached) ok internal/itoa (cached) ok internal/poll (cached) ok internal/profile (cached) ok internal/reflectlite (cached) ok internal/singleflight (cached) ok internal/trace (cached) ok internal/unsafeheader (cached) ok internal/xcoff (cached) ok io (cached) ok io/fs (cached) ok io/ioutil (cached) ok log (cached) ok log/syslog (cached) ok math (cached) ok math/big (cached) ok math/bits (cached) ok math/cmplx (cached) ok math/rand (cached) ok mime (cached) ok mime/multipart (cached) ok mime/quotedprintable (cached) ok net (cached) ok net/http 48.980s ok net/http/cgi (cached) ok net/http/cookiejar (cached) ok net/http/fcgi (cached) ok net/http/httptest (cached) ok net/http/httptrace (cached) ok net/http/httputil (cached) ok net/http/internal (cached) ok net/http/internal/ascii (cached) ok net/http/pprof (cached) ok net/internal/socktest (cached) ok net/mail (cached) ok net/netip 1.880s ok net/rpc (cached) ok net/rpc/jsonrpc (cached) ok net/smtp (cached) ok net/textproto (cached) ok net/url (cached) ok os 2.319s ok os/exec (cached) ok os/exec/internal/fdtest (cached) ok os/signal (cached) ok os/user (cached) ok path (cached) ok path/filepath 0.625s ok plugin (cached) ok reflect (cached) ok regexp (cached) ok regexp/syntax (cached) --- FAIL: TestEINTR (180.12s) testenv.go:359: [/tmp/go-build2347492981/testprogcgo.exe EINTR] exit status: exit status 2 crash_cgo_test.go:687: want OK , got SIGQUIT: quit PC=0x4aabcba18 m=8 sigcode=0 goroutine 0 [idle]: runtime.thrsleep(0xc00048c738, 0x3, 0x0, 0x0, 0xc00048c738) /tmp/pobj/go-1.18/go/src/runtime/sys_openbsd1.go:17 +0x2c runtime.semasleep(0xffffffffffffffff) /tmp/pobj/go-1.18/go/src/runtime/os_openbsd.go:113 +0x128 runtime.notesleep(0xc00048c548) /tmp/pobj/go-1.18/go/src/runtime/lock_sema.go:181 +0xb8 runtime.mPark(...) /tmp/pobj/go-1.18/go/src/runtime/proc.go:1447 runtime.stopm() /tmp/pobj/go-1.18/go/src/runtime/proc.go:2226 +0xd0 runtime.findrunnable() /tmp/pobj/go-1.18/go/src/runtime/proc.go:2802 +0xd10 runtime.schedule() /tmp/pobj/go-1.18/go/src/runtime/proc.go:3185 +0x330 runtime.park_m(0xc000226000) /tmp/pobj/go-1.18/go/src/runtime/proc.go:3334 +0x1c4 runtime.mcall() /tmp/pobj/go-1.18/go/src/runtime/asm_mips64x.s:142 +0x50 goroutine 1 [semacquire, 2 minutes]: sync.runtime_Semacquire(0xc00001c3c8) /tmp/pobj/go-1.18/go/src/runtime/sema.go:56 +0x4c sync.(*WaitGroup).Wait(0xc00001c3c0) /tmp/pobj/go-1.18/go/src/sync/waitgroup.go:136 +0x9c main.EINTR() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:67 +0x1cc main.main() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/main.go:34 +0x200 goroutine 6 [syscall]: syscall.syscall(0x100b0bf8, 0x4, 0xc000630000, 0x200000) /tmp/pobj/go-1.18/go/src/runtime/sys_openbsd3.go:24 +0x1c syscall.write(0x4, {0xc000630000, 0x200000, 0x200000}) /tmp/pobj/go-1.18/go/src/syscall/zsyscall_openbsd_mips64.go:1585 +0x7c syscall.Write(...) /tmp/pobj/go-1.18/go/src/syscall/syscall_unix.go:216 internal/poll.ignoringEINTRIO(...) /tmp/pobj/go-1.18/go/src/internal/poll/fd_unix.go:794 internal/poll.(*FD).Write(0xc00007e1e0, {0xc000630000, 0x200000, 0x200000}) /tmp/pobj/go-1.18/go/src/internal/poll/fd_unix.go:383 +0x394 os.(*File).write(...) /tmp/pobj/go-1.18/go/src/os/file_posix.go:48 os.(*File).Write(0xc000018030, {0xc000630000, 0x200000, 0x200000}) /tmp/pobj/go-1.18/go/src/os/file.go:176 +0xa0 main.testPipe.func1() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:134 +0x1b0 created by main.testPipe /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:123 +0x26c goroutine 7 [chan receive]: main.sendSomeSignals() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:107 +0xd8 main.testPipe.func2() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:150 +0x154 created by main.testPipe /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:138 +0x2f0 goroutine 8 [syscall]: syscall.syscall(0x100b0bf8, 0xb, 0xc000898000, 0x200000) /tmp/pobj/go-1.18/go/src/runtime/sys_openbsd3.go:24 +0x1c syscall.write(0xb, {0xc000898000, 0x200000, 0x200000}) /tmp/pobj/go-1.18/go/src/syscall/zsyscall_openbsd_mips64.go:1585 +0x7c syscall.Write(...) /tmp/pobj/go-1.18/go/src/syscall/syscall_unix.go:216 internal/poll.ignoringEINTRIO(...) /tmp/pobj/go-1.18/go/src/internal/poll/fd_unix.go:794 internal/poll.(*FD).Write(0xc00007e240, {0xc000898000, 0x200000, 0x200000}) /tmp/pobj/go-1.18/go/src/internal/poll/fd_unix.go:383 +0x394 os.(*File).write(...) /tmp/pobj/go-1.18/go/src/os/file_posix.go:48 os.(*File).Write(0xc000018038, {0xc000898000, 0x200000, 0x200000}) /tmp/pobj/go-1.18/go/src/os/file.go:176 +0xa0 main.testNet.func1() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:185 +0x3c8 created by main.testNet /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:167 +0x238 goroutine 9 [chan receive]: main.sendSomeSignals() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:107 +0xd8 main.testNet.func2() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:210 +0x394 created by main.testNet /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:189 +0x2e0 goroutine 20 [runnable]: main.spin() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:79 +0x2f4 main.sendSomeSignals.func1() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:103 +0x3c created by main.sendSomeSignals /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:102 +0xbc goroutine 21 [runnable]: main.spin() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:80 +0x1d8 main.sendSomeSignals.func1() /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:103 +0x3c created by main.sendSomeSignals /tmp/pobj/go-1.18/go/src/runtime/testdata/testprogcgo/eintr.go:102 +0xbc r0 0x0 r1 0x4b775c5f8 r2 0x58 r3 0x4b775c5a0 r4 0xc00048c738 r5 0x3 r6 0x0 r7 0x0 r8 0xc00048c738 r9 0x2 r10 0x1 r11 0x1 r12 0xc00001c198 r13 0x2 r14 0x0 r15 0x1 r16 0x1 r17 0x30000 r18 0x30008 r19 0x6001 r20 0xc00048c680 r21 0x0 r22 0x101a59f0 r23 0x10283300 r24 0xffffffffffffbf70 r25 0x4aabcba10 r26 0x0 r27 0x0 r28 0x10283300 r29 0x4b775c580 r30 0xc00009e1a0 r31 0x10082d98 pc 0x4aabcba18 link 0x10082d98 lo 0x1 hi 0x0 FAIL FAIL runtime 377.264s ok runtime/cgo (cached) ok runtime/debug (cached) ok runtime/internal/atomic (cached) ok runtime/internal/math (cached) ok runtime/internal/sys (cached) ok runtime/metrics (cached) ok runtime/pprof 29.538s ok runtime/trace (cached) ok sort (cached) ok strconv (cached) ok strings (cached) ok sync (cached) ok sync/atomic (cached) ok syscall (cached) ok testing (cached) ok testing/fstest (cached) ok testing/iotest (cached) ok testing/quick (cached) ok text/scanner (cached) ok text/tabwriter (cached) ok text/template (cached) ok text/template/parse (cached) ok time (cached) ok unicode (cached) ok unicode/utf16 (cached) ok unicode/utf8 (cached) ok cmd/addr2line 27.530s ok cmd/api 226.010s ok cmd/asm/internal/asm (cached) ok cmd/asm/internal/lex (cached) ok cmd/compile/internal/amd64 (cached) ok cmd/compile/internal/dwarfgen 9.813s ok cmd/compile/internal/importer 6.537s ok cmd/compile/internal/ir (cached) ok cmd/compile/internal/logopt 0.545s ok cmd/compile/internal/noder (cached) ok cmd/compile/internal/ssa 3.846s ok cmd/compile/internal/syntax (cached) ok cmd/compile/internal/test 61.520s ok cmd/compile/internal/typecheck 10.300s ok cmd/compile/internal/types (cached) ok cmd/compile/internal/types2 17.360s ok cmd/cover 42.499s ok cmd/dist (cached) ok cmd/doc (cached) ok cmd/fix 65.378s ok cmd/go (cached) ok cmd/go/internal/auth (cached) ok cmd/go/internal/cache (cached) ok cmd/go/internal/fsys (cached) ok cmd/go/internal/generate (cached) ok cmd/go/internal/get (cached) ok cmd/go/internal/imports (cached) ok cmd/go/internal/load (cached) ok cmd/go/internal/lockedfile (cached) ok cmd/go/internal/lockedfile/internal/filelock (cached) ok cmd/go/internal/modconv (cached) ok cmd/go/internal/modfetch (cached) ok cmd/go/internal/modfetch/codehost (cached) ok cmd/go/internal/modfetch/zip_sum_test (cached) ok cmd/go/internal/modload (cached) ok cmd/go/internal/mvs (cached) ok cmd/go/internal/par (cached) ok cmd/go/internal/search (cached) ok cmd/go/internal/str (cached) ok cmd/go/internal/test 0.429s ok cmd/go/internal/vcs (cached) ok cmd/go/internal/web (cached) ok cmd/go/internal/work (cached) ok cmd/gofmt (cached) ok cmd/internal/archive (cached) ok cmd/internal/buildid (cached) ok cmd/internal/dwarf (cached) ok cmd/internal/edit (cached) ok cmd/internal/goobj (cached) ok cmd/internal/moddeps 21.979s ok cmd/internal/obj 0.166s ok cmd/internal/obj/ppc64 1.092s ok cmd/internal/obj/riscv 0.576s ok cmd/internal/obj/s390x (cached) ok cmd/internal/obj/x86 3.113s ok cmd/internal/objabi (cached) ok cmd/internal/pkgpath (cached) ok cmd/internal/quoted (cached) ok cmd/internal/src (cached) ok cmd/internal/sys (cached) ok cmd/internal/test2json (cached) --- FAIL: TestMergeNoteSections (9.17s) elf_test.go:230: # command-line-arguments /tmp/pobj/go-1.18/go/pkg/tool/openbsd_mips64/link: running cc failed: exit status 1 /usr/bin/ld: unrecognized option '--build-id=0xf4e8cd51ce8bae2996dc3b74639cdeaa1f7fee5f' /usr/bin/ld: use the --help option for usage information cc: error: linker command failed with exit code 1 (use -v to see invocation) elf_test.go:231: exit status 2 FAIL FAIL cmd/link 143.643s ok cmd/link/internal/benchmark (cached) ok cmd/link/internal/ld 162.783s ok cmd/link/internal/loader (cached) ok cmd/nm 31.708s ok cmd/objdump (cached) ok cmd/pack 36.988s ok cmd/pprof (cached) ok cmd/trace (cached) ok cmd/vet 52.626s FAIL go tool dist: Failed: exit status 1 *** Error 1 in . (Makefile:123 'do-test': @cd /usr/ports/pobj/go-1.18/go/src && ulimit -d $(ulimit -H -d) -n 256 && /usr/bin/env -i GO386=...) *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2996 '/usr/ports/pobj/go-1.18/build-mips64/.test_done': @cd /usr/ports/lang/go &&...) *** Error 2 in /usr/ports/lang/go (/usr/ports/infrastructure/mk/bsd.port.mk:2607 'test': @lock=go-1.18; export _LOCKS_HELD=" go-1.18"; /u...) edgepro# ^D Script done on Mon Mar 28 19:51:09 2022