Bug 222460 - java/bootstrap-openjdk: bootstrap broken on armv6
Summary: java/bootstrap-openjdk: bootstrap broken on armv6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Many People
Assignee: Jung-uk Kim
URL: http://beefy8.nyi.freebsd.org/data/he...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-19 17:48 UTC by Mikael Urankar
Modified: 2017-09-28 20:31 UTC (History)
1 user (show)

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


Attachments
patch (4.78 KB, patch)
2017-09-19 17:48 UTC, Mikael Urankar
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2017-09-19 17:48:24 UTC
Created attachment 186549 [details]
patch

Hi,

The bootstrap is broken on armv6, it's built with the soft-float ABI and we switched to the hard-float ABI some time ago. We discovered the problem recently.
I've recreated a tarball for armv6 based on openjdk8 (openjdk7 is too hard to build on armv6)
The plist has changed a bit and it's hard to fix it, I decided to dynamically generate it (like it's done for java/openjdk8)

Is it possible to replace the bootstrap with this tarball?
http://mikael.urankar.free.fr/FreeBSD/arm/patches/openjdk8-arm-r444448.tar.xz

poudriere testport ok on 10.3 i386/amd64, 11.1 i386/amd64 and 12-current armv6

I merged the patch from bug #221897

Thanks in advance
Comment 1 commit-hook freebsd_committer freebsd_triage 2017-09-28 20:13:04 UTC
A commit references this bug:

Author: jkim
Date: Thu Sep 28 20:12:52 UTC 2017
New revision: 450868
URL: https://svnweb.freebsd.org/changeset/ports/450868

Log:
  Add bootstrap JDK for OpenJDK8.

  PR:		210283
  PR:		221897
  PR:		222460

Changes:
  head/java/Makefile
  head/java/bootstrap-openjdk8/
  head/java/bootstrap-openjdk8/Makefile
  head/java/bootstrap-openjdk8/Makefile.update
  head/java/bootstrap-openjdk8/distinfo.amd64
  head/java/bootstrap-openjdk8/distinfo.arm
  head/java/bootstrap-openjdk8/distinfo.i386
  head/java/bootstrap-openjdk8/distinfo.powerpc64
  head/java/bootstrap-openjdk8/pkg-message
  head/java/bootstrap-openjdk8/pkg-plist
  head/java/bootstrap-openjdk8/pkg-plist.arm
Comment 2 Jung-uk Kim freebsd_committer freebsd_triage 2017-09-28 20:31:15 UTC
java/bootstrap-openjdk8 was added and the distfile is *temporarily* re-used from this PR.  Note we cannot remove plist because it is used to build distfile via "make update".