From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.13.218.130 with SMTP id c124mr3925327ywe.144.1475770993959; Thu, 06 Oct 2016 09:23:13 -0700 (PDT) X-Received: by 10.157.10.196 with SMTP id 62mr1702566otq.2.1475770993866; Thu, 06 Oct 2016 09:23:13 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!feed.abavia.com!fbe001.abavia.com!peer03.fr7!futter-mich.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!g45no411602qte.1!news-out.google.com!w143ni1841itb.0!nntp.google.com!l13no614029itl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 6 Oct 2016 09:23:13 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3cda:7600:932b:b705:6315:5a80; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3cda:7600:932b:b705:6315:5a80 References: <4a4cee95-52e4-42c6-b4bb-a8146744bafd@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <32f4b307-3079-4c6f-a3bb-aaa272ac71aa@googlegroups.com> Subject: Re: to Simon Wright, re Mac OS X builds From: Lucretia Injection-Date: Thu, 06 Oct 2016 16:23:13 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Received-Body-CRC: 3722578681 X-Received-Bytes: 58694 Xref: news.eternal-september.org comp.lang.ada:32014 Date: 2016-10-06T09:23:13-07:00 List-Id: On Thursday, 6 October 2016 08:57:40 UTC+1, Simon Wright wrote: > I replied to this by mail, perhaps you didn't see it. Just seen it. =20 > I couldn't reproduce the problem; maybe I made some change which is > still there. I don't have any notes about it, but if I did have this > problem I would have started looking in config.log. >=20 > This message comes from gmp/configure:10323. Why it's looking for > /lib/cpp I don't know (/lib doesn't exist); it should be using "g++ -E". I'll post what you asked for in email, gmp/config.log.=20 FYI, for this test, I downloaded gcc-6.2.0, then just called ./contrib/down= load_prerequisites to get the maths libs down. I configured with: ../../source/gcc-6.2.0/configure --prefix=3D/opt/gcc-6.2.0 --without-libico= nv-prefix --disable-libmudflap --disable-libstdcxx-pch --disable-libsanitiz= er --disable-libcc1 --disable-libcilkrts --disable-multilib --disable-nls -= -enable-languages=3Dc,c++,ada,fortran,objc,obj-c++ --host=3Dx86_64-apple-da= rwin15 --build=3Dx86_64-apple-darwin15 --target=3Dx86_64-apple-darwin15 --w= ith-boot-ldflags=3D'-Wl,-headerpad_max_install_names -shared-libgcc' 2>&1|t= ee log.config.txt and then just "make" >>> gmp/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU MP configure 4.3.2, which was generated by GNU Autoconf 2.61. Invocation command line was $ /Users/laguest/gcc/source/gcc-6.2.0/gmp/configure --srcdir=3D../../../s= ource/gcc-6.2.0/gmp --cache-file=3D./config.cache --prefix=3D/opt/gcc-6.2.0= --without-libiconv-prefix --disable-libmudflap --disable-libstdcxx-pch --d= isable-libsanitizer --disable-libcc1 --disable-libcilkrts --disable-multili= b --disable-nls --with-boot-ldflags=3D-Wl,-headerpad_max_install_names -sha= red-libgcc --enable-languages=3Dc,ada,c++,fortran,objc,obj-c++ --program-tr= ansform-name=3Ds,y,y, --disable-option-checking --build=3Dx86_64-apple-darw= in15 --host=3Dnone-apple-darwin15 --target=3Dnone-apple-darwin15 --disable-= intermodule --enable-checking=3Dyes,types --disable-coverage --enable-langu= ages=3Dc,ada,c++ --disable-build-format-warnings --disable-shared LEX=3Dtou= ch lex.yy.c ## --------- ## ## Platform. ## ## --------- ## hostname =3D luke-guests-mac-mini.local uname -m =3D x86_64 uname -r =3D 15.6.0 uname -s =3D Darwin uname -v =3D Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; ro= ot:xnu-3248.60.10~1/RELEASE_X86_64 /usr/bin/uname -p =3D i386 /bin/uname -X =3D unknown /bin/arch =3D unknown /usr/bin/arch -k =3D unknown /usr/convex/getsysinfo =3D unknown /usr/bin/hostinfo =3D Mach kernel version: Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248= .60.10~1/RELEASE_X86_64 Kernel configured for up to 2 processors. 2 processors are physically available. 2 processors are logically available. Processor type: i486 (Intel 80486) Processors active: 0 1 Primary memory available: 4.00 gigabytes Default processor set: 133 tasks, 476 threads, 2 processors Load average: 1.80, Mach factor: 0.34 /bin/machine =3D unknown /usr/bin/oslevel =3D unknown /bin/universe =3D unknown PATH: /opt/gcc-6.1.0/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1949: loading cache ./config.cache configure:2123: checking build system type configure:2141: result: x86_64-apple-darwin15 configure:2163: checking host system type configure:2178: result: none-apple-darwin15 configure:2215: checking for a BSD-compatible install configure:2271: result: /usr/bin/install -c configure:2282: checking whether build environment is sane configure:2325: result: yes configure:2382: checking for gawk configure:2409: result: awk configure:2420: checking whether /Applications/Xcode.app/Contents/Developer= /usr/bin/make sets $(MAKE) configure:2441: result: yes configure:2520: checking for none-apple-darwin15-strip configure:2550: result: no configure:2560: checking for strip configure:2576: found /usr/bin/strip configure:2587: result: strip configure:2601: WARNING: In the future, Autoconf will not detect cross-tool= s whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org. configure:2623: checking whether to enable maintainer-specific portions of = Makefiles configure:2632: result: no User: ABI=3D CC=3Dx86_64-apple-darwin15-gcc CFLAGS=3D-g=20 CPPFLAGS=3D(unset) MPN_PATH=3D GMP: abilist=3Dlong longlong cclist=3Dgcc cc configure:4324: x86_64-apple-darwin15-gcc -c conftest.c >&5 configure:4327: $? =3D 0 configure:4330: checking whether x86_64-apple-darwin15-gcc is gcc configure:4332: result: yes configure:4346: x86_64-apple-darwin15-gcc 2>&1 | grep xlc >/dev/null configure:4349: $? =3D 1 configure:4403: checking compiler x86_64-apple-darwin15-gcc -g -DNO_ASM Test compile:=20 configure:4417: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4420: $? =3D 0 Test compile: function pointer return configure:4471: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4474: $? =3D 0 Test compile: cmov instruction configure:4527: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4530: $? =3D 0 Test compile: double -> ulong conversion configure:4584: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4587: $? =3D 0 Test compile: double negation configure:4639: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4642: $? =3D 0 Test compile: double -> float conversion configure:4695: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4698: $? =3D 0 Test compile: gnupro alpha ev6 char spilling configure:4780: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 conftest.c:6:38: fatal error: string.h: No such file or directory #include /* for memcpy */ ^ compilation terminated. configure:4783: $? =3D 1 failed program was: /* The following provokes an internal compiler error from gcc version "2.9-gnupro-99r1" under "-O2 -mcpu=3Dev6", apparently relating to char values being spilled into floating point registers. The problem doesn't show up all the time, but has occurred enough in GMP for us to reject this compiler+flags. */ #include /* for memcpy */ struct try_t { char dst[2]; char size; long d0, d1, d2, d3, d4, d5, d6; char overlap; }; struct try_t param[6]; int param_init () { struct try_t *p; memcpy (p, ¶m[ 2 ], sizeof (*p)); memcpy (p, ¶m[ 2 ], sizeof (*p)); p->size =3D 2; memcpy (p, ¶m[ 1 ], sizeof (*p)); p->dst[0] =3D 1; p->overlap =3D 2; memcpy (p, ¶m[ 3 ], sizeof (*p)); p->dst[0] =3D 1; p->overlap =3D 8; memcpy (p, ¶m[ 4 ], sizeof (*p)); memcpy (p, ¶m[ 4 ], sizeof (*p)); p->overlap =3D 8; memcpy (p, ¶m[ 5 ], sizeof (*p)); memcpy (p, ¶m[ 5 ], sizeof (*p)); memcpy (p, ¶m[ 5 ], sizeof (*p)); return 0; } int main () { return 0; } configure:5443: result: no, gnupro alpha ev6 char spilling configure:4324: x86_64-apple-darwin15-gcc -c conftest.c >&5 configure:4327: $? =3D 0 configure:4330: checking whether x86_64-apple-darwin15-gcc is gcc configure:4332: result: yes configure:4346: x86_64-apple-darwin15-gcc 2>&1 | grep xlc >/dev/null configure:4349: $? =3D 1 configure:4403: checking compiler x86_64-apple-darwin15-gcc -g -DNO_ASM Test compile:=20 configure:4417: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4420: $? =3D 0 Test compile: function pointer return configure:4471: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4474: $? =3D 0 Test compile: cmov instruction configure:4527: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4530: $? =3D 0 Test compile: double -> ulong conversion configure:4584: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4587: $? =3D 0 Test compile: double negation configure:4639: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4642: $? =3D 0 Test compile: double -> float conversion configure:4695: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 configure:4698: $? =3D 0 Test compile: gnupro alpha ev6 char spilling configure:4780: x86_64-apple-darwin15-gcc -g -DNO_ASM conftest.c >&5 conftest.c:6:38: fatal error: string.h: No such file or directory #include /* for memcpy */ ^ compilation terminated. configure:4783: $? =3D 1 failed program was: /* The following provokes an internal compiler error from gcc version "2.9-gnupro-99r1" under "-O2 -mcpu=3Dev6", apparently relating to char values being spilled into floating point registers. The problem doesn't show up all the time, but has occurred enough in GMP for us to reject this compiler+flags. */ #include /* for memcpy */ struct try_t { char dst[2]; char size; long d0, d1, d2, d3, d4, d5, d6; char overlap; }; struct try_t param[6]; int param_init () { struct try_t *p; memcpy (p, ¶m[ 2 ], sizeof (*p)); memcpy (p, ¶m[ 2 ], sizeof (*p)); p->size =3D 2; memcpy (p, ¶m[ 1 ], sizeof (*p)); p->dst[0] =3D 1; p->overlap =3D 2; memcpy (p, ¶m[ 3 ], sizeof (*p)); p->dst[0] =3D 1; p->overlap =3D 8; memcpy (p, ¶m[ 4 ], sizeof (*p)); memcpy (p, ¶m[ 4 ], sizeof (*p)); p->overlap =3D 8; memcpy (p, ¶m[ 5 ], sizeof (*p)); memcpy (p, ¶m[ 5 ], sizeof (*p)); memcpy (p, ¶m[ 5 ], sizeof (*p)); return 0; } int main () { return 0; } configure:5443: result: no, gnupro alpha ev6 char spilling configure:7063: checking for none-apple-darwin15-gcc configure:7090: result: x86_64-apple-darwin15-gcc configure:7368: checking for C compiler version configure:7375: x86_64-apple-darwin15-gcc --version >&5 x86_64-apple-darwin15-gcc (GCC) 6.1.0 Copyright (C) 2016 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:7378: $? =3D 0 configure:7385: x86_64-apple-darwin15-gcc -v >&5 Using built-in specs. COLLECT_GCC=3Dx86_64-apple-darwin15-gcc COLLECT_LTO_WRAPPER=3D/opt/gcc-6.1.0/libexec/gcc/x86_64-apple-darwin15/6.1.= 0/lto-wrapper Target: x86_64-apple-darwin15 Configured with: ../gcc-6.1.0/configure --prefix=3D/opt/gcc-6.1.0 --without= -libiconv-prefix --disable-libmudflap --disable-libstdcxx-pch --disable-lib= sanitizer --disable-libcc1 --disable-libcilkrts --disable-multilib --disabl= e-nls --enable-languages=3Dc,c++,ada,fortran,objc,obj-c++ --host=3Dx86_64-a= pple-darwin15 --target=3Dx86_64-apple-darwin15 --build=3Dx86_64-apple-darwi= n15 --with-boot-ldflags=3D'-Wl,-headerpad_max_install_names -shared-libgcc' Thread model: posix gcc version 6.1.0 (GCC)=20 configure:7388: $? =3D 0 configure:7395: x86_64-apple-darwin15-gcc -V >&5 x86_64-apple-darwin15-gcc: error: unrecognized command line option '-V' x86_64-apple-darwin15-gcc: fatal error: no input files compilation terminated. configure:7398: $? =3D 1 configure:7421: checking for C compiler default output file name configure:7448: x86_64-apple-darwin15-gcc -g -static-libstdc++ -static-li= bgcc -Wl,-no_pie conftest.c >&5 configure:7451: $? =3D 0 configure:7489: result: a.out configure:7506: checking whether the C compiler works configure:7536: result: yes configure:7543: checking whether we are cross compiling configure:7545: result: yes configure:7548: checking for suffix of executables configure:7555: x86_64-apple-darwin15-gcc -o conftest -g -static-libstdc+= + -static-libgcc -Wl,-no_pie conftest.c >&5 configure:7558: $? =3D 0 configure:7582: result:=20 configure:7588: checking for suffix of object files configure:7614: x86_64-apple-darwin15-gcc -c -g conftest.c >&5 configure:7617: $? =3D 0 configure:7640: result: o configure:7644: checking whether we are using the GNU C compiler configure:7673: x86_64-apple-darwin15-gcc -c -g conftest.c >&5 configure:7679: $? =3D 0 configure:7696: result: yes configure:7701: checking whether x86_64-apple-darwin15-gcc accepts -g configure:7731: x86_64-apple-darwin15-gcc -c -g conftest.c >&5 configure:7737: $? =3D 0 configure:7836: result: yes configure:7853: checking for x86_64-apple-darwin15-gcc option to accept ISO= C89 configure:7927: x86_64-apple-darwin15-gcc -c -g conftest.c >&5 conftest.c:13:19: fatal error: stdio.h: No such file or directory #include ^ compilation terminated. configure:7933: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s =3D g (p, va_arg (v,int)); | va_end (v); | return s; | } |=20 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treat= ed | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for = an | array size at least. It's necessary to write '\x00'=3D=3D0 to get som= ething | that's true only with -std. */ | int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; |=20 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param= eters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1]; |=20 | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),= int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; | ; | return 0; | } configure:7927: x86_64-apple-darwin15-gcc -qlanglvl=3Dextc89 -c -g confte= st.c >&5 x86_64-apple-darwin15-gcc: error: unrecognized command line option '-qlangl= vl=3Dextc89' configure:7933: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s =3D g (p, va_arg (v,int)); | va_end (v); | return s; | } |=20 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treat= ed | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for = an | array size at least. It's necessary to write '\x00'=3D=3D0 to get som= ething | that's true only with -std. */ | int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; |=20 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param= eters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1]; |=20 | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),= int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; | ; | return 0; | } configure:7927: x86_64-apple-darwin15-gcc -qlanglvl=3Dansi -c -g conftest= .c >&5 x86_64-apple-darwin15-gcc: error: unrecognized command line option '-qlangl= vl=3Dansi' configure:7933: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s =3D g (p, va_arg (v,int)); | va_end (v); | return s; | } |=20 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treat= ed | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for = an | array size at least. It's necessary to write '\x00'=3D=3D0 to get som= ething | that's true only with -std. */ | int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; |=20 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param= eters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1]; |=20 | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),= int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; | ; | return 0; | } configure:7927: x86_64-apple-darwin15-gcc -std -c -g conftest.c >&5 x86_64-apple-darwin15-gcc: error: unrecognized command line option '-std' configure:7933: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s =3D g (p, va_arg (v,int)); | va_end (v); | return s; | } |=20 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treat= ed | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for = an | array size at least. It's necessary to write '\x00'=3D=3D0 to get som= ething | that's true only with -std. */ | int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; |=20 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param= eters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1]; |=20 | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),= int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; | ; | return 0; | } configure:7927: x86_64-apple-darwin15-gcc -Ae -c -g conftest.c >&5 :0:1: error: missing '(' after predicate conftest.c:13:19: fatal error: stdio.h: No such file or directory #include ^ compilation terminated. configure:7933: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s =3D g (p, va_arg (v,int)); | va_end (v); | return s; | } |=20 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treat= ed | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for = an | array size at least. It's necessary to write '\x00'=3D=3D0 to get som= ething | that's true only with -std. */ | int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; |=20 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param= eters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1]; |=20 | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),= int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; | ; | return 0; | } configure:7927: x86_64-apple-darwin15-gcc -Aa -D_HPUX_SOURCE -c -g confte= st.c >&5 :0:1: error: missing '(' after predicate conftest.c:13:19: fatal error: stdio.h: No such file or directory #include ^ compilation terminated. configure:7933: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s =3D g (p, va_arg (v,int)); | va_end (v); | return s; | } |=20 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treat= ed | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for = an | array size at least. It's necessary to write '\x00'=3D=3D0 to get som= ething | that's true only with -std. */ | int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; |=20 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param= eters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1]; |=20 | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),= int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; | ; | return 0; | } configure:7927: x86_64-apple-darwin15-gcc -Xc -D__EXTENSIONS__ -c -g conf= test.c >&5 x86_64-apple-darwin15-gcc: error: unrecognized command line option '-Xc'; d= id you mean '-X'? configure:7933: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s =3D g (p, va_arg (v,int)); | va_end (v); | return s; | } |=20 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treat= ed | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!=3D'x' always comes out true, for = an | array size at least. It's necessary to write '\x00'=3D=3D0 to get som= ething | that's true only with -std. */ | int osf4_cc_array ['\x00' =3D=3D 0 ? 1 : -1]; |=20 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro param= eters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) =3D=3D 'x' ? 1 : -1]; |=20 | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int),= int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) !=3D argv[0] || f (e, argv, 1) !=3D argv[1]; | ; | return 0; | } configure:7959: result: unsupported configure:7976: checking for x86_64-apple-darwin15-gcc option to accept ISO= C99 configure:8135: x86_64-apple-darwin15-gcc -c -g conftest.c >&5 conftest.c:14:20: fatal error: stdlib.h: No such file or directory #include ^ compilation terminated. configure:8141: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include |=20 | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x =3D 1234; | int y =3D 5678; | debug ("Flag"); | debug ("X =3D %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } |=20 | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 =3D=3D 4294967297ull && BIG64 % BIG32 =3D= =3D 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum =3D -9223372036854775807LL; | static unsigned long long int ubignum =3D BIG64; |=20 | struct incomplete_array | { | int datasize; | double data[]; | }; |=20 | struct named_init { | int number; | const wchar_t *name; | double average; | }; |=20 | typedef const char *ccp; |=20 | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i =3D 0; *(text+i) !=3D '\0'; ++i) | continue; | return 0; | } |=20 | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); |=20 | const char *str; | int number; | float fnumber; |=20 | while (*format) | { | switch (*format++) | { | case 's': // string | str =3D va_arg (args_copy, const char *); | break; | case 'd': // int | number =3D va_arg (args_copy, int); | break; | case 'f': // float | fnumber =3D va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } |=20 | int | main () | { |=20 | // Check bool. | _Bool success =3D false; |=20 | // Check restrict. | if (test_restrict ("String literal") =3D=3D 0) | success =3D true; | char *restrict newvar =3D "Another string"; |=20 | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); |=20 | // Check flexible array members. | struct incomplete_array *ia =3D | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize =3D 10; | for (int i =3D 0; i < ia->datasize; ++i) | ia->data[i] =3D i * 1.234; |=20 | // Check named initializers. | struct named_init ni =3D { | .number =3D 34, | .name =3D L"Test wide string", | .average =3D 543.34343, | }; |=20 | ni.number =3D 58; |=20 | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] =3D 543; |=20 | // work around unused variable warnings | return (!success || bignum =3D=3D 0LL || ubignum =3D=3D 0uLL || newvar[= 0] =3D=3D 'x' | || dynamic_array[ni.number - 1] !=3D 543); |=20 | ; | return 0; | } configure:8135: x86_64-apple-darwin15-gcc -std=3Dgnu99 -c -g conftest.c >= &5 conftest.c:14:20: fatal error: stdlib.h: No such file or directory #include ^ compilation terminated. configure:8141: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include |=20 | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x =3D 1234; | int y =3D 5678; | debug ("Flag"); | debug ("X =3D %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } |=20 | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 =3D=3D 4294967297ull && BIG64 % BIG32 =3D= =3D 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum =3D -9223372036854775807LL; | static unsigned long long int ubignum =3D BIG64; |=20 | struct incomplete_array | { | int datasize; | double data[]; | }; |=20 | struct named_init { | int number; | const wchar_t *name; | double average; | }; |=20 | typedef const char *ccp; |=20 | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i =3D 0; *(text+i) !=3D '\0'; ++i) | continue; | return 0; | } |=20 | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); |=20 | const char *str; | int number; | float fnumber; |=20 | while (*format) | { | switch (*format++) | { | case 's': // string | str =3D va_arg (args_copy, const char *); | break; | case 'd': // int | number =3D va_arg (args_copy, int); | break; | case 'f': // float | fnumber =3D va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } |=20 | int | main () | { |=20 | // Check bool. | _Bool success =3D false; |=20 | // Check restrict. | if (test_restrict ("String literal") =3D=3D 0) | success =3D true; | char *restrict newvar =3D "Another string"; |=20 | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); |=20 | // Check flexible array members. | struct incomplete_array *ia =3D | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize =3D 10; | for (int i =3D 0; i < ia->datasize; ++i) | ia->data[i] =3D i * 1.234; |=20 | // Check named initializers. | struct named_init ni =3D { | .number =3D 34, | .name =3D L"Test wide string", | .average =3D 543.34343, | }; |=20 | ni.number =3D 58; |=20 | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] =3D 543; |=20 | // work around unused variable warnings | return (!success || bignum =3D=3D 0LL || ubignum =3D=3D 0uLL || newvar[= 0] =3D=3D 'x' | || dynamic_array[ni.number - 1] !=3D 543); |=20 | ; | return 0; | } configure:8135: x86_64-apple-darwin15-gcc -c99 -c -g conftest.c >&5 x86_64-apple-darwin15-gcc: error: unrecognized command line option '-c99' configure:8141: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include |=20 | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x =3D 1234; | int y =3D 5678; | debug ("Flag"); | debug ("X =3D %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } |=20 | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 =3D=3D 4294967297ull && BIG64 % BIG32 =3D= =3D 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum =3D -9223372036854775807LL; | static unsigned long long int ubignum =3D BIG64; |=20 | struct incomplete_array | { | int datasize; | double data[]; | }; |=20 | struct named_init { | int number; | const wchar_t *name; | double average; | }; |=20 | typedef const char *ccp; |=20 | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i =3D 0; *(text+i) !=3D '\0'; ++i) | continue; | return 0; | } |=20 | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); |=20 | const char *str; | int number; | float fnumber; |=20 | while (*format) | { | switch (*format++) | { | case 's': // string | str =3D va_arg (args_copy, const char *); | break; | case 'd': // int | number =3D va_arg (args_copy, int); | break; | case 'f': // float | fnumber =3D va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } |=20 | int | main () | { |=20 | // Check bool. | _Bool success =3D false; |=20 | // Check restrict. | if (test_restrict ("String literal") =3D=3D 0) | success =3D true; | char *restrict newvar =3D "Another string"; |=20 | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); |=20 | // Check flexible array members. | struct incomplete_array *ia =3D | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize =3D 10; | for (int i =3D 0; i < ia->datasize; ++i) | ia->data[i] =3D i * 1.234; |=20 | // Check named initializers. | struct named_init ni =3D { | .number =3D 34, | .name =3D L"Test wide string", | .average =3D 543.34343, | }; |=20 | ni.number =3D 58; |=20 | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] =3D 543; |=20 | // work around unused variable warnings | return (!success || bignum =3D=3D 0LL || ubignum =3D=3D 0uLL || newvar[= 0] =3D=3D 'x' | || dynamic_array[ni.number - 1] !=3D 543); |=20 | ; | return 0; | } configure:8135: x86_64-apple-darwin15-gcc -qlanglvl=3Dextc99 -c -g confte= st.c >&5 x86_64-apple-darwin15-gcc: error: unrecognized command line option '-qlangl= vl=3Dextc99' configure:8141: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include |=20 | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x =3D 1234; | int y =3D 5678; | debug ("Flag"); | debug ("X =3D %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } |=20 | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 =3D=3D 4294967297ull && BIG64 % BIG32 =3D= =3D 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum =3D -9223372036854775807LL; | static unsigned long long int ubignum =3D BIG64; |=20 | struct incomplete_array | { | int datasize; | double data[]; | }; |=20 | struct named_init { | int number; | const wchar_t *name; | double average; | }; |=20 | typedef const char *ccp; |=20 | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i =3D 0; *(text+i) !=3D '\0'; ++i) | continue; | return 0; | } |=20 | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); |=20 | const char *str; | int number; | float fnumber; |=20 | while (*format) | { | switch (*format++) | { | case 's': // string | str =3D va_arg (args_copy, const char *); | break; | case 'd': // int | number =3D va_arg (args_copy, int); | break; | case 'f': // float | fnumber =3D va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } |=20 | int | main () | { |=20 | // Check bool. | _Bool success =3D false; |=20 | // Check restrict. | if (test_restrict ("String literal") =3D=3D 0) | success =3D true; | char *restrict newvar =3D "Another string"; |=20 | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); |=20 | // Check flexible array members. | struct incomplete_array *ia =3D | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize =3D 10; | for (int i =3D 0; i < ia->datasize; ++i) | ia->data[i] =3D i * 1.234; |=20 | // Check named initializers. | struct named_init ni =3D { | .number =3D 34, | .name =3D L"Test wide string", | .average =3D 543.34343, | }; |=20 | ni.number =3D 58; |=20 | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] =3D 543; |=20 | // work around unused variable warnings | return (!success || bignum =3D=3D 0LL || ubignum =3D=3D 0uLL || newvar[= 0] =3D=3D 'x' | || dynamic_array[ni.number - 1] !=3D 543); |=20 | ; | return 0; | } configure:8167: result: unsupported configure:8177: checking for x86_64-apple-darwin15-gcc option to accept ISO= C89 configure:8283: result: unsupported configure:8301: checking for x86_64-apple-darwin15-gcc option to accept ISO= Standard C configure:8308: result: unsupported configure:8322: checking how to run the C preprocessor configure:8362: x86_64-apple-darwin15-gcc -E conftest.c In file included from /opt/gcc-6.1.0/lib/gcc/x86_64-apple-darwin15/6.1.0/in= clude-fixed/syslimits.h:7:0, from /opt/gcc-6.1.0/lib/gcc/x86_64-apple-darwin15/6.1.0/in= clude-fixed/limits.h:34, from conftest.c:13: /opt/gcc-6.1.0/lib/gcc/x86_64-apple-darwin15/6.1.0/include-fixed/limits.h:1= 68:61: fatal error: limits.h: No such file or directory #include_next /* recurse down to the real one */ ^ compilation terminated. configure:8368: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure:8362: x86_64-apple-darwin15-gcc -E conftest.c In file included from /opt/gcc-6.1.0/lib/gcc/x86_64-apple-darwin15/6.1.0/in= clude-fixed/syslimits.h:7:0, from /opt/gcc-6.1.0/lib/gcc/x86_64-apple-darwin15/6.1.0/in= clude-fixed/limits.h:34, from conftest.c:13: /opt/gcc-6.1.0/lib/gcc/x86_64-apple-darwin15/6.1.0/include-fixed/limits.h:1= 68:61: fatal error: limits.h: No such file or directory #include_next /* recurse down to the real one */ ^ compilation terminated. configure:8368: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure:8362: x86_64-apple-darwin15-gcc -E -traditional-cpp conftest.c conftest.c:15:0: fatal error: assert.h: No such file or directory # include =20 compilation terminated. configure:8368: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure:8362: x86_64-apple-darwin15-gcc -E -traditional-cpp conftest.c conftest.c:15:0: fatal error: assert.h: No such file or directory # include =20 compilation terminated. configure:8368: $? =3D 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure:8362: /lib/cpp conftest.c /Users/laguest/gcc/source/gcc-6.2.0/gmp/configure: line 8363: /lib/cpp: No = such file or directory configure:8368: $? =3D 127 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure:8362: /lib/cpp conftest.c /Users/laguest/gcc/source/gcc-6.2.0/gmp/configure: line 8363: /lib/cpp: No = such file or directory configure:8368: $? =3D 127 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure:8438: result: /lib/cpp configure:8467: /lib/cpp conftest.c /Users/laguest/gcc/source/gcc-6.2.0/gmp/configure: line 8468: /lib/cpp: No = such file or directory configure:8473: $? =3D 127 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure:8467: /lib/cpp conftest.c /Users/laguest/gcc/source/gcc-6.2.0/gmp/configure: line 8468: /lib/cpp: No = such file or directory configure:8473: $? =3D 127 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "GNU MP" | #define PACKAGE_TARNAME "gmp" | #define PACKAGE_VERSION "4.3.2" | #define PACKAGE_STRING "GNU MP 4.3.2" | #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" | #define PACKAGE "gmp" | #define VERSION "4.3.2" | #define WANT_FFT 1 | #define HAVE_HOST_CPU_none 1 | /* end confdefs.h. */ | #ifdef __STDC__ | # include | #else | # include | #endif | Syntax error configure:8535: error: C preprocessor "/lib/cpp" fails sanity check See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=3Dx86_64-apple-darwin15 ac_cv_c_compiler_gnu=3Dyes ac_cv_env_ABI_set=3D ac_cv_env_ABI_value=3D ac_cv_env_CCC_set=3D ac_cv_env_CCC_value=3D ac_cv_env_CC_FOR_BUILD_set=3Dset ac_cv_env_CC_FOR_BUILD_value=3Dx86_64-apple-darwin15-gcc ac_cv_env_CC_set=3Dset ac_cv_env_CC_value=3Dx86_64-apple-darwin15-gcc ac_cv_env_CFLAGS_set=3Dset ac_cv_env_CFLAGS_value=3D'-g ' ac_cv_env_CPPFLAGS_set=3D ac_cv_env_CPPFLAGS_value=3D ac_cv_env_CPP_FOR_BUILD_set=3D ac_cv_env_CPP_FOR_BUILD_value=3D ac_cv_env_CPP_set=3D ac_cv_env_CPP_value=3D ac_cv_env_CXXCPP_set=3D ac_cv_env_CXXCPP_value=3D ac_cv_env_CXXFLAGS_set=3Dset ac_cv_env_CXXFLAGS_value=3D'-g ' ac_cv_env_CXX_set=3Dset ac_cv_env_CXX_value=3D'x86_64-apple-darwin15-g++ -std=3Dgnu++98' ac_cv_env_LDFLAGS_set=3Dset ac_cv_env_LDFLAGS_value=3D'-static-libstdc++ -static-libgcc -Wl,-no_pie ' ac_cv_env_LIBS_set=3D ac_cv_env_LIBS_value=3D ac_cv_env_M4_set=3Dset ac_cv_env_M4_value=3Dgm4 ac_cv_env_YACC_set=3Dset ac_cv_env_YACC_value=3D'bison -y' ac_cv_env_YFLAGS_set=3D ac_cv_env_YFLAGS_value=3D ac_cv_env_build_alias_set=3Dset ac_cv_env_build_alias_value=3Dx86_64-apple-darwin15 ac_cv_env_host_alias_set=3Dset ac_cv_env_host_alias_value=3Dnone-apple-darwin15 ac_cv_env_target_alias_set=3Dset ac_cv_env_target_alias_value=3Dnone-apple-darwin15 ac_cv_host=3Dnone-apple-darwin15 ac_cv_objext=3Do ac_cv_prog_AWK=3Dawk ac_cv_prog_CC=3Dx86_64-apple-darwin15-gcc ac_cv_prog_CPP=3D/lib/cpp ac_cv_prog_ac_ct_STRIP=3Dstrip ac_cv_prog_cc_c89=3Dno ac_cv_prog_cc_c99=3Dno ac_cv_prog_cc_g=3Dyes ac_cv_prog_cc_stdc=3Dno ac_cv_prog_make__Applications_Xcode_app_Contents_Developer_usr_bin_make_set= =3Dyes ## ----------------- ## ## Output variables. ## ## ----------------- ## ABI=3D'' ACLOCAL=3D'${SHELL} /Users/laguest/gcc/source/gcc-6.2.0/gmp/missing --run a= clocal-1.8' AMTAR=3D'${SHELL} /Users/laguest/gcc/source/gcc-6.2.0/gmp/missing --run tar= ' ANSI2KNR=3D'' AR=3D'ar' AS=3D'as' ASMFLAGS=3D'' AUTOCONF=3D'${SHELL} /Users/laguest/gcc/source/gcc-6.2.0/gmp/missing --run = autoconf' AUTOHEADER=3D'${SHELL} /Users/laguest/gcc/source/gcc-6.2.0/gmp/missing --ru= n autoheader' AUTOMAKE=3D'${SHELL} /Users/laguest/gcc/source/gcc-6.2.0/gmp/missing --run = automake-1.8' AWK=3D'awk' BITS_PER_MP_LIMB=3D'' CALLING_CONVENTIONS_OBJS=3D'' CC=3D'x86_64-apple-darwin15-gcc' CCAS=3D'' CC_FOR_BUILD=3D'x86_64-apple-darwin15-gcc' CFLAGS=3D'-g ' CPP=3D'/lib/cpp' CPPFLAGS=3D'' CPP_FOR_BUILD=3D'' CXX=3D'x86_64-apple-darwin15-g++ -std=3Dgnu++98' CXXCPP=3D'' CXXFLAGS=3D'-g ' CYGPATH_W=3D'echo' DEFN_LONG_LONG_LIMB=3D'/* #undef _LONG_LONG_LIMB */' DEFS=3D'' DLLTOOL=3D'dlltool' ECHO=3D'/bin/echo' ECHO_C=3D'ECHO_N=3D'' ECHO_T=3D'' EGREP=3D'' ENABLE_STATIC_FALSE=3D'' ENABLE_STATIC_TRUE=3D'' EXEEXT=3D'' EXEEXT_FOR_BUILD=3D'' GMP_LDFLAGS=3D'' GMP_NAIL_BITS=3D'0' GREP=3D'' HAVE_CLOCK_01=3D'' HAVE_CPUTIME_01=3D'' HAVE_GETRUSAGE_01=3D'' HAVE_GETTIMEOFDAY_01=3D'' HAVE_HOST_CPU_FAMILY_power=3D'0' HAVE_HOST_CPU_FAMILY_powerpc=3D'0' HAVE_SIGACTION_01=3D'' HAVE_SIGALTSTACK_01=3D'' HAVE_SIGSTACK_01=3D'' HAVE_STACK_T_01=3D'' HAVE_SYS_RESOURCE_H_01=3D'' INSTALL_DATA=3D'/usr/bin/install -c -m 644' INSTALL_PROGRAM=3D'/usr/bin/install -c' INSTALL_SCRIPT=3D'/usr/bin/install -c' INSTALL_STRIP_PROGRAM=3D'${SHELL} $(install_sh) -c -s' LDFLAGS=3D'-static-libstdc++ -static-libgcc -Wl,-no_pie ' LEX=3D'touch lex.yy.c' LEXLIB=3D'' LEX_OUTPUT_ROOT=3D'' LIBCURSES=3D'' LIBGMPXX_LDFLAGS=3D'' LIBGMP_DLL=3D'' LIBGMP_LDFLAGS=3D'' LIBM=3D'' LIBM_FOR_BUILD=3D'' LIBOBJS=3D'' LIBREADLINE=3D'' LIBS=3D'' LIBTOOL=3D'' LN_S=3D'' LTLIBOBJS=3D'' M4=3D'gm4' MAINT=3D'#' MAINTAINER_MODE_FALSE=3D'' MAINTAINER_MODE_TRUE=3D'#' MAKEINFO=3D'makeinfo --split-size=3D5000000 --split-size=3D5000000' OBJDUMP=3D'objdump' OBJEXT=3D'o' PACKAGE=3D'gmp' PACKAGE_BUGREPORT=3D'gmp-bugs@gmplib.org' PACKAGE_NAME=3D'GNU MP' PACKAGE_STRING=3D'GNU MP 4.3.2' PACKAGE_TARNAME=3D'gmp' PACKAGE_VERSION=3D'4.3.2' PATH_SEPARATOR=3D':' RANLIB=3D'ranlib' SED=3D'/usr/bin/sed' SET_MAKE=3D'' SHELL=3D'/bin/sh' SPEED_CYCLECOUNTER_OBJ=3D'' STRIP=3D'strip' TAL_OBJECT=3D'' TUNE_SQR_OBJ=3D'' U=3D'' U_FOR_BUILD=3D'' VERSION=3D'4.3.2' WANT_CXX_FALSE=3D'' WANT_CXX_TRUE=3D'' WANT_MPBSD_FALSE=3D'' WANT_MPBSD_TRUE=3D'#' WITH_READLINE_01=3D'' YACC=3D'bison -y' YFLAGS=3D'' ac_ct_CC=3D'' ac_ct_CXX=3D'' am__leading_dot=3D'.' bindir=3D'${exec_prefix}/bin' build=3D'x86_64-apple-darwin15' build_alias=3D'x86_64-apple-darwin15' build_cpu=3D'x86_64' build_os=3D'darwin15' build_vendor=3D'apple' datadir=3D'${datarootdir}' datarootdir=3D'${prefix}/share' docdir=3D'${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir=3D'${docdir}' exec_prefix=3D'NONE' gmp_srclinks=3D'' host=3D'none-apple-darwin15' host_alias=3D'none-apple-darwin15' host_cpu=3D'none' host_os=3D'darwin15' host_vendor=3D'apple' htmldir=3D'${docdir}' includedir=3D'${prefix}/include' infodir=3D'${datarootdir}/info' install_sh=3D'/Users/laguest/gcc/source/gcc-6.2.0/gmp/install-sh' libdir=3D'${exec_prefix}/lib' libexecdir=3D'${exec_prefix}/libexec' localedir=3D'${datarootdir}/locale' localstatedir=3D'${prefix}/var' mandir=3D'${datarootdir}/man' mkdir_p=3D'$(install_sh) -d' mpn_objects=3D'' mpn_objs_in_libgmp=3D'' mpn_objs_in_libmp=3D'' oldincludedir=3D'/usr/include' pdfdir=3D'${docdir}' prefix=3D'/opt/gcc-6.2.0' program_transform_name=3D's,y,y,' psdir=3D'${docdir}' sbindir=3D'${exec_prefix}/sbin' sharedstatedir=3D'${prefix}/com' sysconfdir=3D'${prefix}/etc' target_alias=3D'none-apple-darwin15' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "GNU MP" #define PACKAGE_TARNAME "gmp" #define PACKAGE_VERSION "4.3.2" #define PACKAGE_STRING "GNU MP 4.3.2" #define PACKAGE_BUGREPORT "gmp-bugs@gmplib.org" #define PACKAGE "gmp" #define VERSION "4.3.2" #define WANT_FFT 1 #define HAVE_HOST_CPU_none 1 configure: exit 1