Date: Tue, 9 Sep 2014 12:05:27 +0200 From: Damien Fleuriot <ml@my.gd> To: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: 8.4 - libgcrypt won't build, complains about xgetbv missing from assembler Message-ID: <CAE63ME4RViPsW2dR6faqy9emKd4PZ=ajGjnUzvr7f7-hwXsZVA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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 ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE63ME4RViPsW2dR6faqy9emKd4PZ=ajGjnUzvr7f7-hwXsZVA>
