From owner-freebsd-stable@freebsd.org Fri Jul 22 08:46:33 2016 Return-Path: Delivered-To: freebsd-stable@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 7C7FFBA06F6 for ; Fri, 22 Jul 2016 08:46:33 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-156.reflexion.net [208.70.211.156]) (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 3409D1BD4 for ; Fri, 22 Jul 2016 08:46:33 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 25346 invoked from network); 22 Jul 2016 08:47:07 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 22 Jul 2016 08:47:06 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.90.6) with SMTP; Fri, 22 Jul 2016 04:46:31 -0400 (EDT) Received: (qmail 30767 invoked from network); 22 Jul 2016 08:46:30 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 22 Jul 2016 08:46:30 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id E84F91C4371; Fri, 22 Jul 2016 01:46:23 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 11.0 -r303168 for TARGET_ARCH=powerpc: etc/mtree/BSD.lib32.dist usr/lib32/i18n/ usr/lib32/dtrace/ usr/lib32/ involved Message-Id: Date: Fri, 22 Jul 2016 01:46:23 -0700 To: freebsd-stable@freebsd.org, FreeBSD Current , FreeBSD PowerPC ML Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2016 08:46:33 -0000 Context: amd64 11.0 -r303168 cross build sequence WITH_META_MODE=3Dyes = of TARGET_ARCH=3Dpowerpc (non-64), buildworld then installworld and = mergemaster to a local directory: mergemaster produced . . . > *** You chose the automatic install option for files that did not > exist on your system. The following were installed for you: > = /usr/obj/DESTDIRs/clang-powerpc-installworld/etc/mtree/BSD.lib32.dist The later delete-old delete-old-libs produced . . . > >>> Removing old files (only deletes safe to delete libs) > remove = /usr/obj/DESTDIRs/clang-powerpc-installworld/etc/mtree/BSD.lib32.dist? y > >>> Old files removed > >>> Removing old directories > = /usr/obj/DESTDIRs/clang-powerpc-installworld/usr/share/locale/kk_KZ.UTF-8 > /usr/obj/DESTDIRs/clang-powerpc-installworld/usr/lib32/i18n > /usr/obj/DESTDIRs/clang-powerpc-installworld/usr/lib32/dtrace > /usr/obj/DESTDIRs/clang-powerpc-installworld/usr/lib32 > >>> Old directories removed > To remove old libraries run 'make delete-old-libs'. > >>> Removing old libraries > Please be sure no application still uses those libraries, else you > can not start such an application. Consult UPDATING for more > information regarding how to cope with the removal/revision bump > of a specific library. > >>> Old libraries removed For some reason "lib32" is involved a little bit when no such is needed. Context details: The prior build had been for -r302457 . # more ~/src.configs/src.conf.powerpc-clang-bootstrap.amd64-host=20 TO_TYPE=3Dpowerpc # KERNCONF=3DGENERICvtsc-NODEBUG TARGET=3D${TO_TYPE} .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # WITH_CROSS_COMPILER=3D WITHOUT_SYSTEM_COMPILER=3D # WITH_LIBCPLUSPLUS=3D WITH_BINUTILS_BOOTSTRAP=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 # WITH_BOOT=3D WITHOUT_LIB32=3D # WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=3D WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D #WERROR=3D MALLOC_PRODUCTION=3D # WITH_DEBUG_FILES=3D make.conf empty. Side note: WARNING to avoid bad implications: clang 3.8.0 produces code that = violates the powerpc (32-bit) ABI FreeBSD requires relative to stack = handling. There are other problems as well, such as exception handling. = To actually use the buildworld result I'd use a kernel modified to have = a so-called "red-zone" for signal delivery. clang can not yet build the = kernel so that part would be gcc 4.2.1 based. This does not deal with = the exception handling issues or other things but can be fairly useful. = (I'm weeks away from having powerpc or powerpc64 access again.) =3D=3D=3D Mark Millard markmi at dsl-only.net