[EMAIL PROTECTED] wrote:
Libgcrypt fails to build on FreeBSD 6.2R (GCC 3.4.6):

cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/usr/local/include
-I/usr/local/include -O2 -fno-strict-aliasing -pipe -Wall
-Wpointer-arith -MT rijndael.lo -MD -MP -MF .deps/rijndael.Tpo -c
rijndael.c -o rijndael.o >/dev/null 2>&1
*** Error code 1

Stop in /usr/ports/security/libgcrypt/work/libgcrypt-1.4.0/cipher.

Where the actual error message is:

rijndael.c: In function do_padlock':
rijndael.c:2062: error: can't find a register in class GENERAL_REGS'
while reloading asm'

A quick workaround was to remove -O2 from cipher/Makefile.


Also a note to 6.3, 7.0 and -CURRENT users you will need to rebuild all the ports that depend on libgcrypt.

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to