Total confusion over toolchain/xdev behavior

Warner Losh imp at bsdimp.com
Mon Jul 7 20:32:02 UTC 2014


On Jul 7, 2014, at 1:54 PM, Dimitry Andric <dim at FreeBSD.org> wrote:

> 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... :)

Didn’t seem to help. I thought of that after I sent my mail…  The right things are being built, they appear to be installed, but the paths used don’t seem to use the installed path :(

Warner

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


More information about the freebsd-arch mailing list