Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2011 00:42:24 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>
Subject:   Re: sys/boot/i386/boot2 build failure with clang
Message-ID:  <4E23E3E0.2090209@FreeBSD.org>
In-Reply-To: <4E22EBC2.4070802@FreeBSD.org>
References:  <4E22B560.4040401@FreeBSD.org> <4E22EBC2.4070802@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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/




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