[Bug 1166628] Re: New compile error on ARM

Snark julien.puydt at laposte.net
Tue Apr 16 12:56:38 UTC 2013


Is it fixed upstream too?

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

Title:
  New compile error on ARM

Status in binutils:
  Confirmed
Status in “binutils” package in Ubuntu:
  Fix Released

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/1166628/+subscriptions




More information about the foundations-bugs mailing list