| Summary: | audio/ardour5: fix build on powerpc64 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
| Component: | Individual Port(s) | Assignee: | Piotr Kubaj <pkubaj> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | CC: | beerml, powerpc | ||||
| Priority: | --- | Keywords: | needs-qa | ||||
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(beerml) koobs: merge-quarterly? |
||||
| Hardware: | powerpc | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Piotr Kubaj
2020-01-12 00:17:36 UTC
^Triage: Reporter is committer, assign accordingly Comment on attachment 210645 [details]
patch
Approved by: portmgr (blanket: build fix)
MFH: 2020Q1 (blanket: build fix)
A commit references this bug: Author: pkubaj Date: Sun Jan 12 02:59:42 UTC 2020 New revision: 522745 URL: https://svnweb.freebsd.org/changeset/ports/522745 Log: audio/ardour5: fix build on powerpc64 _POSIX_SOURCE causes some errors in errno.h not to be seen (like EAFNOSUPPORT), so remove it. On ELFv2 lld can't link it, throws errors like: ld: error: relocation R_PPC64_ADDR32 cannot be used against local symbol; recompile with -fPIC >>> defined in libs/ardour/cycle_timer.cc.1.o >>> referenced by cycle_timer.cc >>> libs/ardour/cycle_timer.cc.1.o:(__ftr_fixup+0x8) Recompiling with -fPIC doesn't help, so use GNU ld there. PR: 243281 Approved by: portmgr (blanket: build fix) MFH: 2020Q1 (blanket: build fix) Changes: head/audio/ardour5/Makefile head/audio/ardour5/files/ head/audio/ardour5/files/patch-libs_fst_wscript A commit references this bug: Author: pkubaj Date: Sun Jan 12 03:00:45 UTC 2020 New revision: 522746 URL: https://svnweb.freebsd.org/changeset/ports/522746 Log: MFH: r522745 audio/ardour5: fix build on powerpc64 _POSIX_SOURCE causes some errors in errno.h not to be seen (like EAFNOSUPPORT), so remove it. On ELFv2 lld can't link it, throws errors like: ld: error: relocation R_PPC64_ADDR32 cannot be used against local symbol; recompile with -fPIC >>> defined in libs/ardour/cycle_timer.cc.1.o >>> referenced by cycle_timer.cc >>> libs/ardour/cycle_timer.cc.1.o:(__ftr_fixup+0x8) Recompiling with -fPIC doesn't help, so use GNU ld there. PR: 243281 Approved by: portmgr (blanket: build fix) Changes: _U branches/2020Q1/ branches/2020Q1/audio/ardour5/Makefile branches/2020Q1/audio/ardour5/files/ |