Bug 234867 - games/lwjgl: fails to build on i386 with lld as system linker
Summary: games/lwjgl: fails to build on i386 with lld as system linker
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks: 214864
  Show dependency treegraph
 
Reported: 2019-01-11 14:16 UTC by Ed Maste
Modified: 2020-06-10 15:22 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (freebsd)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2019-01-11 14:16:07 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/lwjgl-2.9.3.log

    [apply] 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
    [apply] >>> defined in /usr/local/lib/libXxf86vm.a(XF86VMode.o)
    [apply] >>> referenced by XF86VMode.c
    [apply] >>>               XF86VMode.o:(XF86VidModeQueryExtension) in archive /usr/local/lib/libXxf86vm.a
    [apply] 
    [apply] ld: error: relocation R_386_PC32 cannot be used against symbol XextFindDisplay; recompile with -fPIC
    [apply] >>> defined in /usr/local/lib/libXext.so
    [apply] >>> referenced by XF86VMode.c
    [apply] >>>               XF86VMode.o:(XF86VidModeQueryExtension) in archive /usr/local/lib/libXxf86vm.a
    [apply] 
    [apply] 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
    [apply] >>> defined in /usr/local/lib/libXxf86vm.a(XF86VMode.o)
    [apply] >>> referenced by XF86VMode.c
    [apply] >>>               XF86VMode.o:(XF86VidModeQueryExtension) in archive /usr/local/lib/libXxf86vm.a
    [apply] 
...
Comment 1 Ed Maste freebsd_committer freebsd_triage 2019-07-24 19:35:35 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)
Comment 2 Ed Maste freebsd_committer freebsd_triage 2020-06-10 15:22:13 UTC
Builds fine now.