Re: Broken arm support in clang now?

2018-08-19 Thread Ed Maste
On 16 August 2018 at 10:49, Mark Millard wrote: > > Ahh. Okay. 32-bit non-armv7+ cannot be fully llvm based. > Intersting. Indeed; there are a couple of patches in review upstream to address the outstanding issues involved with using lld to link armv5/armv6. > The implication would be that ld

Re: Broken arm support in clang now?

2018-08-16 Thread Mark Millard via freebsd-toolchain
[I found the ${LD} use in /usr/src/sys/conf/kmod.mk .] On 2018-Aug-16, at 7:49 AM, Mark Millard wrote: > On 2018-Aug-16, at 7:16 AM, Warner Losh wrote: >> >> On Thu, Aug 16, 2018 at 8:14 AM, Mark Millard wrote: >>> On 2018-Aug-16, at 6:38 AM, Ed Maste wrote: >>> On 11 August 2018 at

Re: Broken arm support in clang now?

2018-08-16 Thread Mark Millard via freebsd-toolchain
> On 2018-Aug-16, at 7:16 AM, Warner Losh wrote: > > On Thu, Aug 16, 2018 at 8:14 AM, Mark Millard wrote: >> On 2018-Aug-16, at 6:38 AM, Ed Maste wrote: >> >> > On 11 August 2018 at 20:45, Mark Millard via freebsd-toolchain >> > wrote: >> >> >> >> Is the link command itself available? (The

Re: Broken arm support in clang now?

2018-08-16 Thread Warner Losh
On Thu, Aug 16, 2018 at 8:14 AM, Mark Millard wrote: > On 2018-Aug-16, at 6:38 AM, Ed Maste wrote: > > > On 11 August 2018 at 20:45, Mark Millard via freebsd-toolchain > > wrote: > >> > >> Is the link command itself available? (The .../sys/*/kernel.full.meta > >> likely has it if it is still

Re: Broken arm support in clang now?

2018-08-16 Thread Mark Millard via freebsd-toolchain
On 2018-Aug-16, at 6:38 AM, Ed Maste wrote: > On 11 August 2018 at 20:45, Mark Millard via freebsd-toolchain > wrote: >> >> Is the link command itself available? (The .../sys/*/kernel.full.meta >> likely has it if it is still around.) > > I tried a tinderbox build right now and saw the lld

Re: Broken arm support in clang now?

2018-08-16 Thread Ed Maste
On 11 August 2018 at 20:45, Mark Millard via freebsd-toolchain wrote: > > Is the link command itself available? (The .../sys/*/kernel.full.meta > likely has it if it is still around.) I tried a tinderbox build right now and saw the lld warnings from linking zfs.ko. It appears to be fallout from

Re: Broken arm support in clang now?

2018-08-11 Thread Mark Millard via freebsd-toolchain
[Replying from the intended Email address, rather than the one I accidentally used originally.] On 2018-Aug-11, at 5:05 PM, Warner Losh wrote: > On Sat, Aug 11, 2018 at 1:01 PM, Mark Millard > wrote: > On 2018-Aug-11, at 11:09 AM, Dimitry Andric wrote: > > > > On 11 Aug 2018, at 19:31,

Re: Broken arm support in clang now?

2018-08-11 Thread Warner Losh
On Sat, Aug 11, 2018 at 1:01 PM, Mark Millard < mark.mill...@nexustechnology.com> wrote: > On 2018-Aug-11, at 11:09 AM, Dimitry Andric wrote: > > > > On 11 Aug 2018, at 19:31, Warner Losh wrote: > >> > >> On Sat, Aug 11, 2018, 10:20 AM Dimitry Andric wrote: > >> On 11 Aug 2018, at 16:55,

Re: Broken arm support in clang now?

2018-08-11 Thread Mark Millard via freebsd-toolchain
[Resent from the right account. I wish I could remove the prior send.] On 2018-Aug-11, at 11:09 AM, Dimitry Andric wrote: > > On 11 Aug 2018, at 19:31, Warner Losh wrote: >> >> On Sat, Aug 11, 2018, 10:20 AM Dimitry Andric wrote: >> On 11 Aug 2018, at 16:55, Warner Losh wrote: >>> >>> It

Re: Broken arm support in clang now?

2018-08-11 Thread Mark Millard
On 2018-Aug-11, at 11:09 AM, Dimitry Andric wrote: > > On 11 Aug 2018, at 19:31, Warner Losh wrote: >> >> On Sat, Aug 11, 2018, 10:20 AM Dimitry Andric wrote: >> On 11 Aug 2018, at 16:55, Warner Losh wrote: >>> >>> It looks like armv5 clang bogusly uses lld: >>> >>> From a 'make

Re: Broken arm support in clang now?

2018-08-11 Thread Dimitry Andric
On 11 Aug 2018, at 19:31, Warner Losh wrote: > > On Sat, Aug 11, 2018, 10:20 AM Dimitry Andric wrote: > On 11 Aug 2018, at 16:55, Warner Losh wrote: > > > > It looks like armv5 clang bogusly uses lld: > > > > From a 'make buildkernel' of the RT1310 kernel config: > > > > cc -target

Re: Broken arm support in clang now?

2018-08-11 Thread Warner Losh
On Sat, Aug 11, 2018, 10:20 AM Dimitry Andric wrote: > On 11 Aug 2018, at 16:55, Warner Losh wrote: > > > > It looks like armv5 clang bogusly uses lld: > > > > From a 'make buildkernel' of the RT1310 kernel config: > > > > cc -target arm-gnueabi-freebsd12.0 > >

Re: Broken arm support in clang now?

2018-08-11 Thread Dimitry Andric
On 11 Aug 2018, at 16:55, Warner Losh wrote: > > It looks like armv5 clang bogusly uses lld: > > From a 'make buildkernel' of the RT1310 kernel config: > > cc -target arm-gnueabi-freebsd12.0 > --sysroot=/usr/home/imp/obj/usr/home/imp/git/head/arm.arm/tmp >

Broken arm support in clang now?

2018-08-11 Thread Warner Losh
It looks like armv5 clang bogusly uses lld: >From a 'make buildkernel' of the RT1310 kernel config: cc -target arm-gnueabi-freebsd12.0 --sysroot=/usr/home/imp/obj/usr/home/imp/git/head/arm.arm/tmp -B/usr/home/imp/obj/usr/home/imp/git/head/arm.arm/tmp/usr/bin -c -O -pipe -g -nostdinc -I.