maintainer-feedback requested: [Bug 230213] math/p5-Math-Pari: fail to link with lld as /usr/bin/ld on i386

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 30 23:58:17 UTC 2018


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-perl mailing list
<perl at FreeBSD.org> for maintainer-feedback:
Bug 230213: math/p5-Math-Pari: fail to link with lld as /usr/bin/ld on i386
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230213



--- Description ---
The migration to the LLVM project's lld linker as the system linker
(/usr/bin/ld) for FreeBSD is in progress - it is the case for arm64 and amd64
today, and i386 will switch once ports issues are addressed - see exp-run in
PR214864.

Linking math/p5-Math-Pari with lld fails with errors of the form:

/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)

/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol:
gpmalloc in readonly segment; recompile object files with -fPIC
>>> defined in init.o
>>> referenced by mp.c
>>>		  mp.o:(pari_kernel_init)

http://package18.nyi.freebsd.org/data/headi386PR214864-default/2018-07-30_18h09
m59s/logs/errors/p5-Math-Pari-2.01080900.log


More information about the freebsd-perl mailing list