[Bug 3533] [IcedTea8] HotSpot generates code with unaligned stack, crashes on SSE operations

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sat May 12 22:04:32 UTC 2018


https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3533

--- Comment #21 from Maciej S. Szmigiero <mail at maciej.szmigiero.name> ---
I've tried "-mstackrealign" but it didn't add the required
stack pointer realignment prologue to every entry function.

>From the Gentoo bug:
> That's why an other solution is necessary in form of
> "-mincoming-stack-boundary=2" {C,CXX}FLAG for icedtea (not
> "-mstackrealign" since it does not work in our case as this flag seems
> to be for leaf - and not intermediate - functions).
> It is a big hammer but it allows building of a working icedtea (with
> glibc compiled by gcc-7.3.0) without any patching of the HotSpot code.

Gentoo now adds "-mincoming-stack-boundary=2" when building IcedTea for
32-bit x86 target.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180512/8973fd23/attachment.html>


More information about the distro-pkg-dev mailing list