flint ftbfs on armel (assembler errors)
Bug #860882 reported by
Matthias Klose
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flint (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Oneiric |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
gcc -fPIC -std=c99 -g -O2 -g -O2 -Wall -funroll-loops -I/usr/include -I/usr/include/NTL -c ZmodF.c -o ZmodF.o
ZmodF.c: In function 'ZmodF_divby3':
ZmodF.c:556:18: warning: unused variable 'rem' [-Wunused-variable]
/tmp/ccuSSTb5.s: Assembler messages:
/tmp/ccuSSTb5.
make[1]: *** [ZmodF.o] Error 1
Related branches
Changed in flint (Ubuntu Oneiric): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
tags: | added: thumb2 |
Changed in flint (Ubuntu Oneiric): | |
status: | Confirmed → Won't Fix |
To post a comment you must log in.
Thank you for the bug report. I've confirmed this with gcc-linaro- 4.6-2011. 09-1 on ARM:
michaelh@ leo2:~/ linaro/ packages/ flint-1. 011$ /tools/ toolchains/ arch/armv7l/ gcc-linaro- 4.6-2011. 09-armv7l- natty-cbuild181 -ursa4- cortexa9r1/ bin/gcc -fPIC -std=c99 -g -O1 -c ZmodF.i s:2087: Error: selected processor does not support Thumb mode `rsc ip,r2,r2'
/tmp/cc9K1v0U.s: Assembler messages:
/tmp/cc9K1v0U.
The assembler is correct - the rsc instruction is only available in ARM mode.
The fault is caused by the inline assembly in longlong.h. It should be updated for Thumb-2 or disabled.