--enable-noexecstack causes make failure.

Joe Vender jvender at owensboro.net
Fri Mar 11 20:35:32 CET 2005


System is MinGW/MSYS on Windows98.

If I use the --enable-noexecstack option on the latest cvs version of GnuPG
1.4.1rc2, make crashes.

My configure line is:
$
CFLAGS='-O3 -mtune=i386 -march=i386 -mfpmath=387 -mno-mmx -mno-sse -mno-3dno
w -mno-sse2' ./configure --prefix=/home/gpg-inst --enable-noexecstack
LDFLAGS=-static

Default at COMPUTER /home/default/gnupg
$ make
<snipped>
if
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include    -O3 -mtune=i386 -march
=i386 -mfpmath=387 -mno-mmx -mno-sse -mno-3dnow -mno-sse2 -Wall -MT
mpiutil.o -MD -MP -MF ".deps/mpiutil.Tpo" -c -o mpiutil.o mpiutil.c; \
then mv -f ".deps/mpiutil.Tpo" ".deps/mpiutil.Po"; else rm -f
".deps/mpiutil.Tpo"; exit 1; fi
gcc -E -I.. -I../include -DHAVE_CONFIG_H mpih-mul1.S | grep -v '^#' >
_mpih-mul1.s
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include    -O3 -mtune=i386 -march
=i386 -mfpmath=387 -mno-mmx -mno-sse -mno-3dnow -mno-sse2 -Wall -Wa,--noexec
stack  -c _mpih-mul1.s
c:\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\as.exe:
unrecognized option `--noexecstack'
make[2]: *** [mpih-mul1.o] Error 1
make[2]: Leaving directory `/home/default/gnupg/mpi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/default/gnupg'
make: *** [all] Error 2





More information about the Gnupg-devel mailing list