Summary: | Adding -flto into compilation/link lines causes the error: /usr/bin/ld: unrecognized option '-plugin' | ||
---|---|---|---|
Product: | Base System | Reporter: | Yuri Victorovich <yuri> |
Component: | misc | Assignee: | freebsd-toolchain (Nobody) <toolchain> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | dch, dim |
Priority: | --- | ||
Version: | 12.0-RELEASE | ||
Hardware: | Any | ||
OS: | Any |
Description
Yuri Victorovich
2019-06-12 06:29:02 UTC
Assign to toolchain@, and thus, remove the now-redundant tag. This is because 11.2 and 12.0 i386 are still on BFD ld 2.17.50, which neither supports LTO, nor plugins. It's probably best to leave off -flto for these platforms, otherwise use lld or the binutils port. [Not CURRENT] A commit references this bug: Author: dch Date: Wed Jun 3 11:15:31 UTC 2020 New revision: 537609 URL: https://svnweb.freebsd.org/changeset/ports/537609 Log: databases/couchdb3: accommodate compiler quirks in i386 As reported in BZ, -flto passes unsupported parameters to /usr/bin/ld Fixes all 11.x and 12.x i386 & handles additional unused warnings on i386. PR: 238514 Reported by: pkg-fallout Sponsored by: SkunkWerks, GmbH Changes: head/databases/couchdb3/Makefile head/databases/couchdb3/files/extra-patch-src_jiffy_c__src_double-conversion_strtod.cc |