while compiling libgcrypt on FreeBSD 10.1, I get a variety of errors that did
not appear on other operating systems. The same type of error appears in the
other mpi programs related to addition, subtraction, multiplication, etc...
Making all in mpi
/bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../src
-I../src -D_THREAD_SAFE -g -O2 -MT mpih-add1-asm.lo -MD -MP -MF
.deps/mpih-add1-asm.Tpo -c -o mpih-add1-asm.lo mpih-add1-asm.S
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -D_THREAD_SAFE
-g -O2 -MT mpih-add1-asm.lo -MD -MP -MF .deps/mpih-add1-asm.Tpo -c
mpih-add1-asm.S -fPIC -DPIC -o .libs/mpih-add1-asm.o
mpih-add1-asm.S:44:9: error: alignment must be a power of 2
.align 3,0x90
^
mpih-add1-asm.S:79:9: error: alignment must be a power of 2
.align 3,0x90
The program will compile if all instances of "ALIGN (3)" are changed to "ALIGN
(2)" within the mpi directory, but I'm not sure if this will break something
something or if it should be fixed with a compiler option.
The build system is:
kern.ostype: FreeBSD
kern.osrelease: 10.1-RELEASE
kern.osrevision: 199506
kern.version: FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014
root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC