Date: Wed, 09 Dec 2020 17:27:17 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251712] lang/fpc: uses incorrect linker path Message-ID: <bug-251712-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251712 Bug ID: 251712 Summary: lang/fpc: uses incorrect linker path Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: amdmi3@FreeBSD.org Flags: maintainer-feedback?(acm@FreeBSD.org) Assignee: acm@FreeBSD.org I've noticed a problem when compiling games/hedgewars port: it builds fine = in poudriere, but fails on the host, being unable to link test fpc program try= ing to run /bin/ld.bfd (which does not exist). I've tracked it down to this pat= ch: https://svnweb.freebsd.org/ports/head/lang/fpc/files/patch-compiler_systems= _t__bsd.pas?revision=3D556252&view=3Dmarkup It composes linker path based on LOCALBASE environment variable. This doesn= 't seem right as LOCALBASE is not guaranteed to be set (however it seems to be= set in poudriere). It looks like LOCALBASE value at the time of fpc build shoul= d be hardcoded into the source here. Additionally, though it uses ld.bfd from binutils, fpc does not have runtime dependency on binutils. This should be fixed as well. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251712-7788>