-mllvm -disable-ppc-float-in-variadic=true not recognized by clang 3.8.0; used in kern.mk for TARGET_ARCH=powerpc; more

2016-01-15 Thread Mark Millard
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" > C

Re: clang 3.8.0 amd64 targeting powerpc64 accepts -mlong-calls (instead of -mlongcall)

2016-01-15 Thread Mark Millard
On 2016-Jan-15, at 10:11 AM, Mark Millard wrote: > On 2016-Jan-15, at 9:08 AM, Roman Divacky wrote: >> >> On Thu, Jan 14, 2016 at 01:54:06AM -0800, Mark Millard wrote: >>> Context: projects/clang380-import based amd64 FreeBSD used to try building >>> for powerpc64 >>> >>> In csu/powerpc64/Mak

Re: base/projects/clang3.8.0-import -r294096 buildworld targeting arm (for rpi2): assertion failed

2016-01-15 Thread Dimitry Andric
On 15 Jan 2016, at 23:15, Mark Millard wrote: > > My attempted buildworld of -r294096 from amd64 targeting arm for an rpi2 > stopped with: > >> --- all_subdir_usr.sbin --- >> Assertion failed: (Offset <= PieceOffset && "overlapping or duplicate >> pieces"), function finalize, file >> /usr/src

base/projects/clang3.8.0-import -r294096 buildworld targeting arm (for rpi2): assertion failed

2016-01-15 Thread Mark Millard
My attempted buildworld of -r294096 from amd64 targeting arm for an rpi2 stopped with: > --- all_subdir_usr.sbin --- > Assertion failed: (Offset <= PieceOffset && "overlapping or duplicate > pieces"), function finalize, file > /usr/src/lib/clang/libllvmasmprinter/../../../contrib/llvm/lib/Code

Re: clang 3.8.0 amd64 targeting powerpc64 accepts -mlong-calls (instead of -mlongcall)

2016-01-15 Thread Mark Millard
On 2016-Jan-15, at 9:08 AM, Roman Divacky wrote: > > On Thu, Jan 14, 2016 at 01:54:06AM -0800, Mark Millard wrote: >> Context: projects/clang380-import based amd64 FreeBSD used to try building >> for powerpc64 >> >> In csu/powerpc64/Makefile I replaced: >> >>> CFLAGS+=-I${.CURDIR}/../

Re: clang 3.8.0 amd64 targeting powerpc64 accepts -mlong-calls (instead of -mlongcall)

2016-01-15 Thread Roman Divacky
On Thu, Jan 14, 2016 at 01:54:06AM -0800, Mark Millard wrote: > Context: projects/clang380-import based amd64 FreeBSD used to try building > for powerpc64 > > In csu/powerpc64/Makefile I replaced: > > > CFLAGS+=-I${.CURDIR}/../common \ > > -I${.CURDIR}/../../libc/include