[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-ppc
Subject: Re: -mllvm -disable-ppc-float-in-variadic=true not recognized by clang 3.8.0; used in kern.mk for TA
From: Roman Divacky <rdivacky () vlakno ! cz>
Date: 2016-01-19 12:11:23
Message-ID: 20160119121123.GA15094 () vlakno ! cz
[Download RAW message or body]
clang 3.8 support soft-float on PPC natively, no need for the
-mllvm -disable-ppc-float-in-variadic=true hack anymore.
Roman
On Fri, Jan 15, 2016 at 11:07:59PM -0800, Mark Millard wrote:
> 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
>
> _______________________________________________
> freebsd-toolchain@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
> To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org"
_______________________________________________
freebsd-ppc@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic