From owner-freebsd-current@FreeBSD.ORG Mon Jul 18 07:42:25 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id AC4971065670; Mon, 18 Jul 2011 07:42:25 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from 65-241-43-4.globalsuite.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 271B814D899; Mon, 18 Jul 2011 07:42:25 +0000 (UTC) Message-ID: <4E23E3E0.2090209@FreeBSD.org> Date: Mon, 18 Jul 2011 00:42:24 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110706 Thunderbird/5.0 MIME-Version: 1.0 To: Dimitry Andric References: <4E22B560.4040401@FreeBSD.org> <4E22EBC2.4070802@FreeBSD.org> In-Reply-To: <4E22EBC2.4070802@FreeBSD.org> X-Enigmail-Version: 1.2pre OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: sys/boot/i386/boot2 build failure 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: Mon, 18 Jul 2011 07:42:25 -0000 On 07/17/2011 07:03, Dimitry Andric wrote: > In any case, I have committed a fix in r224131, let me know how that > works out for you. A clean /usr/obj got me all the way through buildworld to the point where it was building the 32-bit compat libs, and got this: clang -m32 -march=i686 -mmmx -msse -msse2 -mfancy-math-387 -DCOMPAT_32BIT -isystem /usr/obj/home/svn/head/lib32/usr/include/ -L/usr/obj/home/svn/head/lib32/usr/lib32 -B/usr/obj/home/svn/head/lib32/usr/lib32 -O2 -pipe -g -I/home/svn/head/lib/libc/include -I/home/svn/head/lib/libc/../../include -I/home/svn/head/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE -I/home/svn/head/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/local/obj/lib32/home/svn/head/lib/libc -I/home/svn/head/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -no-integrated-as -I/home/svn/head/lib/libc/../../contrib/tzcode/stdtime -I/home/svn/head/lib/libc/stdtime -I/home/svn/head/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/home/svn/head/lib/libc/rpc -DNS_CACHING -DSYMBOL_VERSIONING -g -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /home/svn/head/lib/libc/stdlib/malloc.c clang: warning: argument unused during compilation: '-mfancy-math-387' clang: warning: argument unused during compilation: '-L/usr/obj/home/svn/head/lib32/usr/lib32' /tmp/.root/cc-ysEysz.s: Assembler messages: /tmp/.root/cc-ysEysz.s:31589: Error: unknown pseudo-op: `.cfi_sections' clang: error: assembler command failed with exit code 1 (use -v to see invocation) *** Error code 1 Thanks, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/