Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 2021 09:58:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 234720] lang/nml: does not build on i386 with lld as system linker
Message-ID:  <bug-234720-7788-RpJW1L3AsL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234720-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234720-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234720

--- Comment #7 from Mikael Urankar <mikael@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_stu=
bs.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/std=
lib'
../boot/ncamlrun ../nmlo  -nopervasives -c pervasives.ml
sh: as: not found

--=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-234720-7788-RpJW1L3AsL>