{"action":"opened","issue":{"url":"https://api.github.com/repos/golang/go/issues/27823","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/27823/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/27823/comments","events_url":"https://api.github.com/repos/golang/go/issues/27823/events","html_url":"https://github.com/golang/go/issues/27823","id":362984377,"node_id":"MDU6SXNzdWUzNjI5ODQzNzc=","number":27823,"title":"misc/cgo/test fails on OpenBSD 6.4-amd64","user":{"login":"blackgnezdo","id":8768818,"node_id":"MDQ6VXNlcjg3Njg4MTg=","avatar_url":"https://avatars3.githubusercontent.com/u/8768818?v=4","gravatar_id":"","url":"https://api.github.com/users/blackgnezdo","html_url":"https://github.com/blackgnezdo","followers_url":"https://api.github.com/users/blackgnezdo/followers","following_url":"https://api.github.com/users/blackgnezdo/following{/other_user}","gists_url":"https://api.github.com/users/blackgnezdo/gists{/gist_id}","starred_url":"https://api.github.com/users/blackgnezdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blackgnezdo/subscriptions","organizations_url":"https://api.github.com/users/blackgnezdo/orgs","repos_url":"https://api.github.com/users/blackgnezdo/repos","events_url":"https://api.github.com/users/blackgnezdo/events{/privacy}","received_events_url":"https://api.github.com/users/blackgnezdo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-23T22:45:31Z","updated_at":"2018-09-23T22:45:31Z","closed_at":null,"author_association":"NONE","body":"@4a6f656c , I'm wondering if this error in dmesg is relevant (the very end of dmesg):\r\nunix.test[30202]: pledge \"stdio\", syscall 4\r\n\r\n### What version of Go are you using (`go version`)?\r\n```\r\nci-openbsd$ /usr/ports/pobj/go-1.11/go/bin/go version   \r\ngo version go1.11 openbsd/amd64\r\n```\r\n\r\n### Does this issue reproduce with the latest release?\r\n\r\nDidn't check the tip.\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n\r\n```\r\nci-openbsd$ /usr/ports/pobj/go-1.11/go/bin/go env     \r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOCACHE=\"/home/syzkaller/.cache/go-build\"\r\nGOEXE=\"\"\r\nGOFLAGS=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"openbsd\"\r\nGOOS=\"openbsd\"\r\nGOPATH=\"/home/syzkaller/go\"\r\nGOPROXY=\"\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/ports/pobj/go-1.11/go\"\r\nGOTMPDIR=\"\"\r\nGOTOOLDIR=\"/usr/ports/pobj/go-1.11/go/pkg/tool/openbsd_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"cc\"\r\nCXX=\"c++\"\r\nCGO_ENABLED=\"1\"\r\nGOMOD=\"\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\nPKG_CONFIG=\"pkg-config\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build367290739=/tmp/go-build -gno-record-gcc-switches\"\r\n```\r\n\r\n### What did you do?\r\n\r\nBuilt OpenBSD go port and ran its tests with `make test`\r\n```\r\n# _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test.test\r\nloadelf: $WORK/b048/_pkg_.a(_x004.o): duplicate symbol reference: __retguard_211 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x015.o): duplicate symbol reference: __retguard_497 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x026.o): duplicate symbol reference: __retguard_2380 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x027.o): duplicate symbol reference: __retguard_3644 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x046.o): duplicate symbol reference: __retguard_3671 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x049.o): duplicate symbol reference: __retguard_2140 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x060.o): duplicate symbol reference: __retguard_663 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x071.o): duplicate symbol reference: __retguard_1302 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x088.o): duplicate symbol reference: __retguard_2123 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x091.o): duplicate symbol reference: __retguard_623 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x092.o): duplicate symbol reference: __retguard_378 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b057/_pkg_.a(_x003.o): duplicate symbol reference: __retguard_190 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test/issue8828(.openbsd.randomdata.retguard)\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callGoFoo not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callGoStackCheck not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callGoWithString not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callback not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target returnAfterGrow not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target returnAfterGrowFromGo not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target mysleep not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target twoSleep not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callMulti not defined\r\n/usr/ports/pobj/go-1.11/go/pkg/tool/openbsd_amd64/link: too many errors\r\nFAIL    _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test [build failed]\r\n```\r\n\r\n### What did you expect to see?\r\n\r\nAll tests pass.\r\n\r\n### What did you see instead?\r\n\r\nmisc/cgo/test failed. There's a slew of other messages which don't seem to be fatal.\r\n\r\nNote, this failure is only reachable on GCE by limiting the number of vCPUs to 1 per #27822. Full log below:\r\n\r\n```\r\nLast login: Sun Sep 23 14:47:54 2018 from 104.133.2.89\r\nOpenBSD 6.4-beta (GENERIC.MP) #317: Sun Sep 23 09:37:09 MDT 2018\r\n\r\nWelcome to OpenBSD: The proactively secure Unix-like operating system.\r\n\r\nPlease use the sendbug(1) utility to report bugs in the system.\r\nBefore reporting a bug, please try to reproduce it with the latest\r\nversion of the code.  With bug reports, please try to ensure that\r\nenough information to reproduce the problem is enclosed, and if a\r\nknown fix for it exists, include that as well.\r\n\r\nci-openbsd$ cd /usr/ports/lang/go\r\nci-openbsd$ make test\r\n===>  Building for go-1.11\r\nBuilding Go cmd/dist using /usr/local/go/bootstrap.\r\nBuilding Go toolchain1 using /usr/local/go/bootstrap.\r\nBuilding Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.\r\nBuilding Go toolchain2 using go_bootstrap and Go toolchain1.\r\nBuilding Go toolchain3 using go_bootstrap and Go toolchain2.\r\nBuilding packages and commands for openbsd/amd64.\r\n===>  Regression tests for go-1.11\r\n\r\n##### Building packages and commands.\r\n\r\n##### Testing packages.\r\nok      archive/tar     0.224s\r\nok      archive/zip     1.727s\r\nok      bufio   0.078s\r\nok      bytes   0.172s\r\nok      compress/bzip2  0.224s\r\nok      compress/flate  1.155s\r\nok      compress/gzip   0.037s\r\nok      compress/lzw    0.019s\r\nok      compress/zlib   0.044s\r\nok      container/heap  0.019s\r\nok      container/list  0.015s\r\nok      container/ring  0.026s\r\nok      context 1.246s\r\nok      crypto  0.014s\r\nok      crypto/aes      0.031s\r\nok      crypto/cipher   0.020s\r\nok      crypto/des      0.020s\r\nok      crypto/dsa      0.015s\r\nok      crypto/ecdsa    0.152s\r\nok      crypto/elliptic 0.574s\r\nok      crypto/hmac     0.014s\r\nok      crypto/internal/subtle  0.017s\r\nok      crypto/md5      0.015s\r\nok      crypto/rand     0.067s\r\nok      crypto/rc4      0.074s\r\nok      crypto/rsa      0.092s\r\nok      crypto/sha1     0.016s\r\nok      crypto/sha256   0.016s\r\nok      crypto/sha512   0.017s\r\nok      crypto/subtle   0.016s\r\nok      crypto/tls      1.352s\r\nok      crypto/x509     1.265s\r\nok      database/sql    1.178s\r\nok      database/sql/driver     0.014s\r\nok      debug/dwarf     0.147s\r\nok      debug/elf       0.110s\r\nok      debug/gosym     0.297s\r\nok      debug/macho     0.052s\r\nok      debug/pe        0.070s\r\nok      debug/plan9obj  0.015s\r\nok      encoding/ascii85        0.017s\r\nok      encoding/asn1   0.018s\r\nok      encoding/base32 0.036s\r\nok      encoding/base64 0.018s\r\nok      encoding/binary 0.018s\r\nok      encoding/csv    0.023s\r\nok      encoding/gob    0.051s\r\nok      encoding/hex    0.018s\r\nok      encoding/json   0.356s\r\nok      encoding/pem    0.026s\r\nok      encoding/xml    0.054s\r\nok      errors  0.014s\r\nok      expvar  0.019s\r\nok      flag    0.016s\r\nok      fmt     0.091s\r\nok      go/ast  0.020s\r\nok      go/build        1.192s\r\nok      go/constant     0.017s\r\nok      go/doc  0.202s\r\nok      go/format       0.019s\r\nok      go/importer     0.214s\r\nok      go/internal/gccgoimporter       0.024s\r\nok      go/internal/gcimporter  0.752s\r\nok      go/internal/srcimporter 1.207s\r\nok      go/parser       0.063s\r\nok      go/printer      0.379s\r\nok      go/scanner      0.017s\r\nok      go/token        0.032s\r\nok      go/types        1.234s\r\nok      hash    0.018s\r\nok      hash/adler32    0.021s\r\nok      hash/crc32      0.020s\r\nok      hash/crc64      0.016s\r\nok      hash/fnv        0.017s\r\nok      html    0.019s\r\nok      html/template   0.167s\r\nok      image   0.179s\r\nok      image/color     0.032s\r\nok      image/draw      0.058s\r\nok      image/gif       0.441s\r\nok      image/jpeg      0.225s\r\nok      image/png       0.170s\r\nok      index/suffixarray       0.029s\r\nok      internal/cpu    0.017s\r\nok      internal/poll   0.073s\r\nok      internal/singleflight   0.035s\r\nok      internal/trace  1.642s\r\nok      io      0.312s\r\nok      io/ioutil       0.149s\r\nok      log     0.025s\r\nok      log/syslog      2.249s\r\nok      math    0.025s\r\nok      math/big        2.180s\r\nok      math/bits       0.022s\r\nok      math/cmplx      0.018s\r\nok      math/rand       0.225s\r\nok      mime    0.029s\r\nok      mime/multipart  0.640s\r\nok      mime/quotedprintable    0.202s\r\nok      net     6.127s\r\nok      net/http        16.640s\r\nok      net/http/cgi    0.631s\r\nok      net/http/cookiejar      0.030s\r\nok      net/http/fcgi   0.022s\r\nok      net/http/httptest       0.061s\r\nok      net/http/httptrace      0.021s\r\nok      net/http/httputil       0.152s\r\nok      net/http/internal       0.018s\r\nok      net/http/pprof  2.059s\r\nok      net/internal/socktest   0.016s\r\nok      net/mail        0.021s\r\nok      net/rpc 0.060s\r\nok      net/rpc/jsonrpc 0.028s\r\nok      net/smtp        0.037s\r\nok      net/textproto   0.020s\r\nok      net/url 0.024s\r\nok      os      2.848s\r\nok      os/exec 0.927s\r\nok      os/signal       5.112s\r\nok      os/user 0.019s\r\nok      path    0.017s\r\nok      path/filepath   0.734s\r\nok      reflect 0.235s\r\nok      regexp  0.189s\r\nok      regexp/syntax   0.303s\r\nok      runtime 47.595s\r\nok      runtime/debug   0.096s\r\nok      runtime/internal/atomic 0.098s\r\nok      runtime/internal/sys    0.016s\r\nok      runtime/pprof   9.459s\r\nok      runtime/pprof/internal/profile  0.017s\r\nok      runtime/trace   5.337s\r\nok      sort    0.074s\r\nok      strconv 0.403s\r\nok      strings 0.251s\r\nok      sync    0.887s\r\nok      sync/atomic     0.074s\r\nok      syscall 0.087s\r\nok      testing 1.471s\r\nok      testing/quick   0.103s\r\nok      text/scanner    0.020s\r\nok      text/tabwriter  0.021s\r\nok      text/template   0.422s\r\nok      text/template/parse     0.022s\r\nok      time    5.290s\r\nok      unicode 0.020s\r\nok      unicode/utf16   0.016s\r\nok      unicode/utf8    0.020s\r\nok      vendor/golang_org/x/crypto/chacha20poly1305     0.059s\r\nok      vendor/golang_org/x/crypto/cryptobyte   0.022s\r\nok      vendor/golang_org/x/crypto/curve25519   0.030s\r\nok      vendor/golang_org/x/crypto/internal/chacha20    0.087s\r\nok      vendor/golang_org/x/crypto/poly1305     0.024s\r\nok      vendor/golang_org/x/net/dns/dnsmessage  0.139s\r\nok      vendor/golang_org/x/net/http/httpguts   0.018s\r\nok      vendor/golang_org/x/net/http/httpproxy  0.020s\r\nok      vendor/golang_org/x/net/http2/hpack     0.022s\r\nok      vendor/golang_org/x/net/idna    0.017s\r\nok      vendor/golang_org/x/net/nettest 1.753s\r\nok      vendor/golang_org/x/net/route   0.018s\r\nok      vendor/golang_org/x/text/transform      0.016s\r\nok      vendor/golang_org/x/text/unicode/norm   0.016s\r\nok      cmd/addr2line   3.395s\r\nok      cmd/api 0.064s\r\nok      cmd/asm/internal/asm    0.930s\r\nok      cmd/asm/internal/lex    0.017s\r\nok      cmd/compile     0.023s\r\nok      cmd/compile/internal/gc 27.490s\r\nok      cmd/compile/internal/ssa        0.631s\r\nok      cmd/compile/internal/syntax     0.074s\r\nok      cmd/compile/internal/test       0.016s [no tests to run]\r\nok      cmd/compile/internal/types      0.017s\r\nok      cmd/cover       4.792s\r\nok      cmd/doc 0.141s\r\nok      cmd/fix 10.120s\r\nok      cmd/go  212.269s\r\nok      cmd/go/internal/cache   14.488s\r\nok      cmd/go/internal/dirhash 0.078s\r\nok      cmd/go/internal/generate        0.042s\r\nok      cmd/go/internal/get     0.132s\r\nok      cmd/go/internal/imports 0.043s\r\nok      cmd/go/internal/load    0.034s\r\nok      cmd/go/internal/modconv 0.208s\r\nok      cmd/go/internal/modfetch        0.064s\r\nok      cmd/go/internal/modfetch/codehost       0.039s\r\nok      cmd/go/internal/modfile 0.086s\r\nok      cmd/go/internal/modload 0.047s\r\nok      cmd/go/internal/module  0.018s\r\nok      cmd/go/internal/mvs     0.022s\r\nok      cmd/go/internal/par     0.029s\r\nok      cmd/go/internal/search  0.019s\r\nok      cmd/go/internal/semver  0.017s\r\nok      cmd/go/internal/txtar   0.016s\r\nok      cmd/go/internal/web2    0.023s\r\nok      cmd/go/internal/work    0.095s\r\nok      cmd/gofmt       0.264s\r\nok      cmd/internal/buildid    0.175s\r\nok      cmd/internal/dwarf      0.016s\r\nok      cmd/internal/edit       0.023s\r\nok      cmd/internal/goobj      1.395s\r\nok      cmd/internal/obj        0.017s\r\nok      cmd/internal/obj/arm64  0.126s\r\nok      cmd/internal/obj/x86    0.615s\r\nok      cmd/internal/objabi     0.016s\r\nok      cmd/internal/src        0.017s\r\nok      cmd/internal/test2json  0.195s\r\nok      cmd/link        10.119s\r\nok      cmd/link/internal/ld    13.821s\r\nok      cmd/link/internal/sym   0.017s\r\nok      cmd/nm  6.633s\r\nok      cmd/objdump     3.055s\r\nok      cmd/pack        3.006s\r\nok      cmd/trace       0.091s\r\nok      cmd/vendor/github.com/google/pprof/internal/binutils    0.035s\r\nok      cmd/vendor/github.com/google/pprof/internal/driver      0.899s\r\nok      cmd/vendor/github.com/google/pprof/internal/elfexec     0.017s\r\nok      cmd/vendor/github.com/google/pprof/internal/graph       0.030s\r\nok      cmd/vendor/github.com/google/pprof/internal/measurement 0.018s\r\nok      cmd/vendor/github.com/google/pprof/internal/report      0.189s\r\nok      cmd/vendor/github.com/google/pprof/internal/symbolizer  0.023s\r\nok      cmd/vendor/github.com/google/pprof/internal/symbolz     0.023s\r\nok      cmd/vendor/github.com/google/pprof/profile      0.185s\r\nok      cmd/vendor/github.com/ianlancetaylor/demangle   0.059s\r\nok      cmd/vendor/golang.org/x/arch/arm/armasm 0.060s\r\nok      cmd/vendor/golang.org/x/arch/arm64/arm64asm     0.461s\r\nok      cmd/vendor/golang.org/x/arch/ppc64/ppc64asm     0.051s\r\nok      cmd/vendor/golang.org/x/arch/x86/x86asm 0.191s\r\nok      cmd/vendor/golang.org/x/crypto/ssh/terminal     0.019s\r\nok      cmd/vendor/golang.org/x/sys/unix        0.467s\r\nok      cmd/vet 6.840s\r\nok      cmd/vet/internal/cfg    0.018s\r\n\r\n##### os/user with tag osusergo\r\nok      os/user 0.014s\r\n\r\n##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick\r\nok      runtime 47.853s\r\n\r\n##### Testing without libgcc.\r\nok      crypto/x509     6.199s\r\nok      net     0.238s\r\nok      os/user 0.021s\r\n\r\n##### sync -cpu=10\r\nok      sync    2.548s\r\n\r\n##### ../misc/cgo/stdio\r\n\r\n##### ../misc/cgo/life\r\n\r\n##### ../misc/cgo/test\r\n# _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test\r\n/tmp/go-build043627589/b048/_x044.o: In function `testSendSIG':\r\n./issue3250.go:30: warning: rand() may return deterministic values, is that what you want?\r\n/tmp/go-build043627589/b048/_x017.o: In function `issue12030conv':\r\n./issue12030.go:14: warning: sprintf() is often misused, please use snprintf()\r\n# _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test.test\r\n/tmp/go-link-929569309/000043.o: In function `testSendSIG':\r\n/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test/issue3250.go:30: warning: rand() may return deterministic values, is that what you want?\r\n/tmp/go-link-929569309/000016.o: In function `issue12030conv':\r\n/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test/issue12030.go:14: warning: sprintf() is often misused, please use snprintf()\r\nPASS\r\nok      _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test 1.826s\r\n# _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test\r\n/tmp/go-build834841973/b048/_x044.o: In function `testSendSIG':\r\n./issue3250.go:30: warning: rand() may return deterministic values, is that what you want?\r\n/tmp/go-build834841973/b048/_x017.o: In function `issue12030conv':\r\n./issue12030.go:14: warning: sprintf() is often misused, please use snprintf()\r\n# _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test.test\r\nloadelf: $WORK/b048/_pkg_.a(_x004.o): duplicate symbol reference: __retguard_211 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x015.o): duplicate symbol reference: __retguard_497 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x026.o): duplicate symbol reference: __retguard_2380 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x027.o): duplicate symbol reference: __retguard_3644 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x046.o): duplicate symbol reference: __retguard_3671 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x049.o): duplicate symbol reference: __retguard_2140 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x060.o): duplicate symbol reference: __retguard_663 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x071.o): duplicate symbol reference: __retguard_1302 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x088.o): duplicate symbol reference: __retguard_2123 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x091.o): duplicate symbol reference: __retguard_623 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b048/_pkg_.a(_x092.o): duplicate symbol reference: __retguard_378 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard)\r\nloadelf: $WORK/b057/_pkg_.a(_x003.o): duplicate symbol reference: __retguard_190 in both _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.openbsd.randomdata.retguard) and _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test/issue8828(.openbsd.randomdata.retguard)\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callGoFoo not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callGoStackCheck not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callGoWithString not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callback not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target returnAfterGrow not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target returnAfterGrowFromGo not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target mysleep not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target twoSleep not defined\r\n_/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test(.text): relocation target callMulti not defined\r\n/usr/ports/pobj/go-1.11/go/pkg/tool/openbsd_amd64/link: too many errors\r\nFAIL    _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test [build failed]\r\n2018/09/23 15:31:56 Failed: exit status 2\r\n# _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test\r\n/tmp/go-build037019398/b049/_x044.o: In function `testSendSIG':\r\n./issue3250.go:30: warning: rand() may return deterministic values, is that what you want?\r\n/tmp/go-build037019398/b049/_x017.o: In function `issue12030conv':\r\n./issue12030.go:14: warning: sprintf() is often misused, please use snprintf()\r\n# _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test.test\r\n/tmp/go-link-446790783/000043.o: In function `testSendSIG':\r\n/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test/issue3250.go:30: warning: rand() may return deterministic values, is that what you want?\r\n/tmp/go-link-446790783/000016.o: In function `issue12030conv':\r\n/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test/issue12030.go:14: warning: sprintf() is often misused, please use snprintf()\r\nPASS\r\nok      _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test 1.465s\r\n# _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test\r\n/tmp/go-build155933921/b049/_x044.o: In function `testSendSIG':\r\n./issue3250.go:30: warning: rand() may return deterministic values, is that what you want?\r\n/tmp/go-build155933921/b049/_x017.o: In function `issue12030conv':\r\n./issue12030.go:14: warning: sprintf() is often misused, please use snprintf()\r\n# _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test.test\r\n/tmp/go-link-955024439/000043.o: In function `testSendSIG':\r\n/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test/issue3250.go:30: warning: rand() may return deterministic values, is that what you want?\r\n/tmp/go-link-955024439/000016.o: In function `issue12030conv':\r\n/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test/issue12030.go:14: warning: sprintf() is often misused, please use snprintf()\r\nPASS\r\nok      _/syzkaller/ports/pobj/go-1.11/go/misc/cgo/test 1.338s\r\n\r\n##### ../misc/cgo/testgodefs\r\n2018/09/23 15:32:00 FAILED\r\n*** Error 1 in . (Makefile:76 'do-test': @cd /usr/ports/pobj/go-1.11/go/src &&  ulimit -n 256 -d 2097152 &&  CC=\"cc\"  CXX=\"c++\"  PATH=/usr/p...)\r\n*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2761 '/usr/ports/pobj/go-1.11/build-amd64/.test_done')\r\n*** Error 1 in /syzkaller/ports/lang/go (/usr/ports/infrastructure/mk/bsd.port.mk:2419 'test')\r\nci-openbsd$ echo $?\r\n1\r\nci-openbsd$ dmesg\r\nOpenBSD 6.4-beta (GENERIC.MP) #317: Sun Sep 23 09:37:09 MDT 2018\r\n    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP\r\nreal mem = 17163079680 (16367MB)\r\navail mem = 16633655296 (15863MB)\r\nmpath0 at root\r\nscsibus0 at mpath0: 256 targets\r\nmainbus0 at root\r\nbios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2a70 (13 entries)\r\nbios0: vendor Google version \"Google\" date 01/01/2011\r\nbios0: Google Google Compute Engine\r\nacpi0 at bios0: rev 0\r\nacpi0: sleep states S3 S4 S5\r\nacpi0: tables DSDT FACP SSDT APIC WAET SRAT\r\nacpi0: wakeup devices\r\nacpitimer0 at acpi0: 3579545 Hz, 24 bits\r\nacpimadt0 at acpi0 addr 0xfee00000: PC-AT compat\r\ncpu0 at mainbus0: apid 0 (boot processor)\r\ncpu0: Intel(R) Xeon(R) CPU @ 2.30GHz, 2241.41 MHz, 06-3f-00\r\ncpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,VMX,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,XSAVEOPT,MELTDOWN\r\ncpu0: 256KB 64b/line 8-way L2 cache\r\ncpu0: smt 0, core 0, package 0\r\nmtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges\r\ncpu0: apic clock running at 970MHz\r\nioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins\r\nacpiprt0 at acpi0: bus 0 (PCI0)\r\nacpicpu0 at acpi0: C1(@1 halt!)\r\n\"ACPI0006\" at acpi0 not configured\r\nacpicmos0 at acpi0\r\n\"QEMU0001\" at acpi0 not configured\r\n\"ACPI0007\" at acpi0 not configured\r\npvbus0 at mainbus0: KVM\r\npci0 at mainbus0 bus 0\r\npchb0 at pci0 dev 0 function 0 \"Intel 82441FX\" rev 0x02\r\npcib0 at pci0 dev 1 function 0 \"Intel 82371AB PIIX4 ISA\" rev 0x03\r\npiixpm0 at pci0 dev 1 function 3 \"Intel 82371AB Power\" rev 0x03: SMBus disabled\r\nvirtio0 at pci0 dev 3 function 0 \"Qumranet Virtio SCSI\" rev 0x00\r\nvioscsi0 at virtio0: qsize 8192\r\nscsibus1 at vioscsi0: 253 targets\r\nsd0 at scsibus1 targ 1 lun 0: <Google, PersistentDisk, 1> SCSI4 0/direct fixed serial.Google_PersistentDisk_\r\nsd0: 10240MB, 512 bytes/sector, 20971520 sectors, thin\r\nsd1 at scsibus1 targ 2 lun 0: <Google, PersistentDisk, 1> SCSI4 0/direct fixed serial.Google_PersistentDisk_\r\nsd1: 204800MB, 512 bytes/sector, 419430400 sectors, thin\r\nvirtio0: msix shared\r\nvirtio1 at pci0 dev 4 function 0 \"Qumranet Virtio Network\" rev 0x00\r\nvio0 at virtio1: address 42:01:0a:80:0a:11\r\nvirtio1: msix shared\r\nisa0 at pcib0\r\nisadma0 at isa0\r\ncom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo\r\ncom0: console\r\ncom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo\r\ncom2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo\r\npckbc0 at isa0 port 0x60/5 irq 1 irq 12\r\npckbd0 at pckbc0 (kbd slot)\r\nwskbd0 at pckbd0 mux 1\r\npms0 at pckbc0 (aux slot)\r\nwsmouse0 at pms0 mux 0\r\npcppi0 at isa0 port 0x61\r\nspkr0 at pcppi0\r\nvmm0 at mainbus0: VMX/EPT (using slow L1TF mitigation)\r\nvscsi0 at root\r\nscsibus2 at vscsi0: 256 targets\r\nsoftraid0 at root\r\nscsibus3 at softraid0: 256 targets\r\nroot on sd0a (8a08b1245e3a5755.a) swap on sd0b dump on sd0b\r\nunix.test[30202]: pledge \"stdio\", syscall 4\r\n```\r\n\r\n\r\n"}}
{"actor":{"display_login":"blackgnezdo"}}