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.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 
TO_TYPE=powerpc
#
KERNCONF=GENERICvtsc-NODEBUG
TARGET=${TO_TYPE}
.if ${.MAKE.LEVEL} == 0
TARGET_ARCH=${TO_TYPE}
.export TARGET_ARCH
.endif
#
WITH_CROSS_COMPILER=
WITHOUT_SYSTEM_COMPILER=
#
WITH_LIBCPLUSPLUS=
WITH_BINUTILS_BOOTSTRAP=
WITH_CLANG_BOOTSTRAP=
WITH_CLANG=
WITH_CLANG_IS_CC=
WITH_CLANG_FULL=
WITH_CLANG_EXTRAS=
# lldb requires missing atomic 8-byte operations for powerpc (non-64)
WITHOUT_LLDB=
#
WITH_BOOT=
WITHOUT_LIB32=
#
WITHOUT_ELFTOOLCHAIN_BOOTSTRAP=
WITHOUT_GCC_BOOTSTRAP=
WITHOUT_GCC=
WITHOUT_GCC_IS_CC=
WITHOUT_GNUCXX=
#
NO_WERROR=
#WERROR=
MALLOC_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

_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to