libstdc++ build failures on MIPS, PowerPC, Sparc
Mark Millard
markmi at dsl-only.net
Mon Jul 31 08:57:20 UTC 2017
[Fixed by -r321684 .]
On 2017-Jul-24, at 2:31 AM, Mark Millard <markmi at dsl-only.net> wrote:
> [I'm just sending the notes to Bryan Drewery, no new
> information added.]
>
>
> Ravi Pokala rpokala at mac.com wrote on
> Sun Jul 23 19:44:57 UTC 2017 :
>
>> I did a tinderbox build of -HEAD as of r321376; there were failures like this (paths shortened):
>>
>> 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
>>
>> cc1plus: error: unrecognized command line option "-std=c++11"
>> *** [bitmap_allocator.o] Error code 1
>>
>> on multiple worlds:
>>
>> [threepio:clean/base/head] rpokala% egrep -l 'stopped in .*libstdc' _.*buildworld
>> _.mips.mips.buildworld
>> _.mips.mips64.buildworld
>> _.mips.mips64el.buildworld
>> _.mips.mips64elhf.buildworld
>> _.mips.mips64hf.buildworld
>> _.mips.mipsel.buildworld
>> _.mips.mipselhf.buildworld
>> _.mips.mipshf.buildworld
>> _.mips.mipsn32.buildworld
>> _.powerpc.powerpc.buildworld
>> _.powerpc.powerpc64.buildworld
>> _.powerpc.powerpcspe.buildworld
>> _.sparc64.sparc64.buildworld
>>
>> No interesting build environment, just MAKEOBJDIRPREFIX and JFLAGS; clean sources and empty output directory.
. . .
My recent tests of building powerpc and powerpc64
gcc 4.2.1 style indicate that -r321684 has fixed
this issue.
===
Mark Millard
markmi at dsl-only.net
More information about the freebsd-toolchain
mailing list