Jeff,

shall I assume you made a typo and wrote CCFLAGS instead of CFLAGS ?

also, can you double check the flags are correctly passed to the assembler
with
cd opal/asm
make -n atomic-asm.lo

Cheers,

Gilles

On Friday, May 29, 2015, Jeff Layton <layto...@att.net> wrote:

> Good morning,
>
> I'm building OpenMPI from source on a Raspberry Pi 2 and
> I've hit an error. The error is:
>
> make[2]: Entering directory '/work/pi/src/openmpi-1.8.5/opal/asm'
>   CPPAS    atomic-asm.lo
> atomic-asm.S: Assembler messages:
> atomic-asm.S:7: Error: selected processor does not support ARM mode `dmb'
> atomic-asm.S:15: Error: selected processor does not support ARM mode `dmb'
> atomic-asm.S:23: Error: selected processor does not support ARM mode `dmb'
> atomic-asm.S:55: Error: selected processor does not support ARM mode `dmb'
> atomic-asm.S:70: Error: selected processor does not support ARM mode `dmb'
> atomic-asm.S:86: Error: selected processor does not support ARM mode
> `ldrexd r4,r5,[r0]'
> atomic-asm.S:91: Error: selected processor does not support ARM mode
> `strexd r1,r6,r7,[r0]'
> atomic-asm.S:107: Error: selected processor does not support ARM mode
> `ldrexd r4,r5,[r0]'
> atomic-asm.S:112: Error: selected processor does not support ARM mode
> `strexd r1,r6,r7,[r0]'
> atomic-asm.S:115: Error: selected processor does not support ARM mode `dmb'
> atomic-asm.S:130: Error: selected processor does not support ARM mode
> `ldrexd r4,r5,[r0]'
> atomic-asm.S:135: Error: selected processor does not support ARM mode `dmb'
> atomic-asm.S:136: Error: selected processor does not support ARM mode
> `strexd r1,r6,r7,[r0]'
> Makefile:1608: recipe for target 'atomic-asm.lo' failed
> make[2]: *** [atomic-asm.lo] Error 1
> make[2]: Leaving directory '/work/pi/src/openmpi-1.8.5/opal/asm'
> Makefile:2149: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/work/pi/src/openmpi-1.8.5/opal'
> Makefile:1698: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
>
>
> I was doing some googling and I saw where I need to specify
> CCFLAGS when I run configure but I want to make 100% sure
> I have the right arguments. Can anyone help?
>
> Thanks!
>
> Jeff
>
> P.S. I'd rather build OpenMPI from source rather than use the pre-built
> packages in the Raspbian repository.
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post:
> http://www.open-mpi.org/community/lists/users/2015/05/26976.php
>

Reply via email to