[
https://issues.apache.org/jira/browse/DAEMON-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146174#comment-13146174
]
Michael Osipov edited comment on DAEMON-227 at 11/8/11 9:03 AM:
----------------------------------------------------------------
The changes you made are more confusing than before. Especially abusing i386
for Itanium builds won't help those like me on HP-UX and certainly not a very
good way to go.
More over, the [default build
type|http://stackoverflow.com/questions/897860/gcc-target-triplet-for-hp-ux] is
ELF-32 bit on HP-UX and not 64 bit.
{noformat}
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ uname -a
HP-UX blnn721x B.11.23 U ia64 1431159426 unlimited-user license
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ cat test.c
#include <stdio.h>
int main(void) {
printf("Hello World\n");
return 0;
}
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ gcc test.c -o test
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ ./test
Hello World
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ file test
test: ELF-32 executable object file - IA64
{noformat}
I would recommend adding two more CPU types:
ia64n and ia64w and have separate configs. Though I would prefer having ia64n
enabled by default on HP-UX if possible or use the if cascade I had implemented
before.
The way it is right now is not really reasonable.
was (Author: michael-o):
The changes you made are more confusing than before. Especially abusing
i386 for Itanium builds won't help those like me on HP-UX and certainly not a
very good way to go.
More over, the default build type is ELF-32 bit on HP-UX and not 64 bit.
{noformat}
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ uname -a
HP-UX blnn721x B.11.23 U ia64 1431159426 unlimited-user license
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ cat test.c
#include <stdio.h>
int main(void) {
printf("Hello World\n");
return 0;
}
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ gcc test.c -o test
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ ./test
Hello World
smartld@blnn721x - ~/apache-tomcat-7.0.22/bin
bash $ file test
test: ELF-32 executable object file - IA64
{noformat}
I would recommend adding two more CPU types:
ia64n and ia64w and have separate configs. Though I would prefer having ia64n
enabled by default on HP-UX if possible or use the if cascade I had implemented
before.
The way it is right now is not really reasonable.
> 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