Bug 234792 - java/openjdk6: fails to link on i386 with lld as system linker
Summary: java/openjdk6: fails to link 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-java mailing list
URL:
Keywords:
Depends on:
Blocks: 214864
  Show dependency treegraph
 
Reported: 2019-01-09 16:14 UTC by Ed Maste
Modified: 2019-01-09 16:15 UTC (History)
1 user (show)

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


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-09 16:14:30 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/openjdk6-b45,1.log

Linking vm...
ld: error: can't create dynamic relocation R_386_32 against symbol: vtable for AdaptiveSizePolicy in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in adaptiveSizePolicy.o
>>> referenced by adaptiveSizePolicy.cpp
>>>               adaptiveSizePolicy.o:(AdaptiveSizePolicy::AdaptiveSizePolicy(unsigned int, unsigned int, unsigned int, double, unsigned int))

ld: error: can't create dynamic relocation R_386_32 against symbol: ThresholdTolerance in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in globals.o
>>> referenced by adaptiveSizePolicy.cpp
>>>               adaptiveSizePolicy.o:(AdaptiveSizePolicy::AdaptiveSizePolicy(unsigned int, unsigned int, unsigned int, double, unsigned int))

ld: error: can't create dynamic relocation R_386_32 against symbol: .LCPI0_0 in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in adaptiveSizePolicy.o
>>> referenced by adaptiveSizePolicy.cpp
>>>               adaptiveSizePolicy.o:(AdaptiveSizePolicy::AdaptiveSizePolicy(unsigned int, unsigned int, unsigned int, double, unsigned int))
...