From owner-freebsd-toolchain@freebsd.org Sat Jan 16 07:08:03 2016 Return-Path: Delivered-To: freebsd-toolchain@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 04961A844BE for ; Sat, 16 Jan 2016 07:08:03 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-4.reflexion.net [208.70.210.4]) (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 AA3CF17F6 for ; Sat, 16 Jan 2016 07:08:01 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 20383 invoked from network); 16 Jan 2016 07:08:00 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 16 Jan 2016 07:08:00 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Sat, 16 Jan 2016 02:08:02 -0500 (EST) Received: (qmail 5987 invoked from network); 16 Jan 2016 07:08:02 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 16 Jan 2016 07:08:02 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 04E411C43C7; Fri, 15 Jan 2016 23:07:54 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: -mllvm -disable-ppc-float-in-variadic=true not recognized by clang 3.8.0; used in kern.mk for TARGET_ARCH=powerpc; more Message-Id: <8100D2B8-175D-4372-AEFB-6DF25889BD20@dsl-only.net> Date: Fri, 15 Jan 2016 23:07:59 -0800 To: FreeBSD PowerPC ML , FreeBSD Toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2016 07:08:03 -0000 At least for amd64 clang 3.8.0 -> powerpc via TARGET_ARCH=3Dpowerpc = buildkernel I get the following clang command line options that stop the = build attempt. . . In sys/conf/kern.mk : The "CFLAGS.clang+=3D -mllvm -disable-ppc-float-in-variadic=3Dtrue" = line in > .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 > INLINE_LIMIT?=3D 15000 > .endif results in: > --- genassym.o --- > clang (LLVM option parsing): Unknown command line argument = '-disable-ppc-float-in-variadic=3Dtrue'. Try: 'clang (LLVM option = parsing) -help' > clang (LLVM option parsing): Did you mean = '-disable-ppc-ctrloop-analysis=3Dtrue'? (The above one is the main reason why I's also sending to toolchain: it = suggests some sort of change to earlier clang-specific command line = options.) In sys/conf/Makefile.powerpc : > CFLAGS+=3D -msoft-float -Wa,-many results in: > --- genassym.o --- > cc: error: unsupported argument '-many' to option 'Wa,' > *** [genassym.o] Error code 1 In sys/conf/kmod.mk : > .if ${MACHINE_CPUARCH} =3D=3D powerpc > CFLAGS+=3D -mlongcall -fno-omit-frame-pointer > .endif results in: > --- depend_subdir_dtrace --- > cc: error: unknown argument: '-mlongcall' . . . > --- depend_subdir_dtrace --- > *** [genassym.o] Error code 1 (no surprise). I stopped experimenting with this area after those 3. (They are not = listed in the order discovered.) =3D=3D=3D Mark Millard markmi at dsl-only.net