Bug 1442023 - silent fail in linking during build
Summary: silent fail in linking during build
Keywords:
Status: CLOSED DUPLICATE of bug 1460254
Alias: None
Product: Fedora
Classification: Fedora
Component: golang
Version: rawhide
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Čajka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2017-04-13 10:37 UTC by Dan Horák
Modified: 2017-07-12 08:37 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-06-30 15:42:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log (161.57 KB, text/plain)
2017-04-13 10:37 UTC, Dan Horák
no flags Details

Description Dan Horák 2017-04-13 10:37:19 UTC
Created attachment 1271409 [details]
build.log

golang 1.8.1 silently fails when linking a binary during build on s390x

...
cmd/compile
mkdir -p $WORK/cmd/compile/_obj/
mkdir -p $WORK/cmd/compile/_obj/exe/
cd /builddir/build/BUILD/go/src/cmd/compile
/builddir/build/BUILD/go/pkg/tool/linux_s390x/compile -o $WORK/cmd/compile.a -trimpath $WORK -p main -complete -buildid e6f92876594823080e59ecf270b97057b4f66e2a -D _/builddir/build/BUILD/go/src/cmd/compile -I $WORK -pack ./doc.go ./main.go
cd .
/builddir/build/BUILD/go/pkg/tool/linux_s390x/link -o $WORK/cmd/compile/_obj/exe/a.out -L $WORK -extld=gcc -buildmode=exe -buildid=e6f92876594823080e59ecf270b97057b4f66e2a $WORK/cmd/compile.a
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.AfYJLa (%build)
    Bad exit status from /var/tmp/rpm-tmp.AfYJLa (%build)
Child return code was: 1
EXCEPTION: [Error()]
...


Version-Release number of selected component (if applicable):
golang-1.8.1-1.fc27

Comment 1 Dan Horák 2017-06-30 15:42:01 UTC
it's latest binutils what makes the build crash, the issue was introduced with http://pkgs.fedoraproject.org/cgit/rpms/binutils.git/commit/?id=416e014455167094f9d8f8890e6ce31c0a48e4a4

Closing as duplicate of a bug with IBM bugzilla clone.

*** This bug has been marked as a duplicate of bug 1460254 ***


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