[ https://issues.apache.org/jira/browse/DAEMON-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146318#comment-13146318
]
Michael Osipov commented on DAEMON-227:
---------------------------------------
Mladen,
you are messing something up here. There is nothing wrong with gcc not autoconf. The target
output 'ia64' is correct. gcc HP-UX is outputting 32 bit. This is not my opinion but that's
the way it is (ELF-32). From this standpoint, it's fine.
The bigger problem is the JVM. HP just had to split it up to reflect both data models. That's
why it done with N and W.
All I'd like to have for the contribution is that the default compilation (which is, again,
32 bit) can be run w/o any other conf option.
You may completely remove IA64W build support because it can be done with CFLAGS, CPPFLAGS
and LDFLAGS.
I am probably one of the few who has access to a HP-UX machine and donate my experience. I
am sure you don't have any access to.
> 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
|