From owner-svn-src-head@freebsd.org Tue Jan 31 10:26:30 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E0BECC90A2 for ; Tue, 31 Jan 2017 10:26:30 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-70.reflexion.net [208.70.210.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 43CC1184C for ; Tue, 31 Jan 2017 10:26:29 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 29549 invoked from network); 31 Jan 2017 10:28:08 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 31 Jan 2017 10:28:08 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.20.1) with SMTP; Tue, 31 Jan 2017 05:26:22 -0500 (EST) Received: (qmail 16305 invoked from network); 31 Jan 2017 10:26:22 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 31 Jan 2017 10:26:22 -0000 Received: from [192.168.1.111] (c-67-170-167-181.hsd1.or.comcast.net [67.170.167.181]) by iron2.pdx.net (Postfix) with ESMTPSA id D03FBEC825A; Tue, 31 Jan 2017 02:26:21 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: svn commit: r313005 - in head/sys: conf modules/zfs Message-Id: <676ECF89-F9AE-436A-942A-003B76C6BFE2@dsl-only.net> Date: Tue, 31 Jan 2017 02:26:21 -0800 To: Justin Hibbits , svn-src-head@freebsd.org X-Mailer: Apple Mail (2.3259) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2017 10:26:30 -0000 > Author: jhibbits > Date: Tue Jan 31 01:55:29 2017 > New Revision: 313005 > URL: https://svnweb.freebsd.org/changeset/base/313005 > . . . > Modified: head/sys/conf/kern.mk > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/conf/kern.mk Tue Jan 31 01:48:55 2017 = (r313004) > +++ head/sys/conf/kern.mk Tue Jan 31 01:55:29 2017 = (r313005) > @@ -161,14 +161,12 @@ INLINE_LIMIT?=3D 8000 > # Also explicitly disable Altivec instructions inside the kernel. > # > .if ${MACHINE_CPUARCH} =3D=3D "powerpc" > -CFLAGS+=3D -mno-altivec > -CFLAGS.clang+=3D -mllvm -disable-ppc-float-in-variadic=3Dtrue > -CFLAGS.gcc+=3D -msoft-float > +CFLAGS+=3D -mno-altivec -msoft-float > INLINE_LIMIT?=3D 15000 > .endif =20 Looks like I never submitted it to bugzilla but my old variant of the above was: # svnlite diff sys/conf/kern.mk Index: sys/conf/kern.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/conf/kern.mk (revision 312982) +++ sys/conf/kern.mk (working copy) @@ -162,7 +162,11 @@ # .if ${MACHINE_CPUARCH} =3D=3D "powerpc" CFLAGS+=3D -mno-altivec +.if ${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} < 30800 CFLAGS.clang+=3D -mllvm -disable-ppc-float-in-variadic=3Dtrue +.else +CFLAGS.clang+=3D -msoft-float +.endif CFLAGS.gcc+=3D -msoft-float INLINE_LIMIT?=3D 15000 .endif In other words: I tried to span older clang's as well. (Not that you should.) > .if ${MACHINE_ARCH} =3D=3D "powerpcspe" > -CFLAGS+=3D -mno-spe > +CFLAGS.gcc+=3D -mno-spe > .endif > =20 > # I had nothing for powerpcspe . > Modified: head/sys/modules/zfs/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/sys/modules/zfs/Makefile Tue Jan 31 01:48:55 2017 = (r313004) > +++ head/sys/modules/zfs/Makefile Tue Jan 31 01:55:29 2017 = (r313005) > @@ -94,7 +94,7 @@ CFLAGS+=3D-I${SUNW}/common > CFLAGS+=3D-DBUILDING_ZFS > =20 > .if ${MACHINE_ARCH} =3D=3D "powerpc64" > -CFLAGS+=3D-mminimal-toc > +CFLAGS.gcc+=3D-mminimal-toc > .endif > =20 > .ifdef ZFS_DEBUG You may want to process my bugzilla 215107 with = head/sys/modules/zfs/Makefile as it also deals with that -mminimal-toc: in other words to declare = 215107 fixed by this update. =3D=3D=3D Mark Millard markmi at dsl-only.net