Bug 234864

Summary: multimedia/dav1d: fails to build on i386 with lld as system linker
Product: Ports & Packages Reporter: Ed Maste <emaste>
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed Overcome By Events    
Severity: Affects Only Me Flags: jbeich: maintainer-feedback+
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 214864    

Description Ed Maste freebsd_committer freebsd_triage 2019-01-11 14:13:12 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/dav1d-0.1.0.log

ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in src/25a6634@@dav1d@sha/mc_ssse3.obj
>>> referenced by ../src/x86/mc_ssse3.asm
>>>               src/25a6634@@dav1d@sha/mc_ssse3.obj:(.text+0x16)

ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in src/25a6634@@dav1d@sha/mc_ssse3.obj
>>> referenced by ../src/x86/mc_ssse3.asm
>>>               src/25a6634@@dav1d@sha/mc_ssse3.obj:(.text+0x3B6)
...
Comment 1 Jan Beich freebsd_committer freebsd_triage 2019-01-11 14:27:20 UTC
Another one? I was under impression ports r489697 was enough.
Comment 2 Ed Maste freebsd_committer freebsd_triage 2019-01-11 14:43:22 UTC
(In reply to Jan Beich from comment #1)

I didn't notice that commit and was just trying to make sure all of the remaining failures had PRs. I successfully built it locally after updating past ports r489697 - sorry for the false alarm.
Comment 3 Jan Beich freebsd_committer freebsd_triage 2019-01-11 14:47:43 UTC
Thanks for confirming the fix was enough.