The following message is displayed and fails to compile.
libtool: compile: i686-gentoo-freebsd10.1-gcc -DHAVE_CONFIG_H -I.
-I/var/tmp/portage/dev-libs/libgcrypt-1.6.3/work/libgcrypt-1.6.3/mpi -I..
-I../src -I/var/tmp/portage/dev-libs/libgcrypt-1.6.3/work/libgcrypt-1.6.3/src
-D_THREAD_SAFE -Wa,--noexecstack -O2 -march=i686 -pipe -c mpih-add1-asm.S -fPIC
-DPIC -o .libs/mpih-add1-asm.o
mpih-add1-asm.S: Assembler messages:
mpih-add1-asm.S:44: Error: alignment not a power of 2
mpih-add1-asm.S:79: Error: alignment not a power of 2
Makefile:596: recipe for target 'mpih-add1-asm.lo' failed
gmake[2]: * [mpih-add1-asm.lo] Error 1
gmake[2]: * Waiting for unfinished jobs....
libtool: compile: i686-gentoo-freebsd10.1-gcc -DHAVE_CONFIG_H -I.
-I/var/tmp/portage/dev-libs/libgcrypt-1.6.3/work/libgcrypt-1.6.3/mpi -I..
-I../src -I/var/tmp/portage/dev-libs/libgcrypt-1.6.3/work/libgcrypt-1.6.3/src
-D_THREAD_SAFE -Wa,--noexecstack -O2 -march=i686 -pipe -c mpih-sub1-asm.S -fPIC
-DPIC -o .libs/mpih-sub1-asm.o
mpih-sub1-asm.S: Assembler messages:
mpih-sub1-asm.S:45: Error: alignment not a power of 2
mpih-sub1-asm.S:80: Error: alignment not a power of 2
Makefile:596: recipe for target 'mpih-sub1-asm.lo' failed
gmake[2]: *** [mpih-sub1-asm.lo] Error 1
I think caused by does not contain a regular expression for the freebsd10.0 in
mpi/config.links.
The attached patch to add it, and the successful compile.