BZ #154: HPI removed from OpenJDK

Status fields:

creation_ts:2011-02-06 17:56
component:vm
version:cacao-1.0.x branch
rep_platform:x86_64
op_sys:Linux
bug_status:RESOLVED
resolution:FIXED
reporter:drazzib@drazzib.com
Hi,

It seems OpenJDK-7 as dropped support for HPI interface :
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348631
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6993732

So Cacao configure script break build with latest OpenJDK-7 b128 :
[...]
checking where hpi_md.h is installed... [...]openjdk/jdk/src/solaris/hpi/export
checking [...]openjdk/jdk/src/solaris/hpi/export/hpi_md.h usability... no
checking [...]openjdk/jdk/src/solaris/hpi/export/hpi_md.h presence... no
checking for [...]openjdk/jdk/src/solaris/hpi/export/hpi_md.h... no
configure: error: cannot find hpi_md.h
[...]

Regards,

Comment #1 by drazzib@drazzib.com on 2011-02-06 17:56:57

Created an attachment (id=73)
configure log

Comment #2 by david@complang.tuwien.ac.at on 2011-12-07 16:05:35

(In reply to comment #0)
> Hi,
>
> It seems OpenJDK-7 as dropped support for HPI interface :
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6348631
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6993732
>
> So Cacao configure script break build with latest OpenJDK-7 b128 :
> [...]
> checking where hpi_md.h is installed... [...]openjdk/jdk/src/solaris/hpi/export
> checking [...]openjdk/jdk/src/solaris/hpi/export/hpi_md.h usability... no
> checking [...]openjdk/jdk/src/solaris/hpi/export/hpi_md.h presence... no
> checking for [...]openjdk/jdk/src/solaris/hpi/export/hpi_md.h... no
> configure: error: cannot find hpi_md.h
> [...]
>
> Regards,
>

I'm working on this. There are a few more things different in OpenJDK7 than the hpi
support.

Comment #3 by stefan@complang.tuwien.ac.at on 2011-12-07 16:35:52

> I'm working on this. There are a few more things different in OpenJDK7 than the
> hpi support.
>

I suspect that this has also made it into jdk7:
http://c1.complang.tuwien.ac.at/pipermail/cacao/2010-December/001302.html

Comment #4 by stefan@complang.tuwien.ac.at on 2012-02-24 17:43:23

David is working on this in the openjdk7 branch:
http://mips.complang.tuwien.ac.at/hg/cacao/log/a567bcb7f589

Comment #5 by stefan@complang.tuwien.ac.at on 2013-03-03 10:44:17

Has already been merged a few months ago.

Attachment id=73

date:2011-02-06 17:56
desc:configure log
type:text/x-log
download:config.log