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

The constructor Ccheckbound expects 1 argument(s) in selection.ml line 109 #4342

Closed
vicuna opened this issue Jul 14, 2007 · 3 comments
Closed
Labels

Comments

@vicuna
Copy link

vicuna commented Jul 14, 2007

Original bug ID: 4342
Reporter: lanwin
Status: closed (set by @xavierleroy on 2007-10-25T08:06:13Z)
Resolution: fixed
Priority: normal
Severity: block
Version: 3.10.0
Category: ~DO NOT USE (was: OCaml general)
Monitored by: lanwin

Bug description

Hi, ive got the compile error ( see Additional information ) while compiling ocaml 3.10(tar archive) and 3.11(cvs trunk). 3.09 compiles without errors.

Platform: Arm liddel endian
System: Debian Sid (ARM LE)
Gcc: 4:4.1.1-15
Glibc: 2.6-1

Additional information

ln -s arm/selection.ml asmcomp/selection.ml
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/selection.mli
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/selection.ml
File "asmcomp/selection.ml", line 109, characters 4-15:
The constructor Ccheckbound expects 1 argument(s),
but is here applied to 0 argument(s)
make: *** [asmcomp/selection.cmo] Error 2

@vicuna
Copy link
Author

vicuna commented Jul 21, 2007

Comment author: lanwin

This only happed in make opt. make world build without any problem.

@vicuna
Copy link
Author

vicuna commented Jul 24, 2007

Comment author: lanwin

Christoph Bauer helped me to solve this issue.

After simply replace Ccheckbound' by Ccheckbound _' in asmcomp/selection.ml line 109 make world.opt compiles without errors.

I dont know why this happen only on arm systems, but if you what to test something i am here to test it :-)

@vicuna
Copy link
Author

vicuna commented Oct 25, 2007

Comment author: @xavierleroy

Fixed in 3.10 branch. The ARM port now compiles fine on Debian 4.

@vicuna vicuna closed this as completed Oct 25, 2007
@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