8.4 - libgcrypt won't build, complains about xgetbv missing from assembler
Damien Fleuriot
ml at my.gd
Tue Sep 9 11:06:46 UTC 2014
For what it's worth, managed to solve the problem by :
- changing CPU type from KVM (it's a virtual machine) to Host (Xeon)
- rebuilding kernel-toolchain
- rebuilding kernel
- rebuilding world
- reinstalling kernel + world
- rebuilding port
On 9 September 2014 12:05, Damien Fleuriot <ml at my.gd> wrote:
> Hello list,
>
>
>
> I'm hitting this peculiar problem on 8.4-STABLE where
> /usr/ports/security/libgcrypt/ won't build and complains about xgetbv , per
> :
>
> ==
> /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -I.. -D_THREAD_SAFE -I/usr/local/include -pipe -g -std=gnu89
> -fvisibility=hidden -Wall -MT hwf-x86.lo -MD -MP -MF .deps/hwf-x86.Tpo -c
> -o hwf-x86.lo hwf-x86.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE
> -I/usr/local/include -pipe -g -std=gnu89 -fvisibility=hidden -Wall -MT
> hwf-x86.lo -MD -MP -MF .deps/hwf-x86.Tpo -c hwf-x86.c -fPIC -DPIC -o
> .libs/hwf-x86.o
> hwf-x86.c:150: warning: 'get_xgetbv' defined but not used
> {standard input}: Assembler messages:
> {standard input}:106: Error: no such instruction: `xgetbv'
> *** Error code 1
> Stop in /usr/ports/security/libgcrypt/work/libgcrypt-1.6.1/src.
> *** Error code 1
> ==
>
>
> Googling around suggests the problem might stem from /usr/bin/as
>
> as reports version :
> ==
> GNU assembler 2.15 [FreeBSD] 2004-05-23
> ==
>
>
> 10-STABLE compiles security/libgcrypt just fine, with /usr/bin/as version
> 2.17.50
>
> The ports tree is up to date as of today.
>
>
> Is anyone able to reproduce the problem on 8.4 ?
>
>
More information about the freebsd-stable
mailing list