s-macke / jor1k

Online OR1K Emulator running Linux
http://jor1k.com
BSD 2-Clause "Simplified" License
1.73k stars 193 forks source link

GCC : Operand out of range #157

Closed Th3G33k closed 4 years ago

Th3G33k commented 4 years ago

When i try to compile Toledo nanochess (https://nanochess.org/toledo_nanochess.c) and other programs, it shows : /tmp/ccjeFOaJ.s: Assembler messages:
/tmp/ccjeFOaJ.s:1140: Error: operand out of range (1073741167 not between -33554432 and 33554431) ... Do you have any idea where the error came from ?

Edit: similar issue to #140

s-macke commented 4 years ago

Try it again. I have updated gcc and nanochess compiles just fine.

Th3G33k commented 4 years ago

Thank you. Now, it works fine