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

Assembler messages: operand out of range #139

Open
Qwertylex opened this issue Mar 2, 2019 · 0 comments
Open

Assembler messages: operand out of range #139

Qwertylex opened this issue Mar 2, 2019 · 0 comments

Comments

@Qwertylex
Copy link

All of the following projects fail to assemble on jor1k but work fine on x86
end up with very similar error:

https://github.com/gsson/gulp

and also:

<nn.c> https://gist.github.com/Qwertylex/8da95c27fa66af0401becd4837d03513

~ $ gcc -std=gnu99 nn.c
/tmp/ccjjkNEG.s: Assembler messages:
/tmp/ccjjkNEG.s:141: Error: operand out of range (1073741758 not between -33554432 and 33554431)
/tmp/ccjjkNEG.s:144: Error: operand out of range (1073741716 not between -33554432 and 33554431)
~ $

see lines 141 and 144 of <nn.s> https://gist.github.com/Qwertylex/75785601962e1d8ca1986fd7f88a6de6 for the lines mentioned in the above error...

and fseek-test:
https://github.com/ECE2524/fseek-test

~ $ make
gcc -Wall -Wextra -pedantic -D_XOPEN_SOURCE=700   -c -o fdaccess.o fdaccess.c
/tmp/ccHHMpHG.s: Assembler messages:
/tmp/ccHHMpHG.s:62: Error: operand out of range (1073741805 not between -33554432 and 33554431)
make: *** [fdaccess.o] Error 1
~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant