Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 14:18:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226981] multimedia/libxine: fails to link with ld.bfd 2.28
Message-ID:  <bug-226981-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: emaste@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 symlin=
k to
the one from ports).

Libxine has LLD_UNSAFE=3Dyes already and so will use ld.bfd for linking, bu=
t 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=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-226981-13>