1 |
commit: 3d16aaaa8d4a7b0de9316374a0c222a7d94000ea |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 21 19:33:05 2018 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 21 19:35:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d16aaaa |
7 |
|
8 |
dev-java/icedtea: Reintroduce stack alignment fix for x86 |
9 |
|
10 |
This is still not addressed upstream. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/647954 |
13 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
14 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
15 |
|
16 |
dev-java/icedtea/icedtea-3.9.0.ebuild | 7 +++++-- |
17 |
1 file changed, 5 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/dev-java/icedtea/icedtea-3.9.0.ebuild b/dev-java/icedtea/icedtea-3.9.0.ebuild |
20 |
index cec60292489..ef84f38c763 100644 |
21 |
--- a/dev-java/icedtea/icedtea-3.9.0.ebuild |
22 |
+++ b/dev-java/icedtea/icedtea-3.9.0.ebuild |
23 |
@@ -1,4 +1,4 @@ |
24 |
-# Copyright 1999-2018 Gentoo Foundation |
25 |
+# Copyright 1999-2018 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
# Build written by Andrew John Hughes (gnu_andrew@××××××××××.org) |
29 |
@@ -6,7 +6,7 @@ |
30 |
EAPI="6" |
31 |
SLOT="8" |
32 |
|
33 |
-inherit check-reqs gnome2-utils java-pkg-2 java-vm-2 multiprocessing pax-utils prefix versionator |
34 |
+inherit check-reqs flag-o-matic gnome2-utils java-pkg-2 java-vm-2 multiprocessing pax-utils prefix versionator |
35 |
|
36 |
ICEDTEA_VER=$(get_version_component_range 1-3) |
37 |
ICEDTEA_BRANCH=$(get_version_component_range 1-2) |
38 |
@@ -224,6 +224,9 @@ src_configure() { |
39 |
# In-tree JIT ports are available for amd64, arm, arm64, ppc64 (be&le), SPARC and x86. |
40 |
if { use amd64 || use arm || use arm64 || use ppc64 || use sparc || use x86; }; then |
41 |
hotspot_port="yes" |
42 |
+ |
43 |
+ # Work around stack alignment issue, bug #647954. |
44 |
+ use x86 && append-flags -mincoming-stack-boundary=2 |
45 |
fi |
46 |
|
47 |
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ... |