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

Error: shift expression is too large #5994

Closed
vicuna opened this issue Apr 21, 2013 · 1 comment
Closed

Error: shift expression is too large #5994

vicuna opened this issue Apr 21, 2013 · 1 comment

Comments

@vicuna
Copy link

vicuna commented Apr 21, 2013

Original bug ID: 5994
Reporter: astronouth7303
Assigned to: meurer
Status: closed (set by @xavierleroy on 2015-12-11T18:18:52Z)
Resolution: fixed
Priority: normal
Severity: major
Platform: armv6l
OS: Linux
OS Version: 3.1.9
Version: 4.00.1
Fixed in version: 4.00.2+dev
Category: back end (clambda to assembly)
Duplicate of: #5910
Monitored by: astronouth7303

Bug description

When trying to compile another project (the Haxe language compiler), Ocaml produces invalid assembly and compilation fails.

This is on a Raspberry Pi, compiled on the pi. I compiled Ocaml myself. Haxe is being built with ocamlopt.

Exact error:
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -c main.ml
/tmp/camlasmb25bdd.s: Assembler messages:
/tmp/camlasmb25bdd.s:26774: Error: shift expression is too large -- `mov r6,r7,lsl#32'

Steps to reproduce

  1. Set up Raspbian on Raspberry Pi
  2. Download Ocaml tarball and build ocaml ('make world opt' is sufficient)
  3. Check out Haxe from SVN, build using make

Additional information

I've attached the log of the output from Ocaml's configure.

File attachments

@vicuna
Copy link
Author

vicuna commented Apr 21, 2013

Comment author: meyer

Thanks a lot for reporting this ARM backend problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant