Module Name: src Committed By: mrg Date: Sun Feb 4 09:22:03 UTC 2018
Modified Files: src/external/gpl3/gcc/usr.bin: Makefile.inc src/external/gpl3/gcc/usr.bin/backend: Makefile src/external/gpl3/gcc/usr.bin/gcc/arch/i386: auto-host.h configargs.h Log Message: partial work-in-progress to build GCC 6.4 natively: - use -std=gnu++98 by default. - add build support for new GCC generators, etc. - regen i386 mknative files. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/external/gpl3/gcc/usr.bin/Makefile.inc cvs rdiff -u -r1.39 -r1.40 src/external/gpl3/gcc/usr.bin/backend/Makefile cvs rdiff -u -r1.11 -r1.12 \ src/external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h cvs rdiff -u -r1.32 -r1.33 \ src/external/gpl3/gcc/usr.bin/gcc/arch/i386/configargs.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/usr.bin/Makefile.inc diff -u src/external/gpl3/gcc/usr.bin/Makefile.inc:1.29 src/external/gpl3/gcc/usr.bin/Makefile.inc:1.30 --- src/external/gpl3/gcc/usr.bin/Makefile.inc:1.29 Tue Aug 22 09:17:50 2017 +++ src/external/gpl3/gcc/usr.bin/Makefile.inc Sun Feb 4 09:22:03 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.29 2017/08/22 09:17:50 mrg Exp $ +# $NetBSD: Makefile.inc,v 1.30 2018/02/04 09:22:03 mrg Exp $ .ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_ _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_=1 @@ -39,6 +39,8 @@ FRONTENDOBJ!= cd ${.CURDIR}/../frontend NBCOMPATLIB= -L${TOOLDIR}/lib -lnbcompat .endif +CXXFLAGS+= -std=gnu++98 + GNUHOSTDIST= ${DIST} BUILD_PREFIX= ${C_BUILD_PREFIX} Index: src/external/gpl3/gcc/usr.bin/backend/Makefile diff -u src/external/gpl3/gcc/usr.bin/backend/Makefile:1.39 src/external/gpl3/gcc/usr.bin/backend/Makefile:1.40 --- src/external/gpl3/gcc/usr.bin/backend/Makefile:1.39 Sun Oct 8 11:08:55 2017 +++ src/external/gpl3/gcc/usr.bin/backend/Makefile Sun Feb 4 09:22:03 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2017/10/08 11:08:55 joerg Exp $ +# $NetBSD: Makefile,v 1.40 2018/02/04 09:22:03 mrg Exp $ LIBISPRIVATE= yes @@ -21,6 +21,8 @@ CPPFLAGS+= -I${.CURDIR}/../../lib/libgcc CPPFLAGS.cppdefault.c+= -DPREFIX=\"/usr\" \ -DNATIVE_SYSTEM_HEADER_DIR=\"${G_NATIVE_SYSTEM_HEADER_DIR}\" +HOST_CXXFLAGS+= -std=gnu++98 + HOSTPROG_CXX= 1 .include <bsd.own.mk> @@ -172,10 +174,10 @@ genmodes: genmodes.lo build-errors.lo CLEANFILES+= genmodes insn-modes.c insn-modes.h-test min-insn-modes.c -gimple-match.c: genmatch +gimple-match.c: genmatch cfn-operators.pd ./genmatch --gimple ${GNUHOSTDIST}/gcc/match.pd > gimple-match.c.tmp mv gimple-match.c.tmp gimple-match.c -generic-match.c: genmatch +generic-match.c: genmatch cfn-operators.pd ./genmatch --generic ${GNUHOSTDIST}/gcc/match.pd > generic-match.c.tmp mv generic-match.c.tmp generic-match.c genmatch.lo: ${HH_NORTL} ${G_GGC_H} @@ -208,13 +210,15 @@ ${G_OBJS} ${G_OBJS:.o=.d}: tm_p.h # XXX # depends upon) it. CLEANFILES+= auto-build.h HOST_CFLAGS+= -I${.OBJDIR} +HOST_CXXFLAGS+= -I${.OBJDIR} auto-build.h: gmp.h Makefile ${_MKTARGET_CREATE} rm -rf .ab && \ mkdir .ab && \ (cd .ab && \ AWK=${TOOL_AWK:Q} \ - CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} CXX=${HOST_CXX:Q} \ + CC=${ORIGHOST_CC:Q} CFLAGS=${HOST_CFLAGS:Q} \ + CXX=${HOST_CXX:Q} CXXFLAGS=${HOST_CXXFLAGS:Q} \ MAKE=${TOOL_GMAKE:Q} \ CONFIG_SHELL=${HOST_SH:Q} \ gcc_cv_ld=${LD:Q} \ @@ -224,7 +228,8 @@ auto-build.h: gmp.h Makefile --host=`${HOST_SH} ${GNUHOSTDIST}/config.guess` \ --target=${MACHINE_GNU_PLATFORM} && \ mv auto-host.h ../auto-build.h) && \ - rm -rf .ab + true + #rm -rf .ab pass-instances.def: passes.def gen-pass-instances.awk ${_MKTARGET_CREATE} @@ -326,7 +331,8 @@ GENPROG_RTL_DEPENDS= ${G_BUILD_RTL:.o=.l # First we generate the rules for the generators. # .for f in attr attr-common attrtab automata codes conditions config emit \ - extract flags opinit output peep preds recog mddump condmd + extract flags opinit output peep preds recog mddump condmd \ + target-def cfn-macros gen${f}.lo: ${HH} gen${f}.c gen${f}: gen${f}.lo ${GENPROG_RTL_DEPENDS} ${_MKTARGET_LINK} @@ -362,7 +368,8 @@ CLEANFILES+= gen${f} gen${f}.lo # RTL based files .for f in attr.h attr-common.h codes.h config.h flags.h \ - automata.c emit.c extract.c output.c peep.c recog.c + automata.c emit.c extract.c output.c peep.c recog.c \ + target-def.h insn-${f}: gen${f:R} ${G_md_file} insn-conditions.md ${_MKTARGET_CREATE} ./gen${f:R} ${G_md_file} insn-conditions.md >${.TARGET} @@ -412,6 +419,31 @@ insn-conditions.md: gencondmd ./gencondmd >${.TARGET} CLEANFILES+= insn-conditions.md +# build params.list for params.h. +params.h: params.list +DPSRCS+= params.h +params-list.h: params.def +params.list: params-list.h + ${CPP} ${.ALLSRC} | sed 's/^#.*//;/^$$/d' > params.list.tmp && \ + mv params.list.tmp params.list +CLEANFILES+= params.list.tmp params.list + +# build case-cfn-macros.h and cfn-operators.pd +case-cfn-macros.h: gencfn-macros + ./gencfn-macros -c > case-cfn-macros.h.tmp && \ + mv case-cfn-macros.h.tmp case-cfn-macros.h +cfn-operators.pd: gencfn-macros + ./gencfn-macros -o > cfn-operators.pd.tmp && \ + mv cfn-operators.pd.tmp cfn-operators.pd +CLEANFILES+= case-cfn-macros.h.tmp case-cfn-macros.h \ + cfn-operators.pd.tmp cfn-operators.pd + +CASECFNDEPS= aarch64-builtins.c arm-builtins.c i386.c rs6000.c builtins.c \ + fold-const.c tree-ssa-math-opts.c tree-ssa-reassoc.c \ + tree-vect-patterns.c tree-vrp.c generic-match-head.c \ + gimple-match-head.c ChangeLog-2015 fold-const-call.c \ + gimple-ssa-backprop.c +${CASECFNDEPS}: case-cfn-macros.h # # Required hard-coded dependancies. @@ -420,7 +452,7 @@ genextract.lo: insn-config.h gencondmd.lo: tm_p.h tm-constrs.h read-rtl.lo gencodes.lo genattrtab.lo genautomata.lo: insn-constants.h genattr-common.lo gensupport.lo genconditions.lo: insn-constants.h -genattr.lo genflags.lo genemit.lo genconfig.lo gencheck.lo: insn-constants.h +genattr.lo genflags.lo genemit.lo genconfig.lo gencheck.lo: insn-constants.h gtype-desc.h genopinit.lo genrecog.lo genpreds.lo genoutput.lo genpeep.lo: insn-constants.h build-ggc-none.lo: gtype-desc.h ggc-none.o: gtype-desc.h Index: src/external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h:1.11 src/external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h:1.12 --- src/external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h:1.11 Sun Feb 4 01:17:45 2018 +++ src/external/gpl3/gcc/usr.bin/gcc/arch/i386/auto-host.h Sun Feb 4 09:22:03 2018 @@ -1,5 +1,5 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.90 2017/10/04 21:42:20 christos Exp */ +/* Generated from: NetBSD: mknative-gcc,v 1.91 2018/02/03 19:06:25 mrg Exp */ /* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */ /* auto-host.h. Generated from config.in by configure. */ @@ -704,7 +704,7 @@ /* Define if <time.h> defines clock_t. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_CLOCK_T */ +#define HAVE_CLOCK_T 1 #endif @@ -717,33 +717,33 @@ /* Define to 1 if we found a declaration for 'abort', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_ABORT 0 +#define HAVE_DECL_ABORT 1 #endif /* Define to 1 if we found a declaration for 'asprintf', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_ASPRINTF 0 +#define HAVE_DECL_ASPRINTF 1 #endif /* Define to 1 if we found a declaration for 'atof', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_ATOF 0 +#define HAVE_DECL_ATOF 1 #endif /* Define to 1 if we found a declaration for 'atol', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_ATOL 0 +#define HAVE_DECL_ATOL 1 #endif /* Define to 1 if we found a declaration for 'atoll', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_ATOLL 0 +#define HAVE_DECL_ATOLL 1 #endif @@ -757,7 +757,7 @@ /* Define to 1 if we found a declaration for 'calloc', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_CALLOC 0 +#define HAVE_DECL_CALLOC 1 #endif @@ -771,14 +771,14 @@ /* Define to 1 if we found a declaration for 'clock', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_CLOCK 0 +#define HAVE_DECL_CLOCK 1 #endif /* Define to 1 if we found a declaration for 'errno', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_ERRNO 0 +#define HAVE_DECL_ERRNO 1 #endif @@ -805,7 +805,7 @@ /* Define to 1 if we found a declaration for 'ffs', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_FFS 0 +#define HAVE_DECL_FFS 1 #endif @@ -860,7 +860,7 @@ /* Define to 1 if we found a declaration for 'free', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_FREE 0 +#define HAVE_DECL_FREE 1 #endif @@ -874,63 +874,63 @@ /* Define to 1 if we found a declaration for 'getchar_unlocked', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_GETCHAR_UNLOCKED 0 +#define HAVE_DECL_GETCHAR_UNLOCKED 1 #endif /* Define to 1 if we found a declaration for 'getcwd', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_GETCWD 0 +#define HAVE_DECL_GETCWD 1 #endif /* Define to 1 if we found a declaration for 'getc_unlocked', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_GETC_UNLOCKED 0 +#define HAVE_DECL_GETC_UNLOCKED 1 #endif /* Define to 1 if we found a declaration for 'getenv', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_GETENV 0 +#define HAVE_DECL_GETENV 1 #endif /* Define to 1 if we found a declaration for 'getopt', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_GETOPT 0 +#define HAVE_DECL_GETOPT 1 #endif /* Define to 1 if we found a declaration for 'getpagesize', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_GETPAGESIZE 0 +#define HAVE_DECL_GETPAGESIZE 1 #endif /* Define to 1 if we found a declaration for 'getrlimit', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_GETRLIMIT 0 +#define HAVE_DECL_GETRLIMIT 1 #endif /* Define to 1 if we found a declaration for 'getrusage', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_GETRUSAGE 0 +#define HAVE_DECL_GETRUSAGE 1 #endif /* Define to 1 if we found a declaration for 'getwd', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_GETWD 0 +#define HAVE_DECL_GETWD 1 #endif @@ -944,125 +944,125 @@ /* Define to 1 if we found a declaration for 'madvise', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_MADVISE 0 +#define HAVE_DECL_MADVISE 1 #endif /* Define to 1 if we found a declaration for 'malloc', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_MALLOC 0 +#define HAVE_DECL_MALLOC 1 #endif /* Define to 1 if we found a declaration for 'putchar_unlocked', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_PUTCHAR_UNLOCKED 0 +#define HAVE_DECL_PUTCHAR_UNLOCKED 1 #endif /* Define to 1 if we found a declaration for 'putc_unlocked', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_PUTC_UNLOCKED 0 +#define HAVE_DECL_PUTC_UNLOCKED 1 #endif /* Define to 1 if we found a declaration for 'realloc', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_REALLOC 0 +#define HAVE_DECL_REALLOC 1 #endif /* Define to 1 if we found a declaration for 'sbrk', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_SBRK 0 +#define HAVE_DECL_SBRK 1 #endif /* Define to 1 if we found a declaration for 'setenv', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_SETENV 0 +#define HAVE_DECL_SETENV 1 #endif /* Define to 1 if we found a declaration for 'setrlimit', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_SETRLIMIT 0 +#define HAVE_DECL_SETRLIMIT 1 #endif /* Define to 1 if we found a declaration for 'sigaltstack', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_SIGALTSTACK 0 +#define HAVE_DECL_SIGALTSTACK 1 #endif /* Define to 1 if we found a declaration for 'snprintf', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_SNPRINTF 0 +#define HAVE_DECL_SNPRINTF 1 #endif /* Define to 1 if we found a declaration for 'stpcpy', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_STPCPY 0 +#define HAVE_DECL_STPCPY 1 #endif /* Define to 1 if we found a declaration for 'strnlen', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_STRNLEN 0 +#define HAVE_DECL_STRNLEN 1 #endif /* Define to 1 if we found a declaration for 'strsignal', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_STRSIGNAL 0 +#define HAVE_DECL_STRSIGNAL 1 #endif /* Define to 1 if you have the declaration of `strstr(const char*,const char*)', and to 0 if you don't. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_STRSTR 0 +#define HAVE_DECL_STRSTR 1 #endif /* Define to 1 if we found a declaration for 'strtol', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_STRTOL 0 +#define HAVE_DECL_STRTOL 1 #endif /* Define to 1 if we found a declaration for 'strtoll', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_STRTOLL 0 +#define HAVE_DECL_STRTOLL 1 #endif /* Define to 1 if we found a declaration for 'strtoul', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_STRTOUL 0 +#define HAVE_DECL_STRTOUL 1 #endif /* Define to 1 if we found a declaration for 'strtoull', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_STRTOULL 0 +#define HAVE_DECL_STRTOULL 1 #endif @@ -1076,28 +1076,28 @@ /* Define to 1 if we found a declaration for 'times', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_TIMES 0 +#define HAVE_DECL_TIMES 1 #endif /* Define to 1 if we found a declaration for 'unsetenv', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_UNSETENV 0 +#define HAVE_DECL_UNSETENV 1 #endif /* Define to 1 if we found a declaration for 'vasprintf', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_VASPRINTF 0 +#define HAVE_DECL_VASPRINTF 1 #endif /* Define to 1 if we found a declaration for 'vsnprintf', otherwise define to 0. */ #ifndef USED_FOR_TARGET -#define HAVE_DECL_VSNPRINTF 0 +#define HAVE_DECL_VSNPRINTF 1 #endif @@ -1115,7 +1115,7 @@ /* Define to 1 if you have the <ext/hash_map> header file. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_EXT_HASH_MAP */ +#define HAVE_EXT_HASH_MAP 1 #endif @@ -1719,7 +1719,7 @@ /* Define if <sys/times.h> defines struct tms. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_STRUCT_TMS */ +#define HAVE_STRUCT_TMS 1 #endif @@ -1806,7 +1806,7 @@ /* Define to 1 if you have the <tr1/unordered_map> header file. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_TR1_UNORDERED_MAP */ +#define HAVE_TR1_UNORDERED_MAP 1 #endif @@ -1830,7 +1830,7 @@ /* Define to 1 if you have the <unordered_map> header file. */ #ifndef USED_FOR_TARGET -/* #undef HAVE_UNORDERED_MAP */ +#define HAVE_UNORDERED_MAP 1 #endif @@ -1904,7 +1904,7 @@ /* Define if F_SETLKW supported by fcntl. */ #ifndef USED_FOR_TARGET -/* #undef HOST_HAS_F_SETLKW */ +#define HOST_HAS_F_SETLKW 1 #endif @@ -1984,7 +1984,7 @@ /* Define if host mkdir takes a single argument. */ #ifndef USED_FOR_TARGET -#define MKDIR_TAKES_ONE_ARG 1 +/* #undef MKDIR_TAKES_ONE_ARG */ #endif @@ -2322,7 +2322,7 @@ /* Define to `long' if <sys/resource.h> doesn't define. */ #ifndef USED_FOR_TARGET -#define rlim_t long +/* #undef rlim_t */ #endif Index: src/external/gpl3/gcc/usr.bin/gcc/arch/i386/configargs.h diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/i386/configargs.h:1.32 src/external/gpl3/gcc/usr.bin/gcc/arch/i386/configargs.h:1.33 --- src/external/gpl3/gcc/usr.bin/gcc/arch/i386/configargs.h:1.32 Sun Feb 4 01:17:45 2018 +++ src/external/gpl3/gcc/usr.bin/gcc/arch/i386/configargs.h Sun Feb 4 09:22:03 2018 @@ -1,9 +1,9 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.90 2017/10/04 21:42:20 christos Exp */ +/* Generated from: NetBSD: mknative-gcc,v 1.91 2018/02/03 19:06:25 mrg Exp */ /* Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp */ /* Generated automatically. */ -static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=i486--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20171112' --with-system-zlib --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-threads --with-arch=i486 --with-tune=nocona --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/i386 --enable-tls --disable-symvers --disable-libstdcxx-pch --disable-libstdcxx-dual-abi --build=x86_64-unknown-netbsd7.1 --host=i486--netbsdelf --with-sysroot =/var/obj/mknative/i386/usr/src/destdir.i386"; +static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=i486--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb1 20171112' --with-system-zlib --disable-libstdcxx-dual-abi --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-arch=i486 --with-tune=nocona --with-diagnostics-color=auto-if-env --with-mpc-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/i386/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/i386 --enable-tls --disable-multilib --disable-symvers --disable-libstdcxx-pch --disable-libstdcxx-dual-abi --build=x86_64-unknown-n etbsd7.1 --host=i486--netbsdelf --with-sysroot=/var/obj/mknative/i386/usr/src/destdir.i386"; static const char thread_model[] = "posix"; static const struct {