clang380-import -r294096 variation can complete TARGET_ARCH=powerpc buildworld
Mark Millard
markmi at dsl-only.net
Sat Jan 16 10:30:32 UTC 2016
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= an amd64 based projects/clang380-import -r294096 TARGET_ARCH=powerpc buildworld does run to completion.
This was for src.conf being as below (and make.conf being empty):
TO_TYPE=powerpc
#
KERNCONF=GENERICvtsc-NODEBUG
TARGET=powerpc
.if ${.MAKE.LEVEL} == 0
TARGET_ARCH=${TO_TYPE}
.export TARGET_ARCH
.endif
#
WITH_FAST_DEPEND=
WITH_LIBCPLUSPLUS=
WITH_LIB32=
WITH_BOOT=
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=
#
WITHOUT_GCC_BOOTSTRAP=
WITHOUT_GCC=
WITHOUT_GNUCXX=
#
NO_WERROR=
MALLOC_PRODUCTION=
#
WITHOUT_DEBUG=
WITHOUT_DEBUG_FILES=
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=1
#options BOOTHOWTO=RB_VERBOSE
#options KTR
#options KTR_MASK=KTR_TRAP
#options KTR_CPUMASK=0xF
#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=cp437
# 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.
===
Mark Millard
markmi at dsl-only.net
More information about the freebsd-ppc
mailing list