Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 2015 10:33:25 -0700
From:      Warner Losh <wlosh@netflix.com>
To:        Roman Divacky <rdivacky@FreeBSD.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r276499 - head/sys/conf
Message-ID:  <41CF0351-83A3-4D54-B308-32F310DCD3DA@gmail.com>
In-Reply-To: <201501011007.t01A7wYW032884@svn.freebsd.org>
References:  <201501011007.t01A7wYW032884@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

This breaks building the kernel with clang 3.4.1

Warner


> On Jan 1, 2015, at 3:07 AM, Roman Divacky <rdivacky@FreeBSD.org> wrote:
> 
> Author: rdivacky
> Date: Thu Jan  1 10:07:57 2015
> New Revision: 276499
> URL: https://svnweb.freebsd.org/changeset/base/276499
> 
> Log:
>  LLVM integrated assembler can assemble these files just fine.
> 
> Modified:
>  head/sys/conf/Makefile.amd64
>  head/sys/conf/Makefile.i386
>  head/sys/conf/Makefile.pc98
> 
> Modified: head/sys/conf/Makefile.amd64
> ==============================================================================
> --- head/sys/conf/Makefile.amd64	Thu Jan  1 09:33:46 2015	(r276498)
> +++ head/sys/conf/Makefile.amd64	Thu Jan  1 10:07:57 2015	(r276499)
> @@ -37,11 +37,6 @@ INCLUDES+= -I$S/contrib/libfdt
> CFLAGS+=	-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> .endif
> 
> -# XXX: clang integrated-as doesn't grok .codeNN directives yet
> -ASM_CFLAGS.acpi_wakecode.S=	${CLANG_NO_IAS}
> -ASM_CFLAGS.mpboot.S=		${CLANG_NO_IAS}
> -ASM_CFLAGS+=			${ASM_CFLAGS.${.IMPSRC:T}}
> -
> %BEFORE_DEPEND
> 
> %OBJS
> 
> Modified: head/sys/conf/Makefile.i386
> ==============================================================================
> --- head/sys/conf/Makefile.i386	Thu Jan  1 09:33:46 2015	(r276498)
> +++ head/sys/conf/Makefile.i386	Thu Jan  1 10:07:57 2015	(r276499)
> @@ -32,11 +32,6 @@ S=	../../..
> 
> INCLUDES+= -I$S/contrib/libfdt
> 
> -# XXX: clang integrated-as doesn't grok .codeNN directives yet
> -ASM_CFLAGS.acpi_wakecode.S=	${CLANG_NO_IAS}
> -ASM_CFLAGS.mpboot.s=		${CLANG_NO_IAS}
> -ASM_CFLAGS+=			${ASM_CFLAGS.${.IMPSRC:T}}
> -
> %BEFORE_DEPEND
> 
> %OBJS
> 
> Modified: head/sys/conf/Makefile.pc98
> ==============================================================================
> --- head/sys/conf/Makefile.pc98	Thu Jan  1 09:33:46 2015	(r276498)
> +++ head/sys/conf/Makefile.pc98	Thu Jan  1 10:07:57 2015	(r276499)
> @@ -30,10 +30,6 @@ S=	../../..
> .endif
> .include "$S/conf/kern.pre.mk"
> 
> -# XXX: clang integrated-as doesn't grok .codeNN directives yet
> -ASM_CFLAGS.mpboot.s=		${CLANG_NO_IAS}
> -ASM_CFLAGS+=			${ASM_CFLAGS.${.IMPSRC:T}}
> -
> %BEFORE_DEPEND
> 
> %OBJS
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41CF0351-83A3-4D54-B308-32F310DCD3DA>