Re: Problem with buildworld with CLANG

From: Tom Evans <tevans.uk_at_googlemail.com>
Date: Thu, 24 Jun 2010 14:42:16 +0100
On Thu, Jun 24, 2010 at 2:33 PM, Cristiano Deana
<cristiano.deana_at_gmail.com> wrote:
> On Thu, Jun 24, 2010 at 11:24 AM, Tom Evans <tevans.uk_at_googlemail.com> wrote:
>
>> 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
>      'unsigned int'
>        R1(D,A,B,C,X( 4), 5,0x5A827999L);
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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:
>        a=ROTATE(a,s); };\
>          ^
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst.c:135:2:
> note: instantiated from:
>        R1(D,A,B,C,X( 4), 5,0x5A827999L);
>        ^  ~
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst.c:135:5:
> note: instantiated from:
>        R1(D,A,B,C,X( 4), 5,0x5A827999L);
>           ^
> /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
>      'unsigned int'
>        R1(C,D,A,B,X( 8), 9,0x5A827999L);
>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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:
>        a=ROTATE(a,s); };\
>          ^
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst.c:136:2:
> note: instantiated from:
>        R1(C,D,A,B,X( 8), 9,0x5A827999L);
>        ^  ~
> /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/md4/md4_dgst.c:136:5:
> note: instantiated from:
>        R1(C,D,A,B,X( 8), 9,0x5A827999L);
>           ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 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
Received on Thu Jun 24 2010 - 11:42:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC