Selected processor does not support ARM mode `dmb st'

Bug #1327025 reported by Weilong Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linaro-networking
Fix Released
Undecided
Unassigned

Bug Description

I came accoss this problem when doing a lava test on lava-lng-arndale03:
+ git clone git://git.linaro.org/lng/odp.git
 Cloning into 'odp'...
 + cd odp
 + make
 make -C /lava-lng-arndale03/tests/0_odp-generator-server/odp/platform/linux-generic libs
 make[1]: Entering directory '/lava-lng-arndale03/tests/0_odp-generator-server/odp/platform/linux-generic'
 mkdir -p ./obj
 mkdir -p ./lib
 Compiling source/odp_barrier.c
 cc -c -MD -I../../include -I./include -I./include/api -DODP_DEBUG_PRINT=1 -O3 -pthread -W -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wpointer-arith -Wcast-align -Wnested-externs -Wcast-qual -Wformat-nonliteral -Wformat-security -Wundef -Wwrite-strings -o obj/odp_barrier.o source/odp_barrier.c
 /tmp/cc50qrUa.s: Assembler messages:
 /tmp/cc50qrUa.s:28: Error: selected processor does not support ARM mode `dmb st'
 /tmp/cc50qrUa.s:43: Error: selected processor does not support ARM mode `dmb st'
 Makefile:97: recipe for target 'obj/odp_barrier.o' failed
 make[1]: *** [obj/odp_barrier.o] Error 1
 make[1]: Leaving directory '/lava-lng-arndale03/tests/0_odp-generator-server/odp/platform/linux-generic'
 Makefile:37: recipe for target 'lib' failed
 make: *** [lib] Error 2

The test link is:
https://validation.linaro.org/scheduler/job/131068/log_file

Revision history for this message
Taras Kondratiuk (taras-kondratiuk) wrote :

Looks like compiler is not configured to armv7a by default.
Try with '-march=armv7-a'

Revision history for this message
Weilong Chen (weilong-chen) wrote :

I tried "make -march=armv7-a"
It didn't work, am I right?

The log is:
+ make -march=armv7-a
 make: invalid option -- 'a'
 make: invalid option -- 'c'
 make: invalid option -- '='
 make: invalid option -- 'a'
 make: invalid option -- '7'
 make: invalid option -- '-'
 make: invalid option -- 'a'
https://validation.linaro.org/scheduler/job/133243/log_file

Thanks

Revision history for this message
Taras Kondratiuk (taras-kondratiuk) wrote :

You have to pass -march=armv7-a to your compiler instead of make.

Revision history for this message
Weilong Chen (weilong-chen) wrote :

Currently OE not support compile odp.
Use /usr/share/odp/odpXXX to do the test

Changed in linaro-networking:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.