Total confusion over toolchain/xdev behavior

Dimitry Andric dim at FreeBSD.org
Mon Jul 7 19:54:19 UTC 2014


On 07 Jul 2014, at 21:28, Warner Losh <imp at bsdimp.com> wrote:
...
> Just for grins, I did the following on a stock system (without your change to src.opts.mk from Bapt) and not as root:
> 
> % mkdir $HOME/D
> % make DESTDIR=$HOME/D XDEV=mips XDEV_ARCH=mips xdev WITHOUT_CLANG=t WITHOUT_CLANG_BOOTSTRAP=t WITH_GCC=t WITH_GCC_BOOTSTRAP=t
> % 
> 
> and it hit the stdc++ bits not being defined. Please see above with the "clang folks didn’t properly integrate”  Or possibly some other reason.

Try adding WITH_GNUCXX=t, which should build and install the correct libstdc++ headers to ${WORLDTMP} during the early stages.  I recently mailed you and scottl@ a patch for doing just that, if gcc is the bootstrap compiler... :)

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20140707/c5848eb8/attachment.sig>


More information about the freebsd-arch mailing list