Summary: | comms/flrig: fix build on powerpc64 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Piotr Kubaj <pkubaj> | ||||
Component: | Individual Port(s) | Assignee: | hamradio (Nobody) <hamradio> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | hamradio | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(hamradio) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: pkubaj Date: Fri May 10 11:16:16 UTC 2019 New revision: 501167 URL: https://svnweb.freebsd.org/changeset/ports/501167 Log: comms/flrig: fix build on powerpc64 Add -mminimal-toc to CFLAGS on powerpc64 to fix linking: /usr/bin/ld: rigs/flrig-TS950.o(.text+0x1c40): sibling call optimization to `_ZN7rigbaseD2Ev' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `_ZN7rigbaseD2Ev' extern PR: 237816 Approved by: tcberner (mentor), db (maintainer, via email) Differential Revision: https://reviews.freebsd.org/D20217 Changes: head/comms/flrig/Makefile |
Created attachment 204293 [details] patch Add -mminimal-toc to CFLAGS on powerpc64 to fix linking: /usr/bin/ld: rigs/flrig-TS950.o(.text+0x1c40): sibling call optimization to `_ZN7rigbaseD2Ev' does not allow automatic multiple TOCs; recompile with -mminimal-toc or -fno-optimize-sibling-calls, or make `_ZN7rigbaseD2Ev' extern