Hi,

I am using cross toolchain to compile OpenMPI 1.6.3 for ARM w/
following command line.

./configure --build=x86_64-redhat-linux
--host=arm-unknown-linux-gnueabi CFLAGS="-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -mfpu=vfp -march=armv5te -mfloat-abi=hard"

Then I got following error there:

*** Assembler
checking dependency style of arm-unknown-linux-gnueabi-gcc... gcc3
checking for BSD- or MS-compatible name lister (nm)...
/home/huli/Projects/arm-devel/bin/arm-unknown-linux-gnueabi-nm -B
checking the name lister
(/home/huli/Projects/arm-devel/bin/arm-unknown-linux-gnueabi-nm -B)
interface... BSD nm
checking for fgrep... /bin/grep -F
checking if need to remove -g from CCASFLAGS... no
checking whether to enable smp locks... yes
checking if .proc/endp is needed... no
checking directive for setting text section... .text
checking directive for exporting symbols... .globl
checking for objdump... objdump
checking if .note.GNU-stack is needed... yes
checking suffix for labels... :
checking prefix for global symbol labels...
checking prefix for lsym labels... .L
checking prefix for function in .type... #
checking if .size is needed... yes
checking if .align directive takes logarithmic value... yes
configure: error: No atomic primitives available for arm-unknown-linux-gnueabi

Is there any good way to fix that?

Thank you very much.

Eric

Reply via email to