RFR(XS) 8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms (original) (raw)
Andrew Haley aph at redhat.com
Wed Jun 10 13:53:31 UTC 2015
- Previous message: RFR(XS) 8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms
- Next message: RFR(XS) 8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 06/10/2015 02:49 PM, Severin Gehwolf wrote:
_e fix is to use GCC's built-in function "builtinframeaddress". This also works on GCC 5. It's GCC specific, though. On the other hand, I don't know if anybody builds Zero without GCC. An alternative would be to use alloca, but that has strange semantics if the stack pointer cannot be extended. Thoughts?
Returning the address of an alloca() would be no better. I'd stick with __builtin_frame_address(0).
Andrew.
- Previous message: RFR(XS) 8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms
- Next message: RFR(XS) 8087120: [GCC5] java.lang.StackOverflowError on Zero JVM initialization on non x86 platforms
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]