From owner-freebsd-stable@FreeBSD.ORG Tue Sep 9 11:06:46 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F3F1B9A4 for ; Tue, 9 Sep 2014 11:06:45 +0000 (UTC) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C34F836 for ; Tue, 9 Sep 2014 11:06:44 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id v6so2570761lbi.41 for ; Tue, 09 Sep 2014 04:06:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=lopBPcQdVazu//Ji8iqOjU6JJL2M9/AONxM834ePIrg=; b=f5qt+dnLOJ4NMI5PSN24ZEA+xJlKqYrX5FsLvIgKkeLV++MWYzFggCnVNHKyV2tUlQ zs4ZlA7a0bHm8GuIxq1OK2horW40s4uPyiE0rIAAhRG9HvAsrn/QK2mHb3Ox5uTO/ZjF C8QVQC/4IRDaWo+WTJxWd6pd/+Jzuo1n5AwTva+Y2y5sXW91d7+CAHPvWdciafYVzld2 TA0QwvtHRcyMiKwxkXQ2IQKLreWRw/jwy2M9ifmUKbQ2IL0/nA9kaBlL15w/YKO5F/IZ dq23EIupHIWLesEq0QEeuXavcYM1+LEs4RstVw/8BlKTurpXxi/sNu9xLQOuukljnkx+ ZMFQ== X-Gm-Message-State: ALoCoQms3vE+8wmI/zSoAIRsecAyDkiCFlbkBi2sWmTzVHF9Awzx+od46rdP1FAxyc4Wa0pNdMnl MIME-Version: 1.0 X-Received: by 10.152.10.41 with SMTP id f9mr35510865lab.25.1410260802660; Tue, 09 Sep 2014 04:06:42 -0700 (PDT) Received: by 10.112.219.106 with HTTP; Tue, 9 Sep 2014 04:06:42 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Sep 2014 13:06:42 +0200 Message-ID: Subject: Re: 8.4 - libgcrypt won't build, complains about xgetbv missing from assembler From: Damien Fleuriot To: "freebsd-stable@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2014 11:06:46 -0000 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 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 ? > >