-mllvm -disable-ppc-float-in-variadic=true not recognized by clang 3.8.0; used in kern.mk for TARGET_ARCH=powerpc; more
Mark Millard
markmi at dsl-only.net
Sat Jan 16 07:08:03 UTC 2016
At least for amd64 clang 3.8.0 -> powerpc via TARGET_ARCH=powerpc buildkernel I get the following clang command line options that stop the build attempt. . .
In sys/conf/kern.mk :
The "CFLAGS.clang+= -mllvm -disable-ppc-float-in-variadic=true" line in
> .if ${MACHINE_CPUARCH} == "powerpc"
> CFLAGS+= -mno-altivec
> CFLAGS.clang+= -mllvm -disable-ppc-float-in-variadic=true
> CFLAGS.gcc+= -msoft-float
> INLINE_LIMIT?= 15000
> .endif
results in:
> --- genassym.o ---
> clang (LLVM option parsing): Unknown command line argument '-disable-ppc-float-in-variadic=true'. Try: 'clang (LLVM option parsing) -help'
> clang (LLVM option parsing): Did you mean '-disable-ppc-ctrloop-analysis=true'?
(The above one is the main reason why I's also sending to toolchain: it suggests some sort of change to earlier clang-specific command line options.)
In sys/conf/Makefile.powerpc :
> CFLAGS+= -msoft-float -Wa,-many
results in:
> --- genassym.o ---
> cc: error: unsupported argument '-many' to option 'Wa,'
> *** [genassym.o] Error code 1
In sys/conf/kmod.mk :
> .if ${MACHINE_CPUARCH} == powerpc
> CFLAGS+= -mlongcall -fno-omit-frame-pointer
> .endif
results in:
> --- depend_subdir_dtrace ---
> cc: error: unknown argument: '-mlongcall'
. . .
> --- depend_subdir_dtrace ---
> *** [genassym.o] Error code 1
(no surprise).
I stopped experimenting with this area after those 3. (They are not listed in the order discovered.)
===
Mark Millard
markmi at dsl-only.net
More information about the freebsd-ppc
mailing list