Date: Mon, 17 Sep 2018 15:20:36 +0000 From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: [Bug 230213] math/p5-Math-Pari: fail to link with lld as /usr/bin/ld on i386 Message-ID: <bug-230213-14331-zXFODDoHfD@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-230213-14331@https.bugs.freebsd.org/bugzilla/> References: <bug-230213-14331@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=3D230213 --- Comment #2 from Ed Maste <emaste@freebsd.org> --- (In reply to Nathan from comment #1) It looks like this port does not honour LDFLAGS, so adding -fuse-ld=3Dlld t= here likely has no effect. With LLD_UNSAFE=3Dyes and -Wl,-znotext in LDFLAGS it still fails with: cc -o libpari-gmp.so.2.3.5 -shared -O2 -pipe=20 -I/usr/ports/math/p5-Math-Pari/work/pari-2.3.5/src/headers -I/usr/ports/math/p5-Math-Pari/work/pari-2.3.5/build -fstack-protector -fno-strict-aliasing -Wl,-shared,-soname=3Dlibpari-gmp.so.2 mp.o mpinl.o F= lx.o Qfb.o RgX.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bibli1.o bibli2.o buch1.o buch2.o buch3.o buch4.o galconj.o gen1.o gen2.o gen3.o ifactor1.o perm.o polarit1.o polarit2.o polarit3.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o anal.o compat.o default.o errmsg.o es.o init.o intnum.o members.o sumiter.o aprcl.o elldata= .o elliptic.o galois.o groupid.o kummer.o mpqs.o nffactor.o part.o stark.o subfield.o thue.o -lc -lm -L/usr/local/lib -lgmp=20 /usr/bin/ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC >>> defined in mp.o >>> referenced by mp.c >>> mp.o:(pari_kernel_init) --=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-230213-14331-zXFODDoHfD>