[Bug 226991] lang/smlnj: fails to link with lld as the system linker

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 20 11:03:18 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226991

--- Comment #4 from commit-hook at freebsd.org ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list