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