Re: libstdc++ build failures on MIPS, PowerPC, Sparc

From: David Chisnall <theraven_at_FreeBSD.org>
Date: Mon, 24 Jul 2017 08:03:33 +0100
On 23 Jul 2017, at 23:54, Mark Millard <markmi_at_dsl-only.net> wrote:
> 
>>    c++ -isystem ${OUTDIR}/tmp/usr/include/c++/v1 -std=c++11  -nostdinc++ -isystem ${OUTDIR}/tmp/usr/include -L${OUTDIR}/tmp/usr/lib -B${OUTDIR}/tmp/usr/lib --sysroot=${OUTDIR}/tmp -B${OUTDIR}/tmp/usr/bin  -O -pipe -G0 -EB -mabi=32 -msoft-float  -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I${SRCDIR}/gnu/lib/libstdc++ -I${SRCDIR}/contrib/libstdc++/libsupc++ -I${SRCDIR}/contrib/gcc -I${SRCDIR}/contrib/libstdc++/include -I${SRCDIR}/contrib/gcclibs/include -I${SRCDIR}/contrib/libstdc++/include -I. -frandom-seed=RepeatabilityConsideredGood -fno-implicit-templates -ffunction-sections -fdata-sections -Wno-deprecated   -c ${SRCDIR}/contrib/libstdc++/src/bitmap_allocator.cc -o bitmap_allocator.o

This is quite a surprising build command.  It’s using usr/include/c++/v1 for system includes, but usr/include/c++/v1 is the libc++ header directory.  libstdc++ shouldn’t need to be built with C++11 support, but libc++ does, so this command looks like a combination of both libc++ and libstdc++ build flags all mashed together.

David
Received on Mon Jul 24 2017 - 05:18:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC