On Sun, Jan 17, 2016 at 4:38 PM, Alex Potapenko <opotapenko(a)gmail.com> wrote:
Which gcc
version you are using? Could it be optimization issues? Will
something changed if build OpenJDK without compiler optimizations, gcc
flag "-O0" (disable -Os/-O2) ?
I'm using gcc-5.2.0. I haven't tried "-O0" flag, and I remember I used
to debug some applications with "-O2" built with the same toolchain
and '-g' flag, and they had line information. I've now noticed I have
"--disable-debug-symbols" and "--disable-zip-debug-info" in OpenJDK
configure options, maybe it's filtering out the '-g3' option I added
manually? I should try to disable those options.
You are "running on a razor's edge". 5.2 is not so stable, as most
people want to have.
Anyway, please try to disable gcc optimizations.
Sorry, I can't provide suggestion about OpenJDK configure options.
Regards,
Leonid