RFR: 8144885: agent/src/os/linux/libproc.h needs to support Linux/SPARC builds

Andrew Hughes gnu.andrew at redhat.com
Tue Dec 15 19:33:24 UTC 2015


----- Original Message -----
> Hi Everyone,
> 
> Please review this small change which fixes a JDK9 Linux/SPARC build problem
> in "hotspot/agent/src/os/linux/libproc.h”
> so the correct “ptrace.h” include file will be used during the build process.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8144885
> <https://bugs.openjdk.java.net/browse/JDK-8144885>
> Webrev: http://cr.openjdk.java.net/~gthornbr/8144885/webrev/
> <http://cr.openjdk.java.net/~gthornbr/8144885/webrev/>
> 
> Thanks,
> 
> Jerry
> 
> 

Thanks for this change. It seems that it was from linux/ptrace.h to sys/ptrace.h
in https://bugs.openjdk.java.net/browse/JDK-8046408 due to a glibc bug which has
long since been fixed. I had reports that this had broken linux-sparc a while
back, but no hardware to verify it myself. It's good to see this fixed and
I hope it can go back to 8 as well.

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222

PGP Key: rsa4096/248BDC07 (hkp://keys.gnupg.net)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07



More information about the hotspot-runtime-dev mailing list