twofish eats a LOT of memory

Thomas Mikkelsen tbm at
Tue Aug 11 22:47:32 CEST 1998

When compiling twofish.c I get this.

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -I../intl  -O2
-Wall -shared  -fPIC -o twofish twofish.c
twofish.c: In function `twofish_setkey':
twofish.c:580: virtual memory exhausted
make: *** [twofish] Error 1

I have 32 MB ram and 32 MB swap, I run Linux 2.1.115 and egcs 1.0.2. The
problem was solved by using -O instead of -O2.

More information about the Gnupg-devel mailing list