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

Thumb-2 MUL must not set flags -- `muls r4,r3,r2' #6091

Closed
vicuna opened this issue Jul 26, 2013 · 2 comments
Closed

Thumb-2 MUL must not set flags -- `muls r4,r3,r2' #6091

vicuna opened this issue Jul 26, 2013 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Jul 26, 2013

Original bug ID: 6091
Reporter: meyer
Assigned to: meurer
Status: closed (set by @xavierleroy on 2015-12-11T18:21:10Z)
Resolution: fixed
Priority: urgent
Severity: minor
Platform: ARM V7
OS: Linux
OS Version: 3.4.0
Version: 4.02.0+dev
Target version: 4.01.0+dev
Category: back end (clambda to assembly)

Bug description

During building of current trunk of ocaml on Samsung Chromebook based on A15 V7 core:

make[5]: Entering directory `/home/danmey/src/ocaml-trunk/stdlib'
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags pervasives.cmx` -c pervasives.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags array.cmx` -c array.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags list.cmx` -c list.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags char.cmx` -c char.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags string.cmx` -c string.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags sys.cmx` -c sys.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags sort.cmx` -c sort.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags marshal.cmx` -c marshal.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags int32.cmx` -c int32.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags obj.cmx` -c obj.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags int64.cmx` -c int64.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags nativeint.cmx` -c nativeint.ml
../boot/ocamlrun ../ocamlopt -warn-error A -nostdlib -g `./Compflags lexing.cmx` -c lexing.ml
/tmp/camlasm28fefc.s: Assembler messages:
/tmp/camlasm28fefc.s:428: Error: Thumb-2 MUL must not set flags -- `muls r4,r3,r2'
File "lexing.ml", line 1:
Error: Assembler error, input left in file /tmp/camlasm28fefc.s
make[5]: *** [lexing.cmx] Error 2

Additional information

gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
GNU assembler (GNU Binutils for Ubuntu) 2.22

File attachments

@vicuna
Copy link
Author

vicuna commented Jul 26, 2013

Comment author: meyer

Revision 13837 introduced this problem.

@vicuna
Copy link
Author

vicuna commented Jul 27, 2013

Comment author: meurer

Fixed in trunk revision 13939.

@vicuna vicuna closed this as completed Dec 11, 2015
@vicuna vicuna added this to the 4.01.0 milestone Mar 14, 2019
@vicuna vicuna added the bug label Mar 20, 2019
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