Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0005994OCamlback end (clambda to assembly)public2013-04-21 03:262015-12-11 19:18
Assigned Tomeurer 
Platformarmv6lOSLinuxOS Version3.1.9
Product Version4.00.1 
Target VersionFixed in Version4.00.2+dev 
Summary0005994: Error: shift expression is too large
DescriptionWhen 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
/tmp/camlasmb25bdd.s: Assembler messages:
/tmp/camlasmb25bdd.s:26774: Error: shift expression is too large -- `mov r6,r7,lsl#32'

Steps To Reproduce1. 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 InformationI've attached the log of the output from Ocaml's configure.
TagsNo tags attached.
Attached Filestxt file icon root.txt [^] (3,769 bytes) 2013-04-21 03:30 [Show Content]

- Relationships
duplicate of 0005910closedmeurer assembler complains of invalid code 

-  Notes
meyer (developer)
2013-04-21 03:32

Thanks a lot for reporting this ARM backend problem!

- Issue History
Date Modified Username Field Change
2013-04-21 03:26 astronouth7303 New Issue
2013-04-21 03:30 astronouth7303 File Added: root.txt
2013-04-21 03:32 meyer Note Added: 0009166
2013-04-21 03:32 meyer Assigned To => meurer
2013-04-21 03:32 meyer Status new => assigned
2013-05-07 12:55 meurer Relationship added duplicate of 0005910
2013-05-07 14:15 meurer Status assigned => acknowledged
2013-05-08 15:25 meurer Status acknowledged => resolved
2013-05-08 15:25 meurer Fixed in Version => 4.00.2+dev
2013-05-08 15:25 meurer Resolution open => fixed
2015-12-11 19:18 xleroy Status resolved => closed
2017-02-23 16:35 doligez Category OCaml backend (code generation) => Back end (clambda to assembly)
2017-02-23 16:44 doligez Category Back end (clambda to assembly) => back end (clambda to assembly)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker