Bug 1326896
Summary: | -lpthread missing when built with gcc-go on s390x | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> | ||||||
Component: | docker | Assignee: | Antonio Murdaca <amurdaca> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 24 | CC: | adimania, admiller, amurdaca, bugproxy, dwalsh, hannsj_uhl, ichavero, jcajka, jchaloup, lsm5, marianne, miminar, nalin, skumari, vbatts | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | s390x | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | docker-1.10.3-19.gitee81b72.fc24 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-06-18 18:34:49 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 467765, 1208172 | ||||||||
Attachments: |
|
Description
Dan Horák
2016-04-13 17:07:57 UTC
I think we saw this problem with sqlite3 and -lpthread earlier, but don't know if there was a solution. Created attachment 1164091 [details] docker s390x build fix Reason of build failure on s390x was indeed missing linkage to pthread library. Attached patch fixes the build issue. F24 scratch build for s390x - http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2250068 Also, did scratch build for primary arches (http://koji.fedoraproject.org/koji/taskinfo?taskID=14352619) and powerpc (http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3429464). Docker build for all architectures looks good. Maybe the patch can be applied unconditionally, because it should affect only gcc-go based builds and it's only s390x. (In reply to Dan Horák from comment #3) > Maybe the patch can be applied unconditionally, because it should affect > only gcc-go based builds and it's only s390x. In ExclusiveArch section of docker spec file, it also includes %{mips} and %{ix86} architectures. Do they also use golang package instead of gcc-go ? (In reply to Sinny Kumari from comment #4) > (In reply to Dan Horák from comment #3) > > Maybe the patch can be applied unconditionally, because it should affect > > only gcc-go based builds and it's only s390x. > > In ExclusiveArch section of docker spec file, it also includes %{mips} and > %{ix86} architectures. Do they also use golang package instead of gcc-go ? [sharkcz@devel10 ~]$ rpmbuild --eval %gccgo_arches s390x mips mipsel mipsr6 mipsr6el mips64 mips64el mips64r6 mips64r6el so %{ix86} is golang, but mips is gcc-go (based on F-24 values) This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. docker-1.10.3-19.gitee81b72.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d0e7173e52 docker-1.10.3-19.gitee81b72.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d0e7173e52 docker-1.10.3-19.gitee81b72.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |