From owner-freebsd-current@FreeBSD.ORG Mon Feb 21 10:33:42 2011 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 B6DDA1065670 for ; Mon, 21 Feb 2011 10:33:42 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 817298FC17 for ; Mon, 21 Feb 2011 10:33:42 +0000 (UTC) Received: by iyj12 with SMTP id 12so703284iyj.13 for ; Mon, 21 Feb 2011 02:33:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.43.65.136 with SMTP id xm8mr1702824icb.313.1298284421899; Mon, 21 Feb 2011 02:33:41 -0800 (PST) Received: by 10.231.149.79 with HTTP; Mon, 21 Feb 2011 02:33:41 -0800 (PST) Date: Mon, 21 Feb 2011 11:33:41 +0100 Message-ID: From: Olivier Smedts To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Can't buildworld since Clang update 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: Mon, 21 Feb 2011 10:33:42 -0000 Hello, I can't buildworld with Clang since the last update. %uname -a FreeBSD zozo.afpicl.lan 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r218908M: Mon Feb 21 09:56:35 CET 2011 root@zozo.afpicl.lan:/usr/obj/usr/src/sys/CORE amd64 %clang -v FreeBSD clang version 2.9 (trunk 126079) 20110220 Target: x86_64-undermydesk-freebsd9.0 Thread model: posix %cat /etc/src.conf .if !defined(CC) || ${CC} =3D=3D "cc" CC=3Dclang .endif .if !defined(CXX) || ${CXX} =3D=3D "c++" CXX=3Dclang++ .endif # Don't die on warnings NO_WERROR=3D WERROR=3D %head /etc/make.conf CPUTYPE?=3Dcore2 KERNCONF=3DCORE CFLAGS=3D-O2 -pipe -march=3Dnative NO_CPU_CFLAGS=3Dyes COPTFLAGS=3D-O2 -pipe -march=3Dnative NO_CPU_COPTFLAGS=3Dyes BOOTWAIT=3D0 WITHOUT_PROFILE=3Dyes # make buildworld [...] =3D=3D=3D> lib/libz (obj,depend,all,install) [...] clang -O2 -pipe -march=3Dnative -DHAS_snprintf -DHAS_vsnprintf -I/usr/src/lib/libz -DASMV -DNO_UNDERLINE -DSYMBOL_VERSIONING -std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wa,--noexecstack -c /usr/src/lib/libz/contrib/gcc_gvmat64/gvmat64.S /tmp/cc-VUyvc6.s:6:1: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:12:9: error: unknown use of instruction mnemonic without a size suffix mov [(rsp + 40 - 96)],rbx ^ /tmp/cc-VUyvc6.s:13:9: error: unknown use of instruction mnemonic without a size suffix mov [(rsp + 48 - 96)],rbp ^ /tmp/cc-VUyvc6.s:16:9: error: unknown use of instruction mnemonic without a size suffix mov rcx,rdi ^ /tmp/cc-VUyvc6.s:18:9: error: unknown use of instruction mnemonic without a size suffix mov r8d,esi ^ /tmp/cc-VUyvc6.s:21:9: error: unknown use of instruction mnemonic without a size suffix mov [(rsp + 56 - 96)],r12 ^ /tmp/cc-VUyvc6.s:22:9: error: unknown use of instruction mnemonic without a size suffix mov [(rsp + 64 - 96)],r13 ^ /tmp/cc-VUyvc6.s:23:9: error: unknown use of instruction mnemonic without a size suffix mov [(rsp + 72 - 96)],r14 ^ /tmp/cc-VUyvc6.s:24:9: error: unknown use of instruction mnemonic without a size suffix mov [(rsp + 80 - 96)],r15 ^ /tmp/cc-VUyvc6.s:26:9: error: unknown use of instruction mnemonic without a size suffix mov edi, [ rcx + 168] ^ /tmp/cc-VUyvc6.s:27:9: error: unknown use of instruction mnemonic without a size suffix mov esi, [ rcx + 188] ^ /tmp/cc-VUyvc6.s:28:9: error: unknown use of instruction mnemonic without a size suffix mov eax, [ rcx + 76] ^ /tmp/cc-VUyvc6.s:29:9: error: unknown use of instruction mnemonic without a size suffix mov ebx, [ rcx + 172] ^ /tmp/cc-VUyvc6.s:30:9: error: unknown use of instruction mnemonic without a size suffix cmp edi, esi ^ /tmp/cc-VUyvc6.s:32:9: error: unknown use of instruction mnemonic without a size suffix shr ebx, 2 ^ /tmp/cc-VUyvc6.s:40:9: error: ambiguous instructions require an explicit suffix (could be 'decb', 'decw', 'decl', or 'decq') dec ebx ^ /tmp/cc-VUyvc6.s:41:9: error: unknown use of instruction mnemonic without a size suffix shl ebx, 16 ^ /tmp/cc-VUyvc6.s:42:9: error: unknown use of instruction mnemonic without a size suffix or ebx, eax ^ /tmp/cc-VUyvc6.s:49:9: error: unknown use of instruction mnemonic without a size suffix mov eax, [ rcx + 192] ^ /tmp/cc-VUyvc6.s:50:9: error: unknown use of instruction mnemonic without a size suffix mov [(rsp + 8 - 96)], ebx ^ /tmp/cc-VUyvc6.s:51:9: error: unknown use of instruction mnemonic without a size suffix mov r10d, [ rcx + 164] ^ /tmp/cc-VUyvc6.s:52:9: error: unknown use of instruction mnemonic without a size suffix cmp r10d, eax ^ /tmp/cc-VUyvc6.s:53:9: error: unknown use of instruction mnemonic without a size suffix cmovnl r10d, eax ^ /tmp/cc-VUyvc6.s:54:9: error: unknown use of instruction mnemonic without a size suffix mov [(rsp + 16 - 96)],r10d ^ /tmp/cc-VUyvc6.s:59:9: error: unknown use of instruction mnemonic without a size suffix mov r10, [ rcx + 80] ^ /tmp/cc-VUyvc6.s:60:9: error: unknown use of instruction mnemonic without a size suffix mov ebp, [ rcx + 156] ^ /tmp/cc-VUyvc6.s:61:9: error: unknown use of instruction mnemonic without a size suffix lea r13, [r10 + rbp] ^ /tmp/cc-VUyvc6.s:66:10: error: unknown use of instruction mnemonic without a size suffix mov r9,r13 ^ /tmp/cc-VUyvc6.s:67:10: error: ambiguous instructions require an explicit suffix (could be 'negb', 'negw', 'negl', or 'negq') neg r13 ^ /tmp/cc-VUyvc6.s:68:10: error: unknown use of instruction mnemonic without a size suffix and r13,3 ^ /tmp/cc-VUyvc6.s:74:9: error: unknown use of instruction mnemonic without a size suffix mov eax, [ rcx + 68] ^ /tmp/cc-VUyvc6.s:75:9: error: unknown use of instruction mnemonic without a size suffix sub eax, (258 +3 +1) ^ /tmp/cc-VUyvc6.s:78:9: error: unknown use of instruction mnemonic without a size suffix xor edi,edi ^ /tmp/cc-VUyvc6.s:79:9: error: unknown use of instruction mnemonic without a size suffix sub ebp, eax ^ /tmp/cc-VUyvc6.s:81:9: error: unknown use of instruction mnemonic without a size suffix mov r11d, [ rcx + 168] ^ /tmp/cc-VUyvc6.s:83:9: error: unknown use of instruction mnemonic without a size suffix cmovng ebp,edi ^ /tmp/cc-VUyvc6.s:90:8: error: unknown use of instruction mnemonic without a size suffix lea rsi,[r10+r11] ^ /tmp/cc-VUyvc6.s:96:25: error: unexpected token in argument list movzx r12d,word ptr [r9] ^ /tmp/cc-VUyvc6.s:97:25: error: unexpected token in argument list movzx ebx, word ptr [r9 + r11 - 1] ^ /tmp/cc-VUyvc6.s:99:9: error: unknown use of instruction mnemonic without a size suffix mov rdi, [ rcx + 96] ^ /tmp/cc-VUyvc6.s:103:9: error: unknown use of instruction mnemonic without a size suffix mov edx, [(rsp + 8 - 96)] ^ /tmp/cc-VUyvc6.s:105:21: error: unexpected token in argument list cmp bx,word ptr [rsi + r8 - 1] ^ /tmp/cc-VUyvc6.s:111:9: error: unknown use of instruction mnemonic without a size suffix and r8d, edx ^ /tmp/cc-VUyvc6.s:113:25: error: unexpected token in argument list movzx r8d, word ptr [rdi + r8*2] ^ /tmp/cc-VUyvc6.s:114:9: error: unknown use of instruction mnemonic without a size suffix cmp r8d, ebp ^ /tmp/cc-VUyvc6.s:119:9: error: unknown use of instruction mnemonic without a size suffix sub edx, 0x00010000 ^ /tmp/cc-VUyvc6.s:120:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:122:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:125:21: error: unexpected token in argument list cmp bx,word ptr [rsi + r8 - 1] ^ /tmp/cc-VUyvc6.s:126:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:128:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:131:9: error: unknown use of instruction mnemonic without a size suffix and r8d, edx ^ /tmp/cc-VUyvc6.s:133:25: error: unexpected token in argument list movzx r8d, word ptr [rdi + r8*2] ^ /tmp/cc-VUyvc6.s:134:9: error: unknown use of instruction mnemonic without a size suffix cmp r8d, ebp ^ /tmp/cc-VUyvc6.s:135:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:137:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:138:9: error: unknown use of instruction mnemonic without a size suffix sub edx, 0x00010000 ^ /tmp/cc-VUyvc6.s:139:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:141:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:144:21: error: unexpected token in argument list cmp bx,word ptr [rsi + r8 - 1] ^ /tmp/cc-VUyvc6.s:145:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:147:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:150:9: error: unknown use of instruction mnemonic without a size suffix and r8d, edx ^ /tmp/cc-VUyvc6.s:152:25: error: unexpected token in argument list movzx r8d, word ptr [rdi + r8*2] ^ /tmp/cc-VUyvc6.s:153:9: error: unknown use of instruction mnemonic without a size suffix cmp r8d, ebp ^ /tmp/cc-VUyvc6.s:154:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:156:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:157:9: error: unknown use of instruction mnemonic without a size suffix sub edx, 0x00010000 ^ /tmp/cc-VUyvc6.s:158:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:160:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:164:21: error: unexpected token in argument list cmp bx,word ptr [rsi + r8 - 1] ^ /tmp/cc-VUyvc6.s:165:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:168:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:172:9: error: unknown use of instruction mnemonic without a size suffix and r8d, edx ^ /tmp/cc-VUyvc6.s:174:25: error: unexpected token in argument list movzx r8d, word ptr [rdi + r8*2] ^ /tmp/cc-VUyvc6.s:175:9: error: unknown use of instruction mnemonic without a size suffix cmp r8d, ebp ^ /tmp/cc-VUyvc6.s:176:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:178:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:179:9: error: unknown use of instruction mnemonic without a size suffix sub edx, 0x00010000 ^ /tmp/cc-VUyvc6.s:180:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:182:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:186:21: error: unexpected token in argument list cmp bx,word ptr [rsi + r8 - 1] ^ /tmp/cc-VUyvc6.s:187:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:189:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:191:24: error: unexpected token in argument list cmp r12w, word ptr [r10 + r8] ^ /tmp/cc-VUyvc6.s:192:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:194:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:198:9: error: unknown use of instruction mnemonic without a size suffix mov [(rsp + 8 - 96)], edx ^ /tmp/cc-VUyvc6.s:205:9: error: unknown use of instruction mnemonic without a size suffix lea rsi,[r8+r10] ^ /tmp/cc-VUyvc6.s:206:9: error: unknown use of instruction mnemonic without a size suffix mov rdx, 0xfffffffffffffef8 ^ /tmp/cc-VUyvc6.s:207:9: error: unknown use of instruction mnemonic without a size suffix lea rsi, [rsi + r13 + 0x0108] ^ /tmp/cc-VUyvc6.s:208:9: error: unknown use of instruction mnemonic without a size suffix lea rdi, [r9 + r13 + 0x0108] ^ /tmp/cc-VUyvc6.s:214:9: error: unknown use of instruction mnemonic without a size suffix mov rax, [rsi + rdx] ^ /tmp/cc-VUyvc6.s:215:9: error: unknown use of instruction mnemonic without a size suffix xor rax, [rdi + rdx] ^ /tmp/cc-VUyvc6.s:218:9: error: unknown use of instruction mnemonic without a size suffix mov rax, [rsi + rdx + 8] ^ /tmp/cc-VUyvc6.s:219:9: error: unknown use of instruction mnemonic without a size suffix xor rax, [rdi + rdx + 8] ^ /tmp/cc-VUyvc6.s:223:9: error: unknown use of instruction mnemonic without a size suffix mov rax, [rsi + rdx + 8+8] ^ /tmp/cc-VUyvc6.s:224:9: error: unknown use of instruction mnemonic without a size suffix xor rax, [rdi + rdx + 8+8] ^ /tmp/cc-VUyvc6.s:227:9: error: unknown use of instruction mnemonic without a size suffix add rdx,8+8+8 ^ /tmp/cc-VUyvc6.s:229:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:232:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:234:18: error: unknown use of instruction mnemonic without a size suffix LeaveLoopCmps16: add rdx,8 ^ /tmp/cc-VUyvc6.s:235:17: error: unknown use of instruction mnemonic without a size suffix LeaveLoopCmps8: add rdx,8 ^ /tmp/cc-VUyvc6.s:238:9: error: unknown use of instruction mnemonic without a size suffix test eax, 0x0000FFFF ^ /tmp/cc-VUyvc6.s:241:9: error: unknown use of instruction mnemonic without a size suffix test eax,0xffffffff ^ /tmp/cc-VUyvc6.s:245:9: error: unknown use of instruction mnemonic without a size suffix add rdx,4 ^ /tmp/cc-VUyvc6.s:246:9: error: unknown use of instruction mnemonic without a size suffix shr rax,32 ^ /tmp/cc-VUyvc6.s:247:9: error: unknown use of instruction mnemonic without a size suffix or ax,ax ^ /tmp/cc-VUyvc6.s:248:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:250:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:253:9: error: unknown use of instruction mnemonic without a size suffix shr eax,16 ^ /tmp/cc-VUyvc6.s:254:9: error: unknown use of instruction mnemonic without a size suffix add rdx,2 ^ /tmp/cc-VUyvc6.s:257:9: error: unknown use of instruction mnemonic without a size suffix sub al, 1 ^ /tmp/cc-VUyvc6.s:258:9: error: unknown use of instruction mnemonic without a size suffix adc rdx, 0 ^ /tmp/cc-VUyvc6.s:262:9: error: unknown use of instruction mnemonic without a size suffix lea rax, [rdi + rdx] ^ /tmp/cc-VUyvc6.s:263:9: error: unknown use of instruction mnemonic without a size suffix sub rax, r9 ^ /tmp/cc-VUyvc6.s:264:9: error: unknown use of instruction mnemonic without a size suffix cmp eax, 258 ^ /tmp/cc-VUyvc6.s:265:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:267:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:273:9: error: unknown use of instruction mnemonic without a size suffix cmp eax, r11d ^ /tmp/cc-VUyvc6.s:276:9: error: unknown use of instruction mnemonic without a size suffix lea rsi,[r10+r11] ^ /tmp/cc-VUyvc6.s:278:9: error: unknown use of instruction mnemonic without a size suffix mov rdi, [ rcx + 96] ^ /tmp/cc-VUyvc6.s:279:9: error: unknown use of instruction mnemonic without a size suffix mov edx, [(rsp + 8 - 96)] ^ /tmp/cc-VUyvc6.s:280:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:282:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:290:9: error: unknown use of instruction mnemonic without a size suffix mov r11d, eax ^ /tmp/cc-VUyvc6.s:291:9: error: unknown use of instruction mnemonic without a size suffix mov [ rcx + 160], r8d ^ /tmp/cc-VUyvc6.s:292:9: error: unknown use of instruction mnemonic without a size suffix cmp eax, [(rsp + 16 - 96)] ^ /tmp/cc-VUyvc6.s:293:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:295:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:297:9: error: unknown use of instruction mnemonic without a size suffix lea rsi,[r10+rax] ^ /tmp/cc-VUyvc6.s:299:25: error: unexpected token in argument list movzx ebx, word ptr [r9 + rax - 1] ^ /tmp/cc-VUyvc6.s:300:9: error: unknown use of instruction mnemonic without a size suffix mov rdi, [ rcx + 96] ^ /tmp/cc-VUyvc6.s:301:9: error: unknown use of instruction mnemonic without a size suffix mov edx, [(rsp + 8 - 96)] ^ /tmp/cc-VUyvc6.s:302:3: warning: ignoring directive for now .att_syntax ^ /tmp/cc-VUyvc6.s:304:3: warning: ignoring directive for now .intel_syntax noprefix ^ /tmp/cc-VUyvc6.s:309:9: error: unknown use of instruction mnemonic without a size suffix mov r11d,258 ^ /tmp/cc-VUyvc6.s:310:9: error: unknown use of instruction mnemonic without a size suffix mov [ rcx + 160], r8d ^ /tmp/cc-VUyvc6.s:316:9: error: unknown use of instruction mnemonic without a size suffix mov eax, [ rcx + 164] ^ /tmp/cc-VUyvc6.s:317:9: error: unknown use of instruction mnemonic without a size suffix cmp r11d, eax ^ /tmp/cc-VUyvc6.s:318:9: error: unknown use of instruction mnemonic without a size suffix cmovng eax, r11d ^ /tmp/cc-VUyvc6.s:320:9: error: unknown use of instruction mnemonic without a size suffix mov rbx,[(rsp + 40 - 96)] ^ /tmp/cc-VUyvc6.s:321:9: error: unknown use of instruction mnemonic without a size suffix mov rbp,[(rsp + 48 - 96)] ^ /tmp/cc-VUyvc6.s:322:9: error: unknown use of instruction mnemonic without a size suffix mov r12,[(rsp + 56 - 96)] ^ /tmp/cc-VUyvc6.s:323:9: error: unknown use of instruction mnemonic without a size suffix mov r13,[(rsp + 64 - 96)] ^ /tmp/cc-VUyvc6.s:324:9: error: unknown use of instruction mnemonic without a size suffix mov r14,[(rsp + 72 - 96)] ^ /tmp/cc-VUyvc6.s:325:9: error: unknown use of instruction mnemonic without a size suffix mov r15,[(rsp + 80 - 96)] ^ /tmp/cc-VUyvc6.s:328:9: error: unknown use of instruction mnemonic without a size suffix ret 0 ^ /tmp/cc-VUyvc6.s:336:3: error: unknown use of instruction mnemonic without a size suffix ret 0 ^ *** Error code 1 Stop in /usr/src/lib/libz. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --=20 Olivier Smedts=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=A0 _ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 ASCII ribbon campaign ( ) e-mail: olivier@gid0.org=A0 =A0 =A0 =A0 - against HTML email & vCards=A0 X www: http://www.gid0.org=A0 =A0 - against proprietary attachments / \ =A0 "Il y a seulement 10 sortes de gens dans le monde : =A0 ceux qui comprennent le binaire, =A0 et ceux qui ne le comprennent pas."