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

bug in ppc native compiler #3291

Closed
vicuna opened this issue Apr 10, 2002 · 2 comments
Closed

bug in ppc native compiler #3291

vicuna opened this issue Apr 10, 2002 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 10, 2002

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

Bug description

Doing make optp4, (after make world bootstrap opt ocamlc.opt ocamlopt.opt)
fails on powerpc/linux. It works fine on x86.

make[1]: Entering directory /home/users/builder/rpm/BUILD/ocaml-3.04/camlp4/meta' ../../boot/ocamlrun ../boot/camlp4r -nolib -I ../boot pa_extend.cmo q_MLast.cmo -o pa_r.ppo pa_r.ml ../../boot/ocamlrun ../../ocamlopt -I ../../stdlib -I ../camlp4 -I ../boot -I ../../utils -I ../../parsing -c -impl pa_r.ppo /home/users/builder/tmp/camlasm0.s: Assembler messages: /home/users/builder/tmp/camlasm0.s:26869: Error: operand out of range (54196 not between -32768 and 32767) /home/users/builder/tmp/camlasm0.s:27246: Error: operand out of range (52688 not between -32768 and 32767) [more out of range cut] Assembler error, input left in file /home/users/builder/tmp/camlasm0.s make[1]: *** [pa_r.cmx] Error 2 make[1]: Leaving directory /home/users/builder/rpm/BUILD/ocaml-3.04/camlp4/meta'
make: *** [optp4] Error 2

I can send you camlasm0.s if you would like.

--
: Michal Moskal :::::::: malekith/at/pld.org.pl : GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h

@vicuna
Copy link
Author

vicuna commented Apr 12, 2002

Comment author: administrator

Doing make optp4, (after make world bootstrap opt ocamlc.opt ocamlopt.opt)
fails on powerpc/linux. It works fine on x86.
/home/users/builder/tmp/camlasm0.s: Assembler messages:
/home/users/builder/tmp/camlasm0.s:26869: Error: operand out of range
(54196 not between -32768 and 32767)

This is a known issue with the PPC code generator. It is fixed in the
working sources.

Regards,

  • Xavier Leroy

@vicuna
Copy link
Author

vicuna commented Apr 15, 2002

Comment author: administrator

Already fixed in 3.04+N.

@vicuna vicuna closed this as completed Apr 15, 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