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 on OpenBSD/alpha patches #3706

Closed
vicuna opened this issue Sep 16, 2002 · 1 comment
Closed

ocaml on OpenBSD/alpha patches #3706

vicuna opened this issue Sep 16, 2002 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Sep 16, 2002

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

Bug description

Full_Name: Nikolay Sturm
Version: 3.06
OS: OpenBSD
Submission from: marvin.sec.informatik.tu-darmstadt.de (141.12.220.42)

Ocaml does not compile on current OpenBSD/alpha systems. The attached patches
fix
this problem (the are from Art Grabowsky art@openbsd.org)

--- asmcomp/alpha/emit.mlp.orig Tue Sep 10 21:01:03 2002
+++ asmcomp/alpha/emit.mlp Tue Sep 10 21:01:08 2002
@@ -280,8 +280,8 @@ let emit_call_gc gc =

let rdata_section =
match Config.system with

  • "digital" | "openbsd" -> ".rdata"
  • | "linux" | "netbsd" | "freebsd" -> ".section .rodata"
  • "digital" -> ".rdata"
  • | "linux" | "openbsd" | "netbsd" | "freebsd" -> ".section .rodata"
    | _ -> assert false

(* Names of various instructions *)

--- asmrun/alpha.S.orig Tue Sep 10 21:01:35 2002
+++ asmrun/alpha.S Tue Sep 10 21:01:53 2002
@@ -426,7 +426,7 @@ $111: ldgp $gp, 0($27)
br caml_c_call /* never returns */
.end caml_array_bound_error

-#if defined(SYS_digital) || defined(SYS_openbsd)
+#if defined(SYS_digital)
.rdata
#else
.section .rodata

@vicuna
Copy link
Author

vicuna commented Sep 20, 2002

Comment author: administrator

Fixed as proposed 2002-09-20 XL

@vicuna vicuna closed this as completed Sep 20, 2002
@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