Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2010 14:42:16 +0100
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Cristiano Deana <cristiano.deana@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Problem with buildworld with CLANG
Message-ID:  <AANLkTilOwRVsaOPTlslZPZWiJGp2S2gb6lwokTdnhl5c@mail.gmail.com>
In-Reply-To: <AANLkTikGOr908xX5sTW9NXR_ICEH5ISVWaJYs4I-g5vG@mail.gmail.com>
References:  <AANLkTimW-hx2y53BdEBb1g7VMNx2Lcns-nSZYNfo7TY6@mail.gmail.com> <AANLkTilYvE3iRKsdkFfz-efWOiaED9kr-FZvS7SqXDU4@mail.gmail.com> <AANLkTinC1n4SjXZXXs_FZyUPcGIFWirYWvSIJ8OQfIFY@mail.gmail.com> <AANLkTimcEUVxI5AZkMhH1onjBnX5H39ffW7KDkPqr2ul@mail.gmail.com> <AANLkTikGOr908xX5sTW9NXR_ICEH5ISVWaJYs4I-g5vG@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 24, 2010 at 2:33 PM, Cristiano Deana
<cristiano.deana@gmail.com> wrote:
> On Thu, Jun 24, 2010 at 11:24 AM, Tom Evans <tevans.uk@googlemail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTilOwRVsaOPTlslZPZWiJGp2S2gb6lwokTdnhl5c>