From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 16 15:10:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D019ABBF for ; Tue, 16 Jul 2013 15:10:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id B592BCBF for ; Tue, 16 Jul 2013 15:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r6GFA0n5065845 for ; Tue, 16 Jul 2013 15:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r6GFA0Cc065843; Tue, 16 Jul 2013 15:10:00 GMT (envelope-from gnats) Resent-Date: Tue, 16 Jul 2013 15:10:00 GMT Resent-Message-Id: <201307161510.r6GFA0Cc065843@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, kit Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 86A65B23 for ; Tue, 16 Jul 2013 15:03:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 760D7C33 for ; Tue, 16 Jul 2013 15:03:14 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r6GF3DqU006489 for ; Tue, 16 Jul 2013 15:03:13 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r6GF3DRr006477; Tue, 16 Jul 2013 15:03:13 GMT (envelope-from nobody) Message-Id: <201307161503.r6GF3DRr006477@oldred.freebsd.org> Date: Tue, 16 Jul 2013 15:03:13 GMT From: kit To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/180595: unable to build ports/mldonkey-core on i386 using clang X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jul 2013 15:10:00 -0000 >Number: 180595 >Category: ports >Synopsis: unable to build ports/mldonkey-core on i386 using clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 16 15:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: kit >Release: 10.0-CURRENT >Organization: >Environment: FreeBSD melati 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r253199: Thu Jul 11 19:45:01 MYT 2013 ktsin@passion:/tmp/obj/usr/src/sys/SHUTTLE i386 >Description: mldonkey fails to build using clang on i386 but it's building fine on amd64. the error messages are in the attached file. >How-To-Repeat: >Fix: Patch attached with submission follows: ===> Building for mldonkey-core-3.1.3 c++ -O2 -pipe -fno-strict-aliasing -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o src/utils/lib/CryptoPP.o "-I/usr/local/lib/ocaml" -c src/utils/lib/CryptoPP.cc In file included from src/utils/lib/CryptoPP.cc:85: src/utils/lib/CryptoPP.h:3941:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] BufferedTransformation::Get; ^ using src/utils/lib/CryptoPP.h:3942:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] BufferedTransformation::Peek; ^ using src/utils/lib/CryptoPP.h:3943:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] BufferedTransformation::TransferTo; ^ using src/utils/lib/CryptoPP.h:3944:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] BufferedTransformation::CopyTo; ^ using src/utils/lib/CryptoPP.h:3945:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] BufferedTransformation::CopyRangeTo; ^ using src/utils/lib/CryptoPP.h:3946:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] BufferedTransformation::TransferMessagesTo; ^ using src/utils/lib/CryptoPP.h:3947:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] BufferedTransformation::CopyMessagesTo; ^ using src/utils/lib/CryptoPP.h:3948:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] BufferedTransformation::TransferAllTo; ^ using src/utils/lib/CryptoPP.h:3949:26: warning: access declarations are deprecated; use using declarations instead [-Wdeprecated] BufferedTransformation::CopyAllTo; ^ using src/utils/lib/CryptoPP.cc:1684:3: warning: "You do not have GCC 3.3 or later, or did not specify -msse2 compiler option, so use of SSE2 intrinsics will be disabled." [-W#warnings] #warning "You do not have GCC 3.3 or later, or did not specify -msse2 compiler option, so use of SSE2 intrinsics will be disabled." ^ src/utils/lib/CryptoPP.cc:2736:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/utils/lib/CryptoPP.cc:2777:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/utils/lib/CryptoPP.cc:2829:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/utils/lib/CryptoPP.cc:2879:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/utils/lib/CryptoPP.cc:2699:2: error: invalid instruction mnemonic 'prefix' AddPrologue ^ src/utils/lib/CryptoPP.cc:2667:4: note: expanded from macro 'AddPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:392: note: instantiated into assembly here push %ebx;mov -12(%ebp), %ebx;.intel_syntax noprefix;push ebp;sub ecx, edx;xor eax, eax;sub eax, esi;lea ebx, [ebx+4*esi];sar eax, 1;jz loopendAdd;loopstartAdd:;mov esi, [edx];mov ebp, [edx+4];mov edi, [ebx+8*eax];lea edx, [edx+8];adc esi, edi;mov edi, [ebx+8*eax+4];adc ebp, edi;inc eax;mov [edx+ecx-8], esi;mov [edx+ecx-4], ebp;jnz loopstartAdd;loopendAdd:;adc eax, 0;pop ebp;.att_syntax prefix;pop %ebx; ^~~~~~~ src/utils/lib/CryptoPP.cc:2740:2: error: invalid instruction mnemonic 'prefix' AddPrologue ^ src/utils/lib/CryptoPP.cc:2667:4: note: expanded from macro 'AddPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:392: note: instantiated into assembly here push %ebx;mov -12(%ebp), %ebx;.intel_syntax noprefix;push ebp;sub ecx, edx;xor eax, eax;sub eax, esi;lea ebx, [ebx+4*esi];sar eax, 1;jz loopendSub;loopstartSub:;mov esi, [edx];mov ebp, [edx+4];mov edi, [ebx+8*eax];lea edx, [edx+8];sbb esi, edi;mov edi, [ebx+8*eax+4];sbb ebp, edi;inc eax;mov [edx+ecx-8], esi;mov [edx+ecx-4], ebp;jnz loopstartSub;loopendSub:;adc eax, 0;pop ebp;.att_syntax prefix;pop %ebx; ^~~~~~~ src/utils/lib/CryptoPP.cc:2783:2: error: invalid instruction mnemonic 'prefix' AddPrologue ^ src/utils/lib/CryptoPP.cc:2667:4: note: expanded from macro 'AddPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:544: note: instantiated into assembly here push %ebx;mov -12(%ebp), %ebx;.intel_syntax noprefix;push ebp;xor eax, eax;neg esi;jz loopendAddP4;mov edi, [edx];mov ebp, [ebx];jmp carry1AddP4;loopstartAddP4:;mov edi, [edx+8];add ecx, 8;add edx, 8;mov ebp, [ebx];add edi, eax;jc carry1AddP4;xor eax, eax;carry1AddP4:;add edi, ebp;mov ebp, 1;mov [ecx], edi;mov edi, [edx+4];cmovc eax, ebp;mov ebp, [ebx+4];add ebx, 8;add edi, eax;jc carry2AddP4;xor eax, eax;carry2AddP4:;add edi, ebp;mov ebp, 1;cmovc eax, ebp;mov [ecx+4], edi;add esi, 2;jnz loopstartAddP4;loopendAddP4:;pop ebp;.att_syntax prefix;pop %ebx; ^~~~~~~ src/utils/lib/CryptoPP.cc:2833:2: error: invalid instruction mnemonic 'prefix' AddPrologue ^ src/utils/lib/CryptoPP.cc:2667:4: note: expanded from macro 'AddPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:544: note: instantiated into assembly here push %ebx;mov -12(%ebp), %ebx;.intel_syntax noprefix;push ebp;xor eax, eax;neg esi;jz loopendSubP4;mov edi, [edx];mov ebp, [ebx];jmp carry1SubP4;loopstartSubP4:;mov edi, [edx+8];add edx, 8;add ecx, 8;mov ebp, [ebx];sub edi, eax;jc carry1SubP4;xor eax, eax;carry1SubP4:;sub edi, ebp;mov ebp, 1;mov [ecx], edi;mov edi, [edx+4];cmovc eax, ebp;mov ebp, [ebx+4];add ebx, 8;sub edi, eax;jc carry2SubP4;xor eax, eax;carry2SubP4:;sub edi, ebp;mov ebp, 1;cmovc eax, ebp;mov [ecx+4], edi;add esi, 2;jnz loopstartSubP4;loopendSubP4:;pop ebp;.att_syntax prefix;pop %ebx; ^~~~~~~ src/utils/lib/CryptoPP.cc:2921:2: error: invalid instruction mnemonic 'prefix' MulPrologue ^ src/utils/lib/CryptoPP.cc:2682:4: note: expanded from macro 'MulPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:1996: note: instantiated into assembly here push %ebx;push %ebp;push -12(%ebp);.intel_syntax noprefix;xor ebp, ebp;xor edi, edi;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*0], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*1], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*2], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl , bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*3], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*1];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*4], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*2];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*5], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*(4-1)];mul dword ptr [esi+4*(4-1)];add ebp, eax;adc edx, edi;mov edi, [esp];mov [edi+4*(2*4-2)], ebp;mov [edi+4*(2*4-1)], edx;add esp, 4;pop ebp;pop ebx;.att_ syntax prefix; ^~~~~~~ src/utils/lib/CryptoPP.cc:2963:2: error: invalid instruction mnemonic 'prefix' MulPrologue ^ src/utils/lib/CryptoPP.cc:2682:4: note: expanded from macro 'MulPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:6528: note: instantiated into assembly here src/utils/lib/CryptoPP.cc:3077:2: error: invalid instruction mnemonic 'prefix' MulPrologue ^ src/utils/lib/CryptoPP.cc:2682:4: note: expanded from macro 'MulPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:3523: note: instantiated into assembly here push %ebx;push %ebp;push -12(%ebp);.intel_syntax noprefix;xor ebp, ebp;xor edi, edi;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*0], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*1], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*2], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl , bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*3], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*4];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*4];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*4], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*5];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*4];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];m ul dword ptr [esi+4*2];add ebp, eax;adc edi,! edx;adc bl, bh;mov eax, [ecx+4*4];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*5];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*5], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*6];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*5];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*4];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*4];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*5];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*6];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*6], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];imul eax, dword ptr [esi+4*7];add ebp, eax;mov eax, [ecx+4*1];imul eax , dword ptr [esi+4*6];add ebp, eax;mov eax, [ecx+4*2];imul eax, dword ptr [esi+4*5];add ebp, eax;mov eax, [ecx+4*3];imul eax, dword ptr [esi+4*4];add ebp, eax;mov eax, [ecx+4*4];imul eax, dword ptr [esi+4*3];add ebp, eax;mov eax, [ecx+4*5];imul eax, dword ptr [esi+4*2];add ebp, eax;mov eax, [ecx+4*6];imul eax, dword ptr [esi+4*1];add ebp, eax;mov eax, [ecx+4*7];imul eax, dword ptr [esi+4*0];add ebp, eax;mov edx, edi;mov edi, [esp];mov [edi+4*7], ebp;add esp, 4;pop ebp;pop ebx;.att_syntax prefix; ! ^~~~~~~ src/utils/lib/CryptoPP.cc:2921:2: error: invalid instruction mnemonic 'prefix' MulPrologue ^ src/utils/lib/CryptoPP.cc:2682:4: note: expanded from macro 'MulPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:1996: note: instantiated into assembly here push %ebx;push %ebp;push -32(%ebp);.intel_syntax noprefix;xor ebp, ebp;xor edi, edi;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*0], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*1], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*2], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl , bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*3], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*1];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*4], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*2];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*5], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*(4-1)];mul dword ptr [esi+4*(4-1)];add ebp, eax;adc edx, edi;mov edi, [esp];mov [edi+4*(2*4-2)], ebp;mov [edi+4*(2*4-1)], edx;add esp, 4;pop ebp;pop ebx;.att_ syntax prefix; ^~~~~~~ src/utils/lib/CryptoPP.cc:2963:2: error: invalid instruction mnemonic 'prefix' MulPrologue ^ src/utils/lib/CryptoPP.cc:2682:4: note: expanded from macro 'MulPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:6528: note: instantiated into assembly here src/utils/lib/CryptoPP.cc:2921:2: error: invalid instruction mnemonic 'prefix' MulPrologue ^ src/utils/lib/CryptoPP.cc:2682:4: note: expanded from macro 'MulPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:1996: note: instantiated into assembly here push %ebx;push %ebp;push -16(%ebp);.intel_syntax noprefix;xor ebp, ebp;xor edi, edi;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*0], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*1], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*2], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl , bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*3], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*1];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*4], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*2];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*5], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*(4-1)];mul dword ptr [esi+4*(4-1)];add ebp, eax;adc edx, edi;mov edi, [esp];mov [edi+4*(2*4-2)], ebp;mov [edi+4*(2*4-1)], edx;add esp, 4;pop ebp;pop ebx;.att_ syntax prefix; ^~~~~~~ src/utils/lib/CryptoPP.cc:3077:2: error: invalid instruction mnemonic 'prefix' MulPrologue ^ src/utils/lib/CryptoPP.cc:2682:4: note: expanded from macro 'MulPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:3523: note: instantiated into assembly here push %ebx;push %ebp;push -16(%ebp);.intel_syntax noprefix;xor ebp, ebp;xor edi, edi;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*0], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*1], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*2], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl , bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*3], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*4];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*4];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*4], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*5];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*4];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];m ul dword ptr [esi+4*2];add ebp, eax;adc edi,! edx;adc bl, bh;mov eax, [ecx+4*4];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*5];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*5], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*6];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*5];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*4];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*4];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*5];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*6];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*6], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];imul eax, dword ptr [esi+4*7];add ebp, eax;mov eax, [ecx+4*1];imul eax , dword ptr [esi+4*6];add ebp, eax;mov eax, [ecx+4*2];imul eax, dword ptr [esi+4*5];add ebp, eax;mov eax, [ecx+4*3];imul eax, dword ptr [esi+4*4];add ebp, eax;mov eax, [ecx+4*4];imul eax, dword ptr [esi+4*3];add ebp, eax;mov eax, [ecx+4*5];imul eax, dword ptr [esi+4*2];add ebp, eax;mov eax, [ecx+4*6];imul eax, dword ptr [esi+4*1];add ebp, eax;mov eax, [ecx+4*7];imul eax, dword ptr [esi+4*0];add ebp, eax;mov edx, edi;mov edi, [esp];mov [edi+4*7], ebp;add esp, 4;pop ebp;pop ebx;.att_syntax prefix; ! ^~~~~~~ src/utils/lib/CryptoPP.cc:2921:2: error: invalid instruction mnemonic 'prefix' MulPrologue ^ src/utils/lib/CryptoPP.cc:2682:4: note: expanded from macro 'MulPrologue' "push %%ebx;" /* save this manually, in case of -fPIC */ \ ^ :1:1996: note: instantiated into assembly here push %ebx;push %ebp;push -32(%ebp);.intel_syntax noprefix;xor ebp, ebp;xor edi, edi;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*0], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*1], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*2], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*0];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*1];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl , bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*0];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*3], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*1];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*2];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*1];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*4], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*2];mul dword ptr [esi+4*3];add ebp, eax;adc edi, edx;adc bl, bh;mov eax, [ecx+4*3];mul dword ptr [esi+4*2];add ebp, eax;adc edi, edx;adc bl, bh;mov edx, edi;mov edi, [esp];mov [edi+4*5], ebp;mov ebp, edx;mov edi, ebx;xor ebx, ebx;mov eax, [ecx+4*(4-1)];mul dword ptr [esi+4*(4-1)];add ebp, eax;adc edx, edi;mov edi, [esp];mov [edi+4*(2*4-2)], ebp;mov [edi+4*(2*4-1)], edx;add esp, 4;pop ebp;pop ebx;.att_ syntax prefix; ^~~~~~~ 14 warnings and 12 errors generated. gmake: *** [src/utils/lib/CryptoPP.o] Error 1 *** Error code 1 Stop. make: stopped in /usr/ports/net-p2p/mldonkey-core [ktsin@melati /usr/ports/net-p2p/mldonkey-core]$ clang -v FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 Target: i386-unknown-freebsd10.0 Thread model: posix [ktsin@melati /usr/ports/net-p2p/mldonkey-core]$ >Release-Note: >Audit-Trail: >Unformatted: