commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DAEMON-227) Support both flavors of Java on HP-UX IA64
Date Tue, 08 Nov 2011 15:05:51 GMT

    [ https://issues.apache.org/jira/browse/DAEMON-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146343#comment-13146343
] 

Mladen Turk commented on DAEMON-227:
------------------------------------

You are wrong here. I have access to HP-UX boxes (both IA64 and PARISC) thanks to my employer
(Red Hat)

$ uname -a                         
HP-UX dev25 B.11.23 U ia64 3947066920 unlimited-user license

I'm able to build jsvc either 32 or 64-bit

$ java -version
java version "1.6.0.01"
Java(TM) SE Runtime Environment (build 1.6.0.01-jinteg_06_jun_2008_13_24-b00)
Java HotSpot(TM) Server VM (build 1.6.0.01 jinteg:06.07.08-04:50 IA64, mixed mode)
$ java -d64 -version
java version "1.6.0.01"
Java(TM) SE Runtime Environment (build 1.6.0.01-jinteg_06_jun_2008_13_24-b00)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0.01 jinteg:06.07.08-06:43 IA64W, mixed mode)

... and its quite easy.
$ ./configure
$ make

builds 64-bit jsvc

$ ./configure --build x86-hp-hpux11
$ make

builds 32-bit jsvc


So as far as I'm concern the issue is solved.




                
> Support both flavors of Java on HP-UX IA64
> ------------------------------------------
>
>                 Key: DAEMON-227
>                 URL: https://issues.apache.org/jira/browse/DAEMON-227
>             Project: Commons Daemon
>          Issue Type: Improvement
>          Components: Jsvc
>    Affects Versions: Nightly Builds
>            Reporter: Michael Osipov
>            Assignee: Mladen Turk
>            Priority: Minor
>             Fix For: 1.0.8
>
>         Attachments: DAEMON-227.patch
>
>
> Compared to Linux and other OS on IA64, HP delivers two types of JVMs in IA64. A normal
(32 bit) and a wide (64 bit). Any binary or lib can be compiled that way.
> {noformat}
> smartld@blnn721x - /opt/java6/jre/lib
> bash $ ll | grep  '^d'
> dr-xr-xr-x  19 bin        bin           8192 Jun 28 12:20 ./
> dr-xr-xr-x   8 bin        bin           8192 Jan 22  2009 ../
> dr-xr-xr-x   8 bin        bin           8192 Jun 28 12:20 IA64N/
> dr-xr-xr-x   8 bin        bin           8192 Jun 28 12:20 IA64W/
> dr-xr-xr-x   3 bin        bin             96 Dec  4  2007 PA_RISC2.0/
> dr-xr-xr-x   2 bin        bin             96 Oct 16  2009 applet/
> dr-xr-xr-x   2 bin        bin             96 Dec  4  2007 audio/
> ...
> {noformat}
> The apsupport.m4 does not reflect that in ia64). I have adapted it to support both options.
Default is 32 bit build on HP-UX 64 bit can be enabled with a switch.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message