[jira] [Resolved] (DAEMON-227) Support both flavors of Java on HP-UX IA64

2011-11-08 Thread Mladen Turk (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/DAEMON-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mladen Turk resolved DAEMON-227.


Resolution: Fixed

No other platform has special configure option for determining the cpu
and you are trying to have exactly that.

Also I don't care what default build type (in your opinion) is.
My HP-UX during configure stage checks for ia64-hp-hpux11.23
From there the autoconf extracts host_os and  host_cpu
This is all done and generated internally by autoconf.
Guessed ia64 is clearly 64-bit target, so I made sure it builds 64-bit apps.
So if you need 32-bit use --build configure option and provide proper string
config.sub supports.
I updated config.sub so it should now support i86 and x86 if you think
the i386 is not proper stuff for 32-bit on IA64.
If you need ia64n and ia64w targets write to the autoconf folks.

I have provided a way to compile both 32 and 64-bit binaries on HP-UX IA64, and 
if you don't like it, well, I can't help you.



 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 binbin   8192 Jun 28 12:20 ./
 dr-xr-xr-x   8 binbin   8192 Jan 22  2009 ../
 dr-xr-xr-x   8 binbin   8192 Jun 28 12:20 IA64N/
 dr-xr-xr-x   8 binbin   8192 Jun 28 12:20 IA64W/
 dr-xr-xr-x   3 binbin 96 Dec  4  2007 PA_RISC2.0/
 dr-xr-xr-x   2 binbin 96 Oct 16  2009 applet/
 dr-xr-xr-x   2 binbin 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




[jira] [Resolved] (DAEMON-227) Support both flavors of Java on HP-UX IA64

2011-11-07 Thread Mladen Turk (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/DAEMON-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mladen Turk resolved DAEMON-227.


   Resolution: Fixed
Fix Version/s: 1.0.8

Fixed HP-UX configure on IA64
For 32-bit use ./configure --build i386-hp-hpux11
For 64-bit use ./configure


 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 binbin   8192 Jun 28 12:20 ./
 dr-xr-xr-x   8 binbin   8192 Jan 22  2009 ../
 dr-xr-xr-x   8 binbin   8192 Jun 28 12:20 IA64N/
 dr-xr-xr-x   8 binbin   8192 Jun 28 12:20 IA64W/
 dr-xr-xr-x   3 binbin 96 Dec  4  2007 PA_RISC2.0/
 dr-xr-xr-x   2 binbin 96 Oct 16  2009 applet/
 dr-xr-xr-x   2 binbin 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