[Bug 234720] lang/nml: does not build on i386 with lld as system linker

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 9 09:58:44 UTC 2021


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

--- Comment #7 from Mikael Urankar <mikael at FreeBSD.org> ---
(In reply to Ed Maste from comment #6)
It still broken on 12.2 i386:
cc -O -I./bignum/h -I../../ocaml/byterun  -fPIC   -c -o nat_stubs.o nat_stubs.c
../../boot/ncamlrun ../../ocaml/tools/ocamlmklib -o nums bignum/o/KerN.o
bignum/o/bnInit.o bignum/o/bnMult.o bignum/o/bnDivide.o bignum/o/bnCmp.o
bignum/o/bzf.o bignum/o/bz.o nat_stubs.o
ld: error: relocation R_386_PC32 cannot be used against symbol BnnAdd;
recompile with -fPIC

On 13 i386, the build fails with (no ld error):
gmake[2]: Entering directory '/wrkdirs/usr/ports/lang/nml/work/nml-0.92/stdlib'
../boot/ncamlrun ../nmlo  -nopervasives -c pervasives.ml
sh: as: not found

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


More information about the freebsd-ports-bugs mailing list