Bug 1087621 - while mock building on fc21.i686 "unexpected GOT reloc for non-dynamic symbol"
Summary: while mock building on fc21.i686 "unexpected GOT reloc for non-dynamic symbol"
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: golang
Version: 22
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vincent Batts
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-14 20:41 UTC by Vincent Batts
Modified: 2016-07-19 11:22 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 11:22:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
test output (29.62 KB, text/x-log)
2014-04-17 18:19 UTC, Vincent Batts
no flags Details

Description Vincent Batts 2014-04-14 20:41:01 UTC
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:

Comment 1 Vincent Batts 2014-04-17 18:05:06 UTC
the test command that is failing is:

cd ../misc/cgo/test
go test -ldflags '-linkmode=internal'

Comment 2 Vincent Batts 2014-04-17 18:19:36 UTC
Created attachment 887239 [details]
test output

output of `go test -x -v -ldflags '-linkmode=internal'`
inside a fedora-rawhide-i386

Comment 3 Vincent Batts 2014-05-06 16:13:56 UTC
reproduction https://gist.github.com/vbatts/d4519a7063367de032b7

Comment 4 Jaroslav Reznik 2015-03-03 17:00:26 UTC
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

Comment 5 Fedora End Of Life 2016-07-19 11:22:27 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.