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: New
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 mailing list
URL:
Keywords:
Depends on:
Blocks: 214864
  Show dependency treegraph
 
Reported: 2019-01-11 14:16 UTC by Ed Maste
Modified: 2019-01-11 14:16 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 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] 
...