https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262871
Bug ID: 262871 Summary: share/mk/bsd.cpu.mk: missing -mabi= in LDFLAGS Product: Base System Version: CURRENT Hardware: riscv OS: Any Status: New Keywords: needs-patch Severity: Affects Only Me Priority: --- Component: conf Assignee: b...@freebsd.org Reporter: jbe...@freebsd.org CC: pku...@freebsd.org All ports that enable LTO by default either downstream (port option) or upstream are broken on riscv64. During build object files are built with -mabi=lp64d (hard float) but linking happens with implicit -mabi=lp64 (soft float). LTO postpones optimization until linking, so ABI must match. https://lists.freebsd.org/archives/dev-commits-ports-main/2021-October/002774.html -- You are receiving this mail because: You are the assignee for the bug.