Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2018 18:38:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231524] multimedia/smpeg: fails to link on i386 with lld as /usr/bin/ld
Message-ID:  <bug-231524-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 231524
           Summary: multimedia/smpeg: fails to link on i386 with lld as
                    /usr/bin/ld
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: emaste@freebsd.org
            Blocks: 214864
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

From
http://package18.nyi.freebsd.org/data/headi386PR214864-default/2018-09-18_2=
1h13m11s/logs/errors/x265-2.8_1.log

/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol:
x265_pw_1 in readonly segment; recompile object files with -fPIC
>>> defined in common/CMakeFiles/common.dir/x86/const-a.asm.o
>>> referenced by common/x86/pixel-a.asm
>>>               common/CMakeFiles/common.dir/x86/pixel-a.asm.o:(.text+0x6=
6B)

/usr/bin/ld: error: can't create dynamic relocation R_386_32 against symbol:
x265_pw_1 in readonly segment; recompile object files with -fPIC
>>> defined in common/CMakeFiles/common.dir/x86/const-a.asm.o
>>> referenced by common/x86/pixel-a.asm
>>>               common/CMakeFiles/common.dir/x86/pixel-a.asm.o:(.text+0x5=
8BF)

...

adding LDFLAGS_i386=3D-Wl,-znotext appears to be insufficient (port does not
honour LDFLAGS?)


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
--=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-231524-7788>