From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 13:42:18 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96868106564A for ; Thu, 24 Jun 2010 13:42:18 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 224108FC0A for ; Thu, 24 Jun 2010 13:42:17 +0000 (UTC) Received: by fxm7 with SMTP id 7so4464328fxm.13 for ; Thu, 24 Jun 2010 06:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=wxcBjdAQNr9LUuLL6MnedUqcH3SBw45SbUB2uMP4LUc=; b=Z3pQq0Qt7ptJQyaPbiHXw+IBHc1IDFAnkFzOvo8PrOadYDvXbX+WxI7YUox1sOV8Vl qrcddgbvsir6ITCEh1LrY4FoKWsZ3fm7k/wanaZAtMHj7U2zlZXUcPYPeNpgOqegzQvm iu5uE33VS1C11WCTL55Jici617TcPjE1xPvY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Jld6nI0C0xWtD+xxQpl0twlp0/i36qZBKrRTg+7R7ogT5BJalB587jwra+Litfy5kL o2IM7OXaQz3JyzSzQ+8Cqv937jBcz7OmFVTE9jBmmryJIrINg3mPm181KklLHbgP2qAA eEPWFXGxy+s+FU49lukrADvj44DOib7ugAiYs= MIME-Version: 1.0 Received: by 10.239.191.210 with SMTP id c18mr690228hbi.16.1277386936843; Thu, 24 Jun 2010 06:42:16 -0700 (PDT) Received: by 10.239.185.1 with HTTP; Thu, 24 Jun 2010 06:42:16 -0700 (PDT) In-Reply-To: References: Date: Thu, 24 Jun 2010 14:42:16 +0100 Message-ID: From: Tom Evans To: Cristiano Deana Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Problem with buildworld with CLANG X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 13:42:18 -0000 On Thu, Jun 24, 2010 at 2:33 PM, Cristiano Deana wrote: > On Thu, Jun 24, 2010 at 11:24 AM, Tom Evans wr= ote: > >> The error in your first email was clearly a warning being promoted to >> an error, so either you had a different error on your build with >> NO_WERROR/WERROR, or your NO_WERROR/WERROR settings were not being >> respected. Please retry with NO_WERROR/WERROR set in /etc/src.conf, >> and show the resulting error. > > Last lines: > > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst= .c:135:2: > error: unsupported inline asm: input with type 'unsigned long' > matching output with type > =C2=A0 =C2=A0 =C2=A0'unsigned int' > =C2=A0 =C2=A0 =C2=A0 =C2=A0R1(D,A,B,C,X( 4), 5,0x5A827999L); > =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst= .c:60: > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_locl= .h:108:4: > note: instantiated from: > =C2=A0 =C2=A0 =C2=A0 =C2=A0a=3DROTATE(a,s); };\ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst= .c:135:2: > note: instantiated from: > =C2=A0 =C2=A0 =C2=A0 =C2=A0R1(D,A,B,C,X( 4), 5,0x5A827999L); > =C2=A0 =C2=A0 =C2=A0 =C2=A0^ =C2=A0~ > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst= .c:135:5: > note: instantiated from: > =C2=A0 =C2=A0 =C2=A0 =C2=A0R1(D,A,B,C,X( 4), 5,0x5A827999L); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^ > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst= .c:136:2: > error: unsupported inline asm: input with type 'unsigned long' > matching output with type > =C2=A0 =C2=A0 =C2=A0'unsigned int' > =C2=A0 =C2=A0 =C2=A0 =C2=A0R1(C,D,A,B,X( 8), 9,0x5A827999L); > =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst= .c:60: > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_locl= .h:108:4: > note: instantiated from: > =C2=A0 =C2=A0 =C2=A0 =C2=A0a=3DROTATE(a,s); };\ > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^ > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst= .c:136:2: > note: instantiated from: > =C2=A0 =C2=A0 =C2=A0 =C2=A0R1(C,D,A,B,X( 8), 9,0x5A827999L); > =C2=A0 =C2=A0 =C2=A0 =C2=A0^ =C2=A0~ > /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst= .c:136:5: > note: instantiated from: > =C2=A0 =C2=A0 =C2=A0 =C2=A0R1(C,D,A,B,X( 8), 9,0x5A827999L); > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^ > fatal error: too many errors emitted, stopping now [-ferror-limit=3D] > 4 warnings and 20 errors generated. > *** Error code 1 > > Stop in /usr/src/secure/lib/libcrypto. > *** Error code 1 > > So thats a completely different error than you had been reporting. I'm afraid I don't know enough about clang to help with that one. Cheers Tom