[Bug 226981] multimedia/libxine: fails to link with ld.bfd 2.28

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 27 14:18:29 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226981

            Bug ID: 226981
           Summary: multimedia/libxine: fails to link with ld.bfd 2.28
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: emaste at freebsd.org
            Blocks: 214864

As part of testing WIP to migrate to lld as the system linker I have removed
the in-tree ld.bfd 2.17.50 from my working tree. I have lld installed as
/usr/bin/ld, and have ld.bfd 2.28 from ports (my usr/bin/ld.bfd is a symlink to
the one from ports).

Libxine has LLD_UNSAFE=yes already and so will use ld.bfd for linking, but it
appears our libxine depends on misbehaviour only available in the outdated
ld.bfd 2.17.50. With 2.28 the build fails with:

/usr/bin/ld.bfd: .libs/xine.o: relocation R_X86_64_PC32 against protected
symbol `_x_flags' can not be used when making a shared object
/usr/bin/ld.bfd: final link failed: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214864
[Bug 214864] [exp-run] test build with lld as /usr/bin/ld
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list