Summary: | lang/smlnj: fails to link with lld as the system linker | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Ed Maste <emaste> |
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | joemann |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(joemann) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 214864 |
Description
Ed Maste
2018-03-27 16:09:30 UTC
Via tobik@ in ports r465725, BINARY_ALIAS=ld=ld.bfd may be an effective workaround if LLD_UNSAFE does not work. A commit references this bug: Author: krion Date: Thu Mar 29 10:33:01 UTC 2018 New revision: 465878 URL: https://svnweb.freebsd.org/changeset/ports/465878 Log: Switch to ld.bfd by default as ld.ldd doesn't have built-in default output target. PR: 226991 Submitted by: emaste Approved by: portmgr (LLD_UNSAFE blanket) Changes: head/lang/smlnj/Makefile Reopen as exp-run reported lang/smlnj still failing. strip: open /wrkdirs/usr/ports/lang/smlnj/work/stage/usr/local/smlnj/bin/.run/run.x86-freebsd.so failed: No such file or directory A commit references this bug: Author: tobik Date: Fri Jul 20 11:02:47 UTC 2018 New revision: 475003 URL: https://svnweb.freebsd.org/changeset/ports/475003 Log: lang/smlnj: Respect LDFLAGS and let LLD_UNSAFE actually work It currently still tries to use lld. /usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: __stderrp in readonly segment; recompile object files with -fPIC >>> defined in /usr/lib32/libc.so.7 >>> referenced by main.c >>> main.o:(main) /usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol: DebugF in readonly segment; recompile object files with -fPIC >>> defined in main.o >>> referenced by main.c >>> main.o:(main) http://beefy12.nyi.freebsd.org/data/head-amd64-default/p474314_s336154/logs/smlnj-110.77.log PR: 226991 Reported by: emaste, pkg-fallout Changes: head/lang/smlnj/Makefile head/lang/smlnj/files/do-patch-base_runtime_objs_mk.x86-freebsd head/lang/smlnj/files/patch-config_install.sh Should be fixed now. |