[Bug 677360] Re: Generated assembly doesn't correspond to the ARM processor

Matthias Klose doko at ubuntu.com
Wed Jun 11 13:20:20 UTC 2014


** Changed in: gcc-defaults (Ubuntu)
       Status: New => Invalid

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

Title:
  Generated assembly doesn't correspond to the ARM processor

Status in Linaro GCC:
  Invalid
Status in “gcc-defaults” package in Ubuntu:
  Invalid

Bug description:
  While investigating why I couldn't compile sage on the toshiba AC100
  (an ARM-based netbook) -- this is report
  http://trac.sagemath.org/sage_trac/ticket/10285 , it appeared that
  some of the problems are due to the compiler, which from a C file goes
  to an assembly file... and then fails to build it!

  Here is an example -- taken from Boehm's garbage collector's failed
  compilation (the full build log is attached to the sage report):

  gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"7.1\" "-DPACKAGE_STRING=\"gc 7.1\"" -DPACKAGE_BUGREPORT=\"snipped\" -DGC_VERSI
  ON_MAJOR=7 -DGC_VERSION_MINOR=1 -DPACKAGE=\"gc\" -DVERSION=\"7.1\" -DGC_LINUX_TH
  READS=1 -D_REENTRANT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
   -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE
  _INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DNO_EXECUTE_
  PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DGC_GCJ_SUPPORT=1 -DJAVA_FINALIZATION=1 
  -DATOMIC_UNCOLLECTABLE=1 -DLARGE_CONFIG=1 -I./include -fexceptions -I libatomic_
  ops/src -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc.Tpo -c alloc.c  -fPIC -DPIC 
  -o .libs/alloc.o
  /tmp/cckXY2Jn.s: Assembler messages:
  /tmp/cckXY2Jn.s:1314: Error: selected processor does not support Thumb mode `swp ip,r2,[r3]'
  /tmp/cckXY2Jn.s:1371: Error: selected processor does not support Thumb mode `swp ip,r0,[r2]'
  /tmp/cckXY2Jn.s:2783: Error: selected processor does not support Thumb mode `swp lr,r2,[r6]'
  /tmp/cckXY2Jn.s:2851: Error: selected processor does not support Thumb mode `swp r1,r0,[r3]'
  /tmp/cckXY2Jn.s:3613: Error: selected processor does not support Thumb mode `swp ip,r2,[r3]'
  /tmp/cckXY2Jn.s:3652: Error: selected processor does not support Thumb mode `swp ip,r1,[r3]'
  make[3]: *** [alloc.lo] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-linaro/+bug/677360/+subscriptions



More information about the foundations-bugs mailing list