Total confusion over toolchain/xdev behavior

Warner Losh imp at bsdimp.com
Tue Jul 8 17:16:45 UTC 2014


On Jul 8, 2014, at 10:04 AM, Sean Bruno <sbruno at ignoranthack.me> wrote:

> On Tue, 2014-07-08 at 08:03 -0700, Sean Bruno wrote:
>>> Sean, can you see if this works for you now? And sorry about the
>> cumbersome options. Those are in line to get fixed, but I wanna fix
>> the build-in-tree issues first (which, alas, are harder than you’d
>> think). I suspect that bapt’s src.opts.mk diffs are likely good
>> candidates to be used committed too, but the above works w/o it. Also,
>> I just built the binaries, I didn’t see if they worked.
>>> 
>>> Warner 
> 
> Ok, it seems like we've come full circle.  :-)  I'm once again back at
> include failures, for libstdc++:
> 
> make -s xdev MAKEOBJDIRPREFIX=/var/tmp XDDESTDIR=/var/tmp/mips_cc
> XDEV=mips XDEV_ARCH=mips WITHOUT_CLANG=t WITHOUT_CLANG_BOOTSTRAP=t
> WITH_GCC=t WITH_GCC_BOOTSTRAP=t WITH_GNUCXX=t
> ...
> ===> secure/lib/libssl (obj,depend,all,install)
> ===> gnu/lib/libstdc++ (obj,depend,all,install)
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/bitmap_allocator.h:37:54: error: cstddef: No such file or
> directory
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:38,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/bits/functexcept.h:41:28: error: bits/c++config.h: No such
> file or directory
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/bitmap_allocator.h:39:37: error: utility: No such file or
> directory
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/bitmap_allocator.h:40:60: error: functional: No such file
> or directory
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:43,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/concurrence.h:39:19: error: cstdlib: No such file or
> directory
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/concurrence.h:41:24: error: bits/gthr.h: No such file or
> directory
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:38,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/bits/functexcept.h:44: error: expected constructor,
> destructor, or type conversion before '(' token
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/libsupc++/new:45,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:41,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/libsupc++/exception:40: error: '#pragma' is not allowed here
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/libsupc++/exception:133: error: expected declaration before end of
> line
> *** Error code 1
> 
> Stop.
> make[4]: stopped in /home/sbruno/fbsd_head/gnu/lib/libstdc++
> *** Error code 1

Does it work if you add WITHOUT_CXX=t to the mix?

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/20140708/23f92713/attachment.sig>


More information about the freebsd-arch mailing list