Re: sys/boot/i386/boot2 build failure with clang

From: Doug Barton <dougb_at_FreeBSD.org>
Date: Mon, 18 Jul 2011 00:42:24 -0700
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/
Received on Mon Jul 18 2011 - 05:42:25 UTC

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