Need -fomit-frame-pointer to compile

gnupg at ethen.de gnupg at ethen.de
Wed Feb 13 12:58:00 CET 2008


Just in case it helps:

I need -fomit-frame-pointer to compile libgcrypt-1.4.0.

gcc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/extend/download/gpg/tempinst/include -g -O1 -Wall -Wpointer-arith -MT rijndael.lo -MD -MP -MF .deps/rijndael.Tpo -c rijndael.c -o rijndael.o
rijndael.c: In function `do_padlock':
rijndael.c:2062: error: can't find a register in class `GENERAL_REGS' while reloading `asm'

gcc -fomit-frame-pointer -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/extend/download/gpg/tempinst/include -g -O1 -Wall -Wpointer-arith -MT rijndael.lo -MD -MP -MF .deps/rijndael.Tpo -c rijndael.c -o rijndael.o
(no error)

gcc --version
gcc (GCC) 3.3.3 (SuSE Linux)

uname -a
Linux name 2.6.5-7.276-default #1 Mon Jul 24 10:45:31 UTC 2006 i686 i686 i386 GNU/Linux



More information about the Gcrypt-devel mailing list