Summary: | ports-mgmt/pkg does not build on mips64 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | tech-lists | ||||
Component: | Individual Port(s) | Assignee: | freebsd-pkg (Nobody) <pkg> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | mandree, mips, w.schwarzenfeld | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | mips | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 241031 | ||||||
Attachments: |
|
Description
tech-lists
2019-09-25 16:35:42 UTC
Sounds like the same kind of bug as https://sourceware.org/bugzilla/show_bug.cgi?id=12637 Which sounds like a bug in the linker side. The interesting part is pkg_jobs.c hasn't changed between pkg 1.11 and pkg 1.12. Created attachment 207909 [details]
another poudriere build log compressed with zstd
A commit references this bug: Author: bapt Date: Wed Oct 2 18:35:30 UTC 2019 New revision: 513597 URL: https://svnweb.freebsd.org/changeset/ports/513597 Log: Attempt to fix pkg on mips. Since recently, libarchive is linked to libzstd, which itself uses threads somehow, this make the build of pkg in mips unhappy. Given libpkg is not threadsafe anyway just drop the __thread PR: 240822 Reported by: tech-lists@zyxst.net and mandree Discussed with: jhb Changes: head/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c Can you confirmed this is fixed with the patch I just committed? (In reply to Baptiste Daroussin from comment #4) yes thank you, packages are building now A commit references this bug: Author: antoine Date: Thu Oct 3 06:10:37 UTC 2019 New revision: 513649 URL: https://svnweb.freebsd.org/changeset/ports/513649 Log: MFH: r513597 Attempt to fix pkg on mips. Since recently, libarchive is linked to libzstd, which itself uses threads somehow, this make the build of pkg in mips unhappy. Given libpkg is not threadsafe anyway just drop the __thread PR: 240822 Reported by: tech-lists@zyxst.net and mandree Discussed with: jhb Changes: _U branches/2019Q4/ branches/2019Q4/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c r513597 looks good to my qemu-based poudriere cross-builder (11.2 MIPS64 hosted on 12.0 AMD64). |