tmp-lshift.s:106: Error: selected processor does not support ARM mode `vdup.32 d6, r3'

Torbjörn Granlund tg at gmplib.org
Sun Dec 30 16:12:43 UTC 2018


Jeffrey Walton <noloader at gmail.com> writes:

  I'm working on my BananaPi. It is a Cortex-A7 with ARMv7-a.

  Compile results in the following. According to Stallman I believe you
  are supposed to add the necessary options to compile the file
  independent of CFLAGS, and it should not need to be override-able by
  the user because it is required. Also see
  https://www.gnu.org/prep/standards/html_node/Command-Variables.html .

   gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I..
  -DOPERATION_lshift -I/usr/local/include -DNDEBUG -g2 -O2 -march=native
  -fPIC -Wa,--noexecstack tmp-lshift.s -fPIC -DPIC -o .libs/lshift.o
  tmp-lshift.s:  gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I..
  -D__GMP_WITHIN_GMP -I.. -DOPERATION_rshift -I/usr/local/include
  -DNDEBUG -g2 -O2 -march=native -fPIC -Wa,--noexecstack tmp-rshift.s
  -fPIC -DPIC -o .libs/rshift.o
  Assembler messages:
  tmp-lshift.s:106: Error: selected processor does not support ARM mode
  `vdup.32 d6,r3'
  tmp-lshift.s:108: Error: selected processor does not support ARM mode
  `vdup.32 d7,r3'
  tmp-lshift.s:114: Error: selected processor does not support ARM mode
  `vshl.u64 d18,d19,d7'
  tmp-lshift.s:120: Error: selected processor does not support ARM mode
  `vshl.u64 d4,d19,d6'
  ...

Are you implicitly saying that you're overriding CFLAGS (at "make" time)
and then things fail and that it shouldn't fail?

If I guess right, my recommendation is that you don't override CFLAGS in
a build-breaking manner.

If I guess wrong, please spell our what you do and what you think is
wrong in GMP.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list