Page MenuHomeFreeBSD

comms/flrig: fix build on powerpc64
ClosedPublic

Authored by pkubaj on May 9 2019, 8:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 7, 1:29 AM
Unknown Object (File)
Thu, Oct 2, 9:36 AM
Unknown Object (File)
Mon, Sep 29, 8:23 PM
Unknown Object (File)
Mon, Sep 29, 9:35 AM
Unknown Object (File)
Sep 20 2025, 4:21 AM
Unknown Object (File)
Sep 18 2025, 5:34 PM
Unknown Object (File)
Sep 18 2025, 3:25 AM
Unknown Object (File)
Sep 17 2025, 4:55 AM
Subscribers
None

Details

Summary

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: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237816

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.May 10 2019, 4:33 AM
This revision was automatically updated to reflect the committed changes.