octave2.1_2.1.35-6_hppa
Hi,
a buddy pointed me to the debian build archive,
because I had problems building a 64-bit octave executable on AP-RISC-2 HP-UX-11.11.
I used the gcc-3.0.2 which was a
/usr/local/bin/gcc: ELF-64 executable object file - PA-RISC 2.0
(LP64)
and it also produced such code. Unfortunately the octave builds, but fails immediately by trivial operations.
I am also a little be astonished about the different object files existing
on PA-Risc. There are/usr/local/bin/perl: PA-RISC1.1 shared executable dynamically linked
-not stripped
as well as "PA-RISC2" executables.
Honestly I have no idea what the difference between ELF-64 and PA-RISC-2 is.
Are both 64 bit.
Finally I found the debian archive for octave. So my question is:
Do you build this octave for
o linux on PA-Risc or also for
o HP-UX-11.11 ????
Is it finally 64 bit? and how did you build it.
I would appreciate any comments to my open questions.
thanks, daniel
Signature · 10 lines
Mit freundlichen Gruessen
Daniel Heiserer
--------------------------------------------------------------
Dipl.-Phys. Daniel Heiserer, BMW AG, Knorrstrasse 147, 80788 Muenchen
Abteilung EK-212
Tel.: 089-382-21187, Fax.: 089-382-42820
mailto:[email protected]
Lageplan Standort FIZ:
http://www.stadtplandienst.de/query?ORT=M&STR=Knorrstr.&HNR=147Quoted 4 lines · HEISERER DANIEL
Hi,
a buddy pointed me to the debian build archive, because I had problems building a 64-bit octave executable on AP-RISC-2 HP-UX-11.11.
Unfortunately, we don't support 64-bit userspace on PA/Linux yet.
Quoted 3 lines
Honestly I have no idea what the difference between ELF-64 and PA-RISC-2 is.
Are both 64 bit.
No. PA-RISC 2.0 introduced some new instructions, but does not have to be 64-bit. 64-bit can be useful, but it can also slow down applications. So it's a tradeoff.
Quoted 3 lines
Do you build this octave for
o linux on PA-Risc or also for
o HP-UX-11.11 ????
We don't build binaries for HP-UX. Some people have suggested starting a new port to build binaries for proprietary unices sch as Solaris and HP-UX, but nobody has actually done so yet.
Signature · 1 line
Revolutions do not require corporate support.
Quoted 3 lines · Matthew Wilcox
We don't build binaries for HP-UX. Some people have suggested starting a new port to build binaries for proprietary unices sch as Solaris and HP-UX, but nobody has actually done so yet.
It may be helpful, though, to pick up the Debian source package and look over the patches since there may be some that work around the "gotchas" of the platform. It would at least be a good start, even though the patches are probably a bit more linux-specific and probably shouldn't be used verbatim hoping that they fix problems for HP-UX compilation.
C
Quoted 5 lines · HEISERER DANIEL
I am also a little be astonished about the different object files existing on PA-Risc. There are
/usr/local/bin/perl: PA-RISC1.1 shared executable dynamically linked
-not stripped
as well as "PA-RISC2" executables.
Also note that "PA-RISC1.1" on HPUX implies the binary is a SOM binary (not ELF). parisc-linux uses ELF-32 format by default. This was "invented" for the parisc-linux port.
parisc-linux kernel has support for SOM binaries but it's really only for HPUX application compatibility.
Quoted 2 lines
Honestly I have no idea what the difference between ELF-64 and PA-RISC-2 is. Are both 64 bit?
Since PARISC2.0 introduced 64-bit capability, many people equate the two. (that's not a shooting offense. ;^) While Matthew is correct, in practice most folks build PA1.1 binaries when they want a 32-bit application.
I was building 32-bit PA-RISC2.0 linux kernels. But the toolchain was using "reloc" (type 74, iirc) that the kernel dynamic linker couldn't grok. So I couldn't load any kernel driver modules. I decided it wasn't worth pursueing and now build PA 1.1 kernels.
grant
Quoted 2 lines
Quoted 2 lines
Honestly I have no idea what the difference between ELF-64 and PA-RISC-2 is. Are both 64 bit?
PA-RISC-2 describes the machine architecture. ELF-64 describes one of the object file format that is use on PA-RISC-2 machines. The SOM object file format is used for 32-bit objects. As Grant noted, SOM objects support architectures from PA-RISC 1.0 onward. However, a 2.0 object will not work on a 1.1 machine.
The object file format zoo is even worse than described above. The debug formats used by gcc differ from those used by HP compilers.
Dave
Signature · 2 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6605)