From owner-freebsd-ppc@freebsd.org Sat Jan 16 10:30:32 2016 Return-Path: Delivered-To: freebsd-ppc@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 91ADAA84053 for ; Sat, 16 Jan 2016 10:30:32 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-3.reflexion.net [208.70.210.3]) (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 4A0EE146A for ; Sat, 16 Jan 2016 10:30:31 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26108 invoked from network); 16 Jan 2016 10:30:29 -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 10:30:29 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.80.0) with SMTP; Sat, 16 Jan 2016 05:30:31 -0500 (EST) Received: (qmail 25728 invoked from network); 16 Jan 2016 10:30:31 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 16 Jan 2016 10:30:31 -0000 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 D52111C43BC for ; Sat, 16 Jan 2016 02:30:28 -0800 (PST) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: clang380-import -r294096 variation can complete TARGET_ARCH=powerpc buildworld Message-Id: <8EADD1FC-2C2D-4223-AB21-3510AADEFBE1@dsl-only.net> Date: Sat, 16 Jan 2016 02:30:29 -0800 To: FreeBSD PowerPC ML Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jan 2016 10:30:32 -0000 After reporting so many examples of what stops buildworld for = projects/clang380-import , here is a note about something that can = complete. (I've not tested the result.) After removing -mlongcall usage and changing to avoid building kboot and = using WITHOUT_LLDB=3D an amd64 based projects/clang380-import -r294096 = TARGET_ARCH=3Dpowerpc buildworld does run to completion. This was for src.conf being as below (and make.conf being empty): TO_TYPE=3Dpowerpc # KERNCONF=3DGENERICvtsc-NODEBUG TARGET=3Dpowerpc .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITH_FAST_DEPEND=3D WITH_LIBCPLUSPLUS=3D WITH_LIB32=3D WITH_BOOT=3D WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D # # lldb requires missing atomic 8-byte operations for powerpc (non-64) WITHOUT_LLDB=3D # WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D MALLOC_PRODUCTION=3D # WITHOUT_DEBUG=3D WITHOUT_DEBUG_FILES=3D And GENERICvtsc-NODEBUG being: include GENERIC ident GENERICvtsc nooptions PS3 #Sony Playstation 3 = HACK!!! to allow sc options DDB # HACK!!! to dump early crash = info (but 11.0-CURRENT already has it) options GDB # HACK!!! ... #options VERBOSE_SYSINIT #options BOOTVERBOSE=3D1 #options BOOTHOWTO=3DRB_VERBOSE #options KTR #options KTR_MASK=3DKTR_TRAP #options KTR_CPUMASK=3D0xF #options KTR_VERBOSE # HACK!!! to allow sc for 2560x1440 display on Radeon X1950 that vt = historically mishandled during booting device sc #device kbdmux # HACK: already listed by vt options SC_OFWFB # OFW frame buffer options SC_DFLT_FONT # compile font in makeoptions SC_DFLT_FONT=3Dcp437 # Disable extra checking typically used for FreeBSD 11.0-CURRENT: #nooptions DEADLKRES #Enable the deadlock resolver #nooptions INVARIANTS #Enable calls of extra sanity = checking #nooptions INVARIANT_SUPPORT #Extra sanity checks of internal = structures, required by INVARIANTS #nooptions WITNESS #Enable checks to detect = deadlocks and cycles #nooptions WITNESS_SKIPSPIN #Don't run witness on spinlocks = for speed #nooptions MALLOC_DEBUG_MAXZONES # Separate malloc(9) zones As I'm no where near getting a matching buildkernel to complete I've not = tried to test this buildworld result on a PowerMac that I have access = to. =3D=3D=3D Mark Millard markmi at dsl-only.net