Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2008 23:58:11 -0500
From:      "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
To:        ozzmosis@gmail.com
Cc:        arved@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: security/libgcrypt
Message-ID:  <47C790E3.6020603@gmail.com>
In-Reply-To: <20080229035625.GA22215@ozzmosis.com>
References:  <20080229035625.GA22215@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
ozzmosis@gmail.com 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C790E3.6020603>