Warner,
I can't get the external toolchain build of CURRENT to work,
because --sysroot seems to be missing in some places.
See:
https://lists.freebsd.org/pipermail/freebsd-toolchain/2015-March/001452.html
gnn@ said you might know where this can be fixed.
Any idea of a patch that can fix this?
It turns out that I had to rebuild powerpc64-gcc after booting into the
powerpc64-gcc based installed world (and kernel). The below notes start from
before that rebuild of powerpc64-gcc.
Basic context (more detail later):
> # dmesg | head
> ...
> FreeBSD 11.0-CURRENT #0 r279514M: Wed Mar 18 20
CROSS_TOOLCHAIN=powerpc64-gcc will not automatically use /usr/include/c++/v1/
paths or /usr/lib/ paths. And those paths are only appropriate sometimes. Other
times paths such as /usr/obj/usr/srcC/tmp/usr/include/c++/v1 and
/usr/obj/usr/srcC/lib/libc++ are appropriate.
The later material conclu
Basic context:
> # dmesg | head
> ...
> FreeBSD 11.0-CURRENT #0 r279514M: Wed Mar 18 20:11:15 PDT 2015
> root@FBSDG5C0:/usr/obj/usr/srcC/sys/GENERIC64vtsc-NODEBUG powerpc
> gcc version 4.9.1 (FreeBSD Ports Collection for powerpc64)
> ...
> # freebsd-version -ku; uname -apKU
> 11.0-CURRENT
>