Mark Millard
2016-Jul-22 08:46 UTC
11.0 -r303168 for TARGET_ARCH=powerpc: etc/mtree/BSD.lib32.dist usr/lib32/i18n/ usr/lib32/dtrace/ usr/lib32/ involved
Context: amd64 11.0 -r303168 cross build sequence WITH_META_MODE=yes of TARGET_ARCH=powerpc (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.distThe 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 removedFor 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 TO_TYPE=powerpc # KERNCONF=GENERICvtsc-NODEBUG TARGET=${TO_TYPE} .if ${.MAKE.LEVEL} == 0 TARGET_ARCH=${TO_TYPE} .export TARGET_ARCH .endif # WITH_CROSS_COMPILERWITHOUT_SYSTEM_COMPILER# WITH_LIBCPLUSPLUSWITH_BINUTILS_BOOTSTRAPWITH_CLANG_BOOTSTRAPWITH_CLANGWITH_CLANG_IS_CCWITH_CLANG_FULLWITH_CLANG_EXTRAS# lldb requires missing atomic 8-byte operations for powerpc (non-64) WITHOUT_LLDB# WITH_BOOTWITHOUT_LIB32# WITHOUT_ELFTOOLCHAIN_BOOTSTRAPWITHOUT_GCC_BOOTSTRAPWITHOUT_GCCWITHOUT_GCC_IS_CCWITHOUT_GNUCXX# NO_WERROR#WERRORMALLOC_PRODUCTION# WITH_DEBUG_FILES 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.) ==Mark Millard markmi at dsl-only.net