Public bug reported:

I have the following compile error with gcc-4.7 version 4.7.2-23ubuntu2:

/bin/bash ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc 
-std=gnu99 -c -DHAVE_CONFIG_H    -O2 -fomit-frame-pointer -D__GMP_WITHIN_GMP 
-I.. -DOPERATION_`echo udiv | sed 's/_$//'` -I. -I..  `test -f 'udiv.asm' || 
echo './'`udiv.asm
libtool: compile:  ../mpn/m4-ccas --m4=m4 gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 
-fomit-frame-pointer -D__GMP_WITHIN_GMP -I.. -DOPERATION_udiv -I. -I.. udiv.asm 
 -fPIC -DPIC -o .libs/udiv.o
m4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_udiv -DPIC udiv.asm 
>tmp-udiv.s
 gcc -std=gnu99 -c -DHAVE_CONFIG_H -O2 -fomit-frame-pointer -D__GMP_WITHIN_GMP 
-I.. -DOPERATION_udiv -I. -I.. tmp-udiv.s -fPIC -DPIC -o .libs/udiv.o
tmp-udiv.s: Assembler messages:
tmp-udiv.s:83: Error: ARM register expected -- `str r1,[ r0 ]'
tmp-udiv.s:134: Error: ARM register expected -- `str r1,[ r0 ]'
make[2]: *** [udiv.lo] Error 1 

The problem occurs  trying to compile either mpir (upstream 2.6.0 or
upstream trunk), or the ubuntu source package for libgmp10. The source
file triggering the problem is in fact mostly the same.

I think I can blame gcc rather than that source file because it used to
compile when my toshiba ac100 was still running precise, then quantal.

** Affects: gcc-4.7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1166628

Title:
  New compile error on ARM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1166628/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to