[Bug 262871] share/mk/bsd.cpu.mk: missing -mabi= in LDFLAGS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Mar 2022 21:04:11 UTC
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: bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: pkubaj@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.