Summary: | java/openjdk7 java/openjdk8: Fix i386 build when base ld is lld | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Dimitry Andric <dim> | ||||
Component: | Individual Port(s) | Assignee: | Greg Lewis <glewis> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | dim, emaste, java | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(glewis) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230239 | ||||||
Attachments: |
|
Description
Dimitry Andric
2018-02-07 20:23:09 UTC
Note that I have verified this on 12-CURRENT as of 2018-02-07, but it will probably work similarly for 11-STABLE with lld-as-ld. Perhaps we should set it only for i386 builds? I believe that with lld -z notext may change the generated output, not just allow text relocations. (In reply to Ed Maste from comment #2) > Perhaps we should set it only for i386 builds? > > I believe that with lld -z notext may change the generated output, not just > allow text relocations. Sure, if that is the case, that is certainly better. I do wonder why amd64 doesn't see those text relocations, though... I've committed a change for this. I did limit it to i386. Thanks! A commit references this bug: Author: glewis Date: Thu Feb 8 06:29:03 UTC 2018 New revision: 461197 URL: https://svnweb.freebsd.org/changeset/ports/461197 Log: . Fix the build for i386 when WITH_LLD_IS_LD is set. PR: 225741 Submitted by: dim@ Changes: head/java/openjdk7/Makefile head/java/openjdk8/Makefile |