XDEV fix

Oleksandr Tymoshenko gonzo at bluezbox.com
Mon Oct 17 21:57:09 UTC 2016


> On Oct 16, 2016, at 11:28 PM, Shankar Giri Venkita Giri <girivs at gmx.com> wrote:
> 
> XDEV has been broken for a while in FreeBSD 11. As of today, I had to perform minimal patches to get it to build successfully. Can someone review this and try it out to make sure?
> Also clang being a native cross-compiler, I was wondering if XDEV had specific advantages.

Hi Shankar,

Thanks for submitting the patch. But I am afraid it fixes
symptoms, and not the cause of the problem. Actually there
are multiple problems. clang-based xdev is broken due to this:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213217
gcc-based xdev (I've just checked sparc64) is broken for another
reason I have no idea about so far. Both failures are in sysroot
part of xdev (libraries)

Some time ago I suggested to get rid of sysroot part and reduce
it down to cross-toolchain: compiler + binutils. Although system
clang in theory can act as a cross-comipler it's useless without
binutils:

https://lists.freebsd.org/pipermail/freebsd-arch/2016-October/018000.html

Since you're probably the only person other than me who uses xdev
I am interested in hearing about your use case. May be it's
easier to move cross-toolchain part to packages and get rid
of xdev altogether. 


More information about the freebsd-arm mailing list