[Bug 1166628] Re: New compile error on ARM

Adam Conrad adconrad at 0c3.net
Mon Apr 15 15:10:36 UTC 2013


** Bug watch added: Sourceware.org Bugzilla #14887
   http://sourceware.org/bugzilla/show_bug.cgi?id=14887

** Also affects: binutils via
   http://sourceware.org/bugzilla/show_bug.cgi?id=14887
   Importance: Unknown
       Status: Unknown

-- 
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:
  Unknown
Status in “binutils” package in Ubuntu:
  New

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