Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCaml does not work for HP-UX #2544

Closed
vicuna opened this issue May 2, 2004 · 2 comments
Closed

OCaml does not work for HP-UX #2544

vicuna opened this issue May 2, 2004 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented May 2, 2004

Original bug ID: 2544
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Gerd Stolpmann
Version: 3.07pl2
OS: HP-UX 11i
Submission from: p50817545.dip0.t-ipconnect.de (80.129.117.69)

Hello,

I am currently trying to port GODI to HP-UX, and I found that O'Caml 3.07pl2
does not compile. It seems to be trivial. The error message is:

cd tools; godi_make CAMLC="../byterun/ocamlrun ../ocamlc -I ../stdlib" cvt_emit
../boot/ocamlrun ../boot/ocamllex cvt_emit.mll
12 states, 285 transitions, table size 1212 bytes
../byterun/ocamlrun ../ocamlc -I ../stdlib -c -warn-error A -I ../utils -I
../parsing -I ../typing -I ../bytecomp -I ../asmcomp -I ../driver cvt_emit.ml
../byterun/ocamlrun ../ocamlc -I ../stdlib -I ../utils -I ../parsing -I
../typing -I ../bytecomp -I ../asmcomp -I ../driver -o cvt_emit cvt_emit.cmo
byterun/ocamlrun tools/cvt_emit < asmcomp/hppa/emit.mlp > asmcomp/emit.ml || {
rm -f asmcomp/emit.ml; exit 2; }
boot/ocamlrun boot/ocamlc -nostdlib -I boot -warn-error A -I utils -I parsing -I
typing -I bytecomp -I asmcomp -I driver -I toplevel -c asmcomp/emit.ml
File "asmcomp/emit.ml", line 1078, characters 2-13:
Unbound value emit_global
*** Error code 2

Obviously, emit_global was renamed to declare_global between rev 1.13 and rev
1.14 of asmcomp/hppa/emit.mlp. I changed that, and ocamlopt seems to work now
(however, the build is still running when I am writing this message, don't know
if it completes).

The sad (?) implication of this bug is that nobody seems to use HP-UX...

Gerd

@vicuna
Copy link
Author

vicuna commented May 4, 2004

Comment author: administrator

Dear Gerd,

I am currently trying to port GODI to HP-UX, and I found that O'Caml 3.07pl2
does not compile. [...]
Obviously, emit_global was renamed to declare_global between rev
1.13 and rev 1.14 of asmcomp/hppa/emit.mlp. I changed that, and
ocamlopt seems to work now

I've committed the obvious fix, but am unable to test it.

The sad (?) implication of this bug is that nobody seems to use HP-UX...

Actually, I was considering to "obsolete" the HPPA/HP-UX native-code
generator. As you notice, we can no longer maintain it properly by
lack of test machines (the HPUX machines available on HP's testdrive
program are poorly installed and essentially unusable), and nobody
seems to use it anyway.

Best wishes,

  • Xavier

@vicuna
Copy link
Author

vicuna commented May 10, 2004

Comment author: administrator

fixed (but not tested) DD 2004-05-10

@vicuna vicuna closed this as completed May 10, 2004
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant