[gmp-bugs] Build feedback for gmp-6.1.0

Marc Glisse marc.glisse at inria.fr
Thu Feb 25 16:38:58 UTC 2016


On Thu, 25 Feb 2016, Nelson H. F. Beebe wrote:

>>>> When gmp-6.1.0 is built with
>>>>
>>>>    export PATH=/bin:/usr/bin
>>>>    ./configure && make all check
>>>>
>>>> I get a compile-time failure in assembly code:
>>>>
>>>>    /usr/bin/gcc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_lshift \
>>>>       -I/usr/uumath/include -I/usr/uumath/include -Wa,--noexecstack tmp-lshift.s -fPIC \
>>>>       -DPIC -o .libs/lshift.o
>>>
>>> Do you have CFLAGS set or something? I find your list of flags
>>> surprisingly short.
>>> ...
>
> CFLAGS likely doesn't apply there: it is the assembly-language file
> tmp-lshift.s that is being compiled.

But it still does apply, in GMP.

>  The Makefile has these settings:

I was asking if CFLAGS is set in your environment, before trying to build 
GMP.

> 	AS		= as
> 	ASMFLAGS	=  -Wa,--noexecstack
> 	CFLAGS		=  -I${prefix}/include

-- 
Marc Glisse


More information about the gmp-bugs mailing list