Description of problem: ../misc/cgo/test fails with "unexpected GOT reloc for non-dynamic symbol" in mock on fc21.i686 Version-Release number of selected component (if applicable): golang-1.2.1-5.fc21.src.rpm glibc-2.19.90-10.fc21.x86_64 How reproducible: consistent Steps to Reproduce: 1. fepdkg clone --anonymous golang && cd golang 2. setarch i386 fedpkg mockbuild 3. Actual results: ? unsafe [no test files] # GOMAXPROCS=2 runtime -cpu=1,2,4 real 0m48.556s user 1m36.485s sys 0m10.826s ok runtime 23.881s # sync -cpu=10 ok sync 0.030s # ../misc/cgo/stdio # ../misc/cgo/life # ../misc/cgo/test PASS ok _/builddir/build/BUILD/go/misc/cgo/test 1.127s # testmain _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_goCallback _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_goFoo _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_goStackCheck _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_Add _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_ReturnIntLong _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_BackIntoGo _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_BackgroundSleep _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportbyte _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportbool _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportrune _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exporterror _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportint _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportuint _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportuintptr _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportint8 _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportuint8 _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportint16 _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportuint16 _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportint32 _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportuint32 _/builddir/build/BUILD/go/misc/cgo/test(.text): unexpected GOT reloc for non-dynamic symbol _cgoexp_9a470ea86cc6_exportint64 too many errors FAIL _/builddir/build/BUILD/go/misc/cgo/test [build failed] error: Bad exit status from /var/tmp/rpm-tmp.VdjVKn (%check) RPM build errors: bogus date in %changelog: Fri Apr 10 2014 Vincent Batts <vbatts> 1.2.1-5 bogus date in %changelog: Thu Apr 09 2014 Vincent Batts <vbatts> 1.2.1-4 Bad exit status from /var/tmp/rpm-tmp.VdjVKn (%check) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/golang.spec'] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target i686 --nodeps builddir/build/SPECS/golang.spec'] LEAVE do --> EXCEPTION RAISED Expected results: successful build Additional info:
the test command that is failing is: cd ../misc/cgo/test go test -ldflags '-linkmode=internal'
Created attachment 887239 [details] test output output of `go test -x -v -ldflags '-linkmode=internal'` inside a fedora-rawhide-i386
reproduction https://gist.github.com/vbatts/d4519a7063367de032b7
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.