Bug 234868

Summary: devel/p5-Data-MessagePack-Stream: fails to build on i386 with lld as system linker
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: Jun Kuriyama <kuriyama>
Status: New ---    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (kuriyama)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 214864    

Description Ed Maste freebsd_committer 2019-01-11 14:17:17 UTC
http://package18.nyi.freebsd.org/build.html?mastername=headi386PR214864-default&build=2019-01-05_21h00m02s
http://package18.nyi.freebsd.org/data/headi386PR214864-default/2019-01-05_21h00m02s/logs/errors/p5-Data-MessagePack-Stream-0.07_2.log

ld: error: relocation R_386_PC32 cannot be used against symbol malloc; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by unpack.c:183
>>>               unpack.o:(msgpack_unpacker_init) in archive msgpack-0.5.7/src/.libs/libmsgpack.a

ld: error: relocation R_386_PC32 cannot be used against symbol malloc; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by unpack.c:188
>>>               unpack.o:(msgpack_unpacker_init) in archive msgpack-0.5.7/src/.libs/libmsgpack.a

ld: error: relocation R_386_PC32 cannot be used against symbol msgpack_zone_new; recompile with -fPIC
>>> defined in msgpack-0.5.7/src/.libs/libmsgpack.a(zone.o)
>>> referenced by unpack.c:194
>>>               unpack.o:(msgpack_unpacker_init) in archive msgpack-0.5.7/src/.libs/libmsgpack.a
...
Comment 1 Ed Maste freebsd_committer 2019-07-24 19:35:41 UTC
lld has been enabled as system linker for i386 on stable/12 in advance of 12.1 (base svn r350297, a few minutes ago)