Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 655452 Details for
Bug 737974
dev-python/graph-tool-2.29 fails to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
1-config.log
1-config.log (text/plain), 93.32 KB, created by
Agostino Sarubbo
on 2020-08-19 04:54:11 UTC
(
hide
)
Description:
1-config.log
Filename:
MIME Type:
Creator:
Agostino Sarubbo
Created:
2020-08-19 04:54:11 UTC
Size:
93.32 KB
patch
obsolete
>This file contains any messages produced by compilers while >running configure, to aid debugging if configure makes a mistake. > >It was created by graph-tool configure 2.29, which was >generated by GNU Autoconf 2.69. Invocation command line was > > $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/graph-tool-2.29 --htmldir=/usr/share/doc/graph-tool-2.29/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static --enable-openmp --enable-cairo --with-boost-python=boost_python37 > >## --------- ## >## Platform. ## >## --------- ## > >hostname = localhost >uname -m = x86_64 >uname -r = 5.4.0-1021-aws >uname -s = Linux >uname -v = #21-Ubuntu SMP Fri Jul 24 09:42:29 UTC 2020 > >/usr/bin/uname -p = Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz >/bin/uname -X = unknown > >/bin/arch = unknown >/usr/bin/arch -k = unknown >/usr/convex/getsysinfo = unknown >/usr/bin/hostinfo = unknown >/bin/machine = unknown >/usr/bin/oslevel = unknown >/bin/universe = unknown > >PATH: /var/tmp/portage/dev-python/graph-tool-2.29/temp/python3.7/bin >PATH: /usr/lib/portage/python3.7/ebuild-helpers/xattr >PATH: /usr/lib/portage/python3.7/ebuild-helpers >PATH: /usr/local/sbin >PATH: /usr/local/bin >PATH: /usr/sbin >PATH: /usr/bin >PATH: /sbin >PATH: /bin >PATH: /opt/bin >PATH: /usr/lib/llvm/10/bin > > >## ----------- ## >## Core tests. ## >## ----------- ## > >configure:2714: checking build system type >configure:2728: result: x86_64-pc-linux-gnu >configure:2748: checking host system type >configure:2761: result: x86_64-pc-linux-gnu >configure:2781: checking target system type >configure:2794: result: x86_64-pc-linux-gnu >configure:2836: checking for a BSD-compatible install >configure:2904: result: /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c >configure:2915: checking whether build environment is sane >configure:2970: result: yes >configure:3119: checking for a thread-safe mkdir -p >configure:3158: result: /bin/mkdir -p >configure:3165: checking for gawk >configure:3181: found /usr/bin/gawk >configure:3192: result: gawk >configure:3203: checking whether make sets $(MAKE) >configure:3225: result: yes >configure:3254: checking whether make supports nested variables >configure:3271: result: yes >configure:3350: checking how to create a pax tar archive >configure:3361: tar --version >tar (GNU tar) 1.32 >Copyright (C) 2019 Free Software Foundation, Inc. >License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. >This is free software: you are free to change and redistribute it. >There is NO WARRANTY, to the extent permitted by law. > >Written by John Gilmore and Jay Fenlason. >configure:3364: $? = 0 >configure:3404: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar >configure:3407: $? = 0 >configure:3411: tar -xf - <conftest.tar >configure:3414: $? = 0 >configure:3416: cat conftest.dir/file >GrepMe >configure:3419: $? = 0 >configure:3432: result: gnutar >configure:3493: checking whether make supports nested variables >configure:3510: result: yes >configure:3525: checking whether make supports the include directive >configure:3540: make -f confmf.GNU && cat confinc.out >this is the am__doit target >configure:3543: $? = 0 >configure:3562: result: yes (GNU style) >configure:3592: checking for x86_64-pc-linux-gnu-gcc >configure:3619: result: x86_64-pc-linux-gnu-clang >configure:3888: checking for C compiler version >configure:3897: x86_64-pc-linux-gnu-clang --version >&5 >clang version 10.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/10/bin >configure:3908: $? = 0 >configure:3897: x86_64-pc-linux-gnu-clang -v >&5 >clang version 10.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/10/bin >Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0 >Candidate multilib: .;@m64 >Candidate multilib: 32;@m32 >Selected multilib: .;@m64 >configure:3908: $? = 0 >configure:3897: x86_64-pc-linux-gnu-clang -V >&5 >clang-10: error: argument to '-V' is missing (expected 1 value) >clang-10: error: no input files >configure:3908: $? = 1 >configure:3897: x86_64-pc-linux-gnu-clang -qversion >&5 >clang-10: error: unknown argument '-qversion'; did you mean '--version'? >clang-10: error: no input files >configure:3908: $? = 1 >configure:3928: checking whether the C compiler works >configure:3950: x86_64-pc-linux-gnu-clang -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld conftest.c >&5 >configure:3954: $? = 0 >configure:4002: result: yes >configure:4005: checking for C compiler default output file name >configure:4007: result: a.out >configure:4013: checking for suffix of executables >configure:4020: x86_64-pc-linux-gnu-clang -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld conftest.c >&5 >configure:4024: $? = 0 >configure:4046: result: >configure:4068: checking whether we are cross compiling >configure:4076: x86_64-pc-linux-gnu-clang -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld conftest.c >&5 >configure:4080: $? = 0 >configure:4087: ./conftest >configure:4091: $? = 0 >configure:4079: result: no >configure:4084: checking for suffix of object files >configure:4106: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4110: $? = 0 >configure:4131: result: o >configure:4135: checking whether we are using the GNU C compiler >configure:4154: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4154: $? = 0 >configure:4163: result: yes >configure:4172: checking whether x86_64-pc-linux-gnu-clang accepts -g >configure:4192: x86_64-pc-linux-gnu-clang -c -g conftest.c >&5 >configure:4192: $? = 0 >configure:4233: result: yes >configure:4250: checking for x86_64-pc-linux-gnu-clang option to accept ISO C89 >configure:4313: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4313: $? = 0 >configure:4326: result: none needed >configure:4351: checking whether x86_64-pc-linux-gnu-clang understands -c and -o together >configure:4373: x86_64-pc-linux-gnu-clang -c conftest.c -o conftest2.o >configure:4376: $? = 0 >configure:4373: x86_64-pc-linux-gnu-clang -c conftest.c -o conftest2.o >configure:4376: $? = 0 >configure:4388: result: yes >configure:4407: checking dependency style of x86_64-pc-linux-gnu-clang >configure:4518: result: none >configure:4538: checking for library containing strerror >configure:4569: x86_64-pc-linux-gnu-clang -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld conftest.c >&5 >conftest.c:18:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] >char strerror (); > ^ >conftest.c:18:6: note: 'strerror' is a builtin with type 'char *(int)' >1 warning generated. >configure:4569: $? = 0 >configure:4586: result: none required >configure:4601: checking how to run the C preprocessor >configure:4671: result: x86_64-pc-linux-gnu-clang -E >configure:4691: x86_64-pc-linux-gnu-clang -E conftest.c >configure:4691: $? = 0 >configure:4705: x86_64-pc-linux-gnu-clang -E conftest.c >conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found >#include <ac_nonexistent.h> > ^~~~~~~~~~~~~~~~~~ >1 error generated. >configure:4705: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| /* end confdefs.h. */ >| #include <ac_nonexistent.h> >configure:4734: checking for grep that handles long lines and -e >configure:4792: result: /bin/grep >configure:4797: checking for egrep >configure:4859: result: /bin/grep -E >configure:4864: checking for ANSI C header files >configure:4884: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4884: $? = 0 >configure:4957: x86_64-pc-linux-gnu-clang -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld conftest.c >&5 >configure:4957: $? = 0 >configure:4957: ./conftest >configure:4957: $? = 0 >configure:4968: result: yes >configure:4981: checking for sys/types.h >configure:4981: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4981: $? = 0 >configure:4981: result: yes >configure:4981: checking for sys/stat.h >configure:4981: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4981: $? = 0 >configure:4981: result: yes >configure:4981: checking for stdlib.h >configure:4981: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4981: $? = 0 >configure:4981: result: yes >configure:4981: checking for string.h >configure:4981: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4981: $? = 0 >configure:4981: result: yes >configure:4981: checking for memory.h >configure:4981: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4981: $? = 0 >configure:4981: result: yes >configure:4981: checking for strings.h >configure:4981: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4981: $? = 0 >configure:4981: result: yes >configure:4981: checking for inttypes.h >configure:4981: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4981: $? = 0 >configure:4981: result: yes >configure:4981: checking for stdint.h >configure:4981: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4981: $? = 0 >configure:4981: result: yes >configure:4981: checking for unistd.h >configure:4981: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:4981: $? = 0 >configure:4981: result: yes >configure:4994: checking minix/config.h usability >configure:4994: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >conftest.c:54:10: fatal error: 'minix/config.h' file not found >#include <minix/config.h> > ^~~~~~~~~~~~~~~~ >1 error generated. >configure:4994: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| #include <stdio.h> >| #ifdef HAVE_SYS_TYPES_H >| # include <sys/types.h> >| #endif >| #ifdef HAVE_SYS_STAT_H >| # include <sys/stat.h> >| #endif >| #ifdef STDC_HEADERS >| # include <stdlib.h> >| # include <stddef.h> >| #else >| # ifdef HAVE_STDLIB_H >| # include <stdlib.h> >| # endif >| #endif >| #ifdef HAVE_STRING_H >| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H >| # include <memory.h> >| # endif >| # include <string.h> >| #endif >| #ifdef HAVE_STRINGS_H >| # include <strings.h> >| #endif >| #ifdef HAVE_INTTYPES_H >| # include <inttypes.h> >| #endif >| #ifdef HAVE_STDINT_H >| # include <stdint.h> >| #endif >| #ifdef HAVE_UNISTD_H >| # include <unistd.h> >| #endif >| #include <minix/config.h> >configure:4994: result: no >configure:4994: checking minix/config.h presence >configure:4994: x86_64-pc-linux-gnu-clang -E conftest.c >conftest.c:21:10: fatal error: 'minix/config.h' file not found >#include <minix/config.h> > ^~~~~~~~~~~~~~~~ >1 error generated. >configure:4994: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| /* end confdefs.h. */ >| #include <minix/config.h> >configure:4994: result: no >configure:4994: checking for minix/config.h >configure:4994: result: no >configure:5015: checking whether it is safe to define __EXTENSIONS__ >configure:5033: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:5033: $? = 0 >configure:5040: result: yes >configure:5166: checking for C++ compiler version >configure:5175: x86_64-pc-linux-gnu-clang++ --version >&5 >clang version 10.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/10/bin >configure:5186: $? = 0 >configure:5175: x86_64-pc-linux-gnu-clang++ -v >&5 >clang version 10.0.1 >Target: x86_64-pc-linux-gnu >Thread model: posix >InstalledDir: /usr/lib/llvm/10/bin >Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0 >Candidate multilib: .;@m64 >Candidate multilib: 32;@m32 >Selected multilib: .;@m64 >configure:5186: $? = 0 >configure:5175: x86_64-pc-linux-gnu-clang++ -V >&5 >clang-10: error: argument to '-V' is missing (expected 1 value) >clang-10: error: no input files >configure:5186: $? = 1 >configure:5175: x86_64-pc-linux-gnu-clang++ -qversion >&5 >clang-10: error: unknown argument '-qversion'; did you mean '--version'? >clang-10: error: no input files >configure:5186: $? = 1 >configure:5190: checking whether we are using the GNU C++ compiler >configure:5209: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >configure:5209: $? = 0 >configure:5218: result: yes >configure:5227: checking whether x86_64-pc-linux-gnu-clang++ accepts -g >configure:5247: x86_64-pc-linux-gnu-clang++ -c -g conftest.cpp >&5 >configure:5247: $? = 0 >configure:5288: result: yes >configure:5313: checking dependency style of x86_64-pc-linux-gnu-clang++ >configure:5424: result: none >configure:5449: checking for x86_64-pc-linux-gnu-clang option to accept ISO C99 >configure:5598: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >conftest.cpp:76:29: error: expected ')' >test_restrict (ccp restrict text) > ^ >conftest.cpp:76:15: note: to match this '(' >test_restrict (ccp restrict text) > ^ >conftest.cpp:81:30: error: use of undeclared identifier 'text' > for (unsigned int i = 0; *(text+i) != '\0'; ++i) > ^ >conftest.cpp:130:17: error: expected ';' at end of declaration > char *restrict newvar = "Another string"; > ^ > ; >conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' > struct incomplete_array *ia = > ^ >conftest.cpp:156:59: error: use of undeclared identifier 'newvar' > return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' > ^ >5 errors generated. >configure:5598: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| /* end confdefs.h. */ >| #include <stdarg.h> >| #include <stdbool.h> >| #include <stdlib.h> >| #include <wchar.h> >| #include <stdio.h> >| >| // 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 = 1234; >| int y = 5678; >| debug ("Flag"); >| debug ("X = %d\n", x); >| showlist (The first, second, and third items.); >| report (x>y, "x is %d but y is %d", x, y); >| } >| >| // Check long long types. >| #define BIG64 18446744073709551615ull >| #define BIG32 4294967295ul >| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) >| #if !BIG_OK >| your preprocessor is broken; >| #endif >| #if BIG_OK >| #else >| your preprocessor is broken; >| #endif >| static long long int bignum = -9223372036854775807LL; >| static unsigned long long int ubignum = BIG64; >| >| struct incomplete_array >| { >| int datasize; >| double data[]; >| }; >| >| struct named_init { >| int number; >| const wchar_t *name; >| double average; >| }; >| >| typedef const char *ccp; >| >| 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 = 0; *(text+i) != '\0'; ++i) >| continue; >| return 0; >| } >| >| // 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); >| >| const char *str; >| int number; >| float fnumber; >| >| while (*format) >| { >| switch (*format++) >| { >| case 's': // string >| str = va_arg (args_copy, const char *); >| break; >| case 'd': // int >| number = va_arg (args_copy, int); >| break; >| case 'f': // float >| fnumber = va_arg (args_copy, double); >| break; >| default: >| break; >| } >| } >| va_end (args_copy); >| va_end (args); >| } >| >| int >| main () >| { >| >| // Check bool. >| _Bool success = false; >| >| // Check restrict. >| if (test_restrict ("String literal") == 0) >| success = true; >| char *restrict newvar = "Another string"; >| >| // Check varargs. >| test_varargs ("s, d' f .", "string", 65, 34.234); >| test_varargs_macros (); >| >| // Check flexible array members. >| struct incomplete_array *ia = >| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); >| ia->datasize = 10; >| for (int i = 0; i < ia->datasize; ++i) >| ia->data[i] = i * 1.234; >| >| // Check named initializers. >| struct named_init ni = { >| .number = 34, >| .name = L"Test wide string", >| .average = 543.34343, >| }; >| >| ni.number = 58; >| >| int dynamic_array[ni.number]; >| dynamic_array[ni.number - 1] = 543; >| >| // work around unused variable warnings >| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' >| || dynamic_array[ni.number - 1] != 543); >| >| ; >| return 0; >| } >configure:5598: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >conftest.cpp:76:29: error: expected ')' >test_restrict (ccp restrict text) > ^ >conftest.cpp:76:15: note: to match this '(' >test_restrict (ccp restrict text) > ^ >conftest.cpp:81:30: error: use of undeclared identifier 'text' > for (unsigned int i = 0; *(text+i) != '\0'; ++i) > ^ >conftest.cpp:130:17: error: expected ';' at end of declaration > char *restrict newvar = "Another string"; > ^ > ; >conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' > struct incomplete_array *ia = > ^ >conftest.cpp:156:59: error: use of undeclared identifier 'newvar' > return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' > ^ >5 errors generated. >configure:5598: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| /* end confdefs.h. */ >| #include <stdarg.h> >| #include <stdbool.h> >| #include <stdlib.h> >| #include <wchar.h> >| #include <stdio.h> >| >| // 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 = 1234; >| int y = 5678; >| debug ("Flag"); >| debug ("X = %d\n", x); >| showlist (The first, second, and third items.); >| report (x>y, "x is %d but y is %d", x, y); >| } >| >| // Check long long types. >| #define BIG64 18446744073709551615ull >| #define BIG32 4294967295ul >| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) >| #if !BIG_OK >| your preprocessor is broken; >| #endif >| #if BIG_OK >| #else >| your preprocessor is broken; >| #endif >| static long long int bignum = -9223372036854775807LL; >| static unsigned long long int ubignum = BIG64; >| >| struct incomplete_array >| { >| int datasize; >| double data[]; >| }; >| >| struct named_init { >| int number; >| const wchar_t *name; >| double average; >| }; >| >| typedef const char *ccp; >| >| 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 = 0; *(text+i) != '\0'; ++i) >| continue; >| return 0; >| } >| >| // 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); >| >| const char *str; >| int number; >| float fnumber; >| >| while (*format) >| { >| switch (*format++) >| { >| case 's': // string >| str = va_arg (args_copy, const char *); >| break; >| case 'd': // int >| number = va_arg (args_copy, int); >| break; >| case 'f': // float >| fnumber = va_arg (args_copy, double); >| break; >| default: >| break; >| } >| } >| va_end (args_copy); >| va_end (args); >| } >| >| int >| main () >| { >| >| // Check bool. >| _Bool success = false; >| >| // Check restrict. >| if (test_restrict ("String literal") == 0) >| success = true; >| char *restrict newvar = "Another string"; >| >| // Check varargs. >| test_varargs ("s, d' f .", "string", 65, 34.234); >| test_varargs_macros (); >| >| // Check flexible array members. >| struct incomplete_array *ia = >| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); >| ia->datasize = 10; >| for (int i = 0; i < ia->datasize; ++i) >| ia->data[i] = i * 1.234; >| >| // Check named initializers. >| struct named_init ni = { >| .number = 34, >| .name = L"Test wide string", >| .average = 543.34343, >| }; >| >| ni.number = 58; >| >| int dynamic_array[ni.number]; >| dynamic_array[ni.number - 1] = 543; >| >| // work around unused variable warnings >| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' >| || dynamic_array[ni.number - 1] != 543); >| >| ; >| return 0; >| } >configure:5598: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >conftest.cpp:76:29: error: expected ')' >test_restrict (ccp restrict text) > ^ >conftest.cpp:76:15: note: to match this '(' >test_restrict (ccp restrict text) > ^ >conftest.cpp:81:30: error: use of undeclared identifier 'text' > for (unsigned int i = 0; *(text+i) != '\0'; ++i) > ^ >conftest.cpp:130:17: error: expected ';' at end of declaration > char *restrict newvar = "Another string"; > ^ > ; >conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' > struct incomplete_array *ia = > ^ >conftest.cpp:156:59: error: use of undeclared identifier 'newvar' > return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' > ^ >5 errors generated. >configure:5598: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| /* end confdefs.h. */ >| #include <stdarg.h> >| #include <stdbool.h> >| #include <stdlib.h> >| #include <wchar.h> >| #include <stdio.h> >| >| // 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 = 1234; >| int y = 5678; >| debug ("Flag"); >| debug ("X = %d\n", x); >| showlist (The first, second, and third items.); >| report (x>y, "x is %d but y is %d", x, y); >| } >| >| // Check long long types. >| #define BIG64 18446744073709551615ull >| #define BIG32 4294967295ul >| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) >| #if !BIG_OK >| your preprocessor is broken; >| #endif >| #if BIG_OK >| #else >| your preprocessor is broken; >| #endif >| static long long int bignum = -9223372036854775807LL; >| static unsigned long long int ubignum = BIG64; >| >| struct incomplete_array >| { >| int datasize; >| double data[]; >| }; >| >| struct named_init { >| int number; >| const wchar_t *name; >| double average; >| }; >| >| typedef const char *ccp; >| >| 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 = 0; *(text+i) != '\0'; ++i) >| continue; >| return 0; >| } >| >| // 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); >| >| const char *str; >| int number; >| float fnumber; >| >| while (*format) >| { >| switch (*format++) >| { >| case 's': // string >| str = va_arg (args_copy, const char *); >| break; >| case 'd': // int >| number = va_arg (args_copy, int); >| break; >| case 'f': // float >| fnumber = va_arg (args_copy, double); >| break; >| default: >| break; >| } >| } >| va_end (args_copy); >| va_end (args); >| } >| >| int >| main () >| { >| >| // Check bool. >| _Bool success = false; >| >| // Check restrict. >| if (test_restrict ("String literal") == 0) >| success = true; >| char *restrict newvar = "Another string"; >| >| // Check varargs. >| test_varargs ("s, d' f .", "string", 65, 34.234); >| test_varargs_macros (); >| >| // Check flexible array members. >| struct incomplete_array *ia = >| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); >| ia->datasize = 10; >| for (int i = 0; i < ia->datasize; ++i) >| ia->data[i] = i * 1.234; >| >| // Check named initializers. >| struct named_init ni = { >| .number = 34, >| .name = L"Test wide string", >| .average = 543.34343, >| }; >| >| ni.number = 58; >| >| int dynamic_array[ni.number]; >| dynamic_array[ni.number - 1] = 543; >| >| // work around unused variable warnings >| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' >| || dynamic_array[ni.number - 1] != 543); >| >| ; >| return 0; >| } >configure:5598: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >conftest.cpp:76:29: error: expected ')' >test_restrict (ccp restrict text) > ^ >conftest.cpp:76:15: note: to match this '(' >test_restrict (ccp restrict text) > ^ >conftest.cpp:81:30: error: use of undeclared identifier 'text' > for (unsigned int i = 0; *(text+i) != '\0'; ++i) > ^ >conftest.cpp:130:17: error: expected ';' at end of declaration > char *restrict newvar = "Another string"; > ^ > ; >conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' > struct incomplete_array *ia = > ^ >conftest.cpp:156:59: error: use of undeclared identifier 'newvar' > return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' > ^ >5 errors generated. >configure:5598: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| /* end confdefs.h. */ >| #include <stdarg.h> >| #include <stdbool.h> >| #include <stdlib.h> >| #include <wchar.h> >| #include <stdio.h> >| >| // 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 = 1234; >| int y = 5678; >| debug ("Flag"); >| debug ("X = %d\n", x); >| showlist (The first, second, and third items.); >| report (x>y, "x is %d but y is %d", x, y); >| } >| >| // Check long long types. >| #define BIG64 18446744073709551615ull >| #define BIG32 4294967295ul >| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) >| #if !BIG_OK >| your preprocessor is broken; >| #endif >| #if BIG_OK >| #else >| your preprocessor is broken; >| #endif >| static long long int bignum = -9223372036854775807LL; >| static unsigned long long int ubignum = BIG64; >| >| struct incomplete_array >| { >| int datasize; >| double data[]; >| }; >| >| struct named_init { >| int number; >| const wchar_t *name; >| double average; >| }; >| >| typedef const char *ccp; >| >| 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 = 0; *(text+i) != '\0'; ++i) >| continue; >| return 0; >| } >| >| // 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); >| >| const char *str; >| int number; >| float fnumber; >| >| while (*format) >| { >| switch (*format++) >| { >| case 's': // string >| str = va_arg (args_copy, const char *); >| break; >| case 'd': // int >| number = va_arg (args_copy, int); >| break; >| case 'f': // float >| fnumber = va_arg (args_copy, double); >| break; >| default: >| break; >| } >| } >| va_end (args_copy); >| va_end (args); >| } >| >| int >| main () >| { >| >| // Check bool. >| _Bool success = false; >| >| // Check restrict. >| if (test_restrict ("String literal") == 0) >| success = true; >| char *restrict newvar = "Another string"; >| >| // Check varargs. >| test_varargs ("s, d' f .", "string", 65, 34.234); >| test_varargs_macros (); >| >| // Check flexible array members. >| struct incomplete_array *ia = >| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); >| ia->datasize = 10; >| for (int i = 0; i < ia->datasize; ++i) >| ia->data[i] = i * 1.234; >| >| // Check named initializers. >| struct named_init ni = { >| .number = 34, >| .name = L"Test wide string", >| .average = 543.34343, >| }; >| >| ni.number = 58; >| >| int dynamic_array[ni.number]; >| dynamic_array[ni.number - 1] = 543; >| >| // work around unused variable warnings >| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' >| || dynamic_array[ni.number - 1] != 543); >| >| ; >| return 0; >| } >configure:5598: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >conftest.cpp:76:29: error: expected ')' >test_restrict (ccp restrict text) > ^ >conftest.cpp:76:15: note: to match this '(' >test_restrict (ccp restrict text) > ^ >conftest.cpp:81:30: error: use of undeclared identifier 'text' > for (unsigned int i = 0; *(text+i) != '\0'; ++i) > ^ >conftest.cpp:130:17: error: expected ';' at end of declaration > char *restrict newvar = "Another string"; > ^ > ; >conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' > struct incomplete_array *ia = > ^ >conftest.cpp:156:59: error: use of undeclared identifier 'newvar' > return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' > ^ >5 errors generated. >configure:5598: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| /* end confdefs.h. */ >| #include <stdarg.h> >| #include <stdbool.h> >| #include <stdlib.h> >| #include <wchar.h> >| #include <stdio.h> >| >| // 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 = 1234; >| int y = 5678; >| debug ("Flag"); >| debug ("X = %d\n", x); >| showlist (The first, second, and third items.); >| report (x>y, "x is %d but y is %d", x, y); >| } >| >| // Check long long types. >| #define BIG64 18446744073709551615ull >| #define BIG32 4294967295ul >| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) >| #if !BIG_OK >| your preprocessor is broken; >| #endif >| #if BIG_OK >| #else >| your preprocessor is broken; >| #endif >| static long long int bignum = -9223372036854775807LL; >| static unsigned long long int ubignum = BIG64; >| >| struct incomplete_array >| { >| int datasize; >| double data[]; >| }; >| >| struct named_init { >| int number; >| const wchar_t *name; >| double average; >| }; >| >| typedef const char *ccp; >| >| 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 = 0; *(text+i) != '\0'; ++i) >| continue; >| return 0; >| } >| >| // 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); >| >| const char *str; >| int number; >| float fnumber; >| >| while (*format) >| { >| switch (*format++) >| { >| case 's': // string >| str = va_arg (args_copy, const char *); >| break; >| case 'd': // int >| number = va_arg (args_copy, int); >| break; >| case 'f': // float >| fnumber = va_arg (args_copy, double); >| break; >| default: >| break; >| } >| } >| va_end (args_copy); >| va_end (args); >| } >| >| int >| main () >| { >| >| // Check bool. >| _Bool success = false; >| >| // Check restrict. >| if (test_restrict ("String literal") == 0) >| success = true; >| char *restrict newvar = "Another string"; >| >| // Check varargs. >| test_varargs ("s, d' f .", "string", 65, 34.234); >| test_varargs_macros (); >| >| // Check flexible array members. >| struct incomplete_array *ia = >| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); >| ia->datasize = 10; >| for (int i = 0; i < ia->datasize; ++i) >| ia->data[i] = i * 1.234; >| >| // Check named initializers. >| struct named_init ni = { >| .number = 34, >| .name = L"Test wide string", >| .average = 543.34343, >| }; >| >| ni.number = 58; >| >| int dynamic_array[ni.number]; >| dynamic_array[ni.number - 1] = 543; >| >| // work around unused variable warnings >| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' >| || dynamic_array[ni.number - 1] != 543); >| >| ; >| return 0; >| } >configure:5598: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >conftest.cpp:76:29: error: expected ')' >test_restrict (ccp restrict text) > ^ >conftest.cpp:76:15: note: to match this '(' >test_restrict (ccp restrict text) > ^ >conftest.cpp:81:30: error: use of undeclared identifier 'text' > for (unsigned int i = 0; *(text+i) != '\0'; ++i) > ^ >conftest.cpp:130:17: error: expected ';' at end of declaration > char *restrict newvar = "Another string"; > ^ > ; >conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' > struct incomplete_array *ia = > ^ >conftest.cpp:156:59: error: use of undeclared identifier 'newvar' > return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' > ^ >5 errors generated. >configure:5598: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| /* end confdefs.h. */ >| #include <stdarg.h> >| #include <stdbool.h> >| #include <stdlib.h> >| #include <wchar.h> >| #include <stdio.h> >| >| // 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 = 1234; >| int y = 5678; >| debug ("Flag"); >| debug ("X = %d\n", x); >| showlist (The first, second, and third items.); >| report (x>y, "x is %d but y is %d", x, y); >| } >| >| // Check long long types. >| #define BIG64 18446744073709551615ull >| #define BIG32 4294967295ul >| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) >| #if !BIG_OK >| your preprocessor is broken; >| #endif >| #if BIG_OK >| #else >| your preprocessor is broken; >| #endif >| static long long int bignum = -9223372036854775807LL; >| static unsigned long long int ubignum = BIG64; >| >| struct incomplete_array >| { >| int datasize; >| double data[]; >| }; >| >| struct named_init { >| int number; >| const wchar_t *name; >| double average; >| }; >| >| typedef const char *ccp; >| >| 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 = 0; *(text+i) != '\0'; ++i) >| continue; >| return 0; >| } >| >| // 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); >| >| const char *str; >| int number; >| float fnumber; >| >| while (*format) >| { >| switch (*format++) >| { >| case 's': // string >| str = va_arg (args_copy, const char *); >| break; >| case 'd': // int >| number = va_arg (args_copy, int); >| break; >| case 'f': // float >| fnumber = va_arg (args_copy, double); >| break; >| default: >| break; >| } >| } >| va_end (args_copy); >| va_end (args); >| } >| >| int >| main () >| { >| >| // Check bool. >| _Bool success = false; >| >| // Check restrict. >| if (test_restrict ("String literal") == 0) >| success = true; >| char *restrict newvar = "Another string"; >| >| // Check varargs. >| test_varargs ("s, d' f .", "string", 65, 34.234); >| test_varargs_macros (); >| >| // Check flexible array members. >| struct incomplete_array *ia = >| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); >| ia->datasize = 10; >| for (int i = 0; i < ia->datasize; ++i) >| ia->data[i] = i * 1.234; >| >| // Check named initializers. >| struct named_init ni = { >| .number = 34, >| .name = L"Test wide string", >| .average = 543.34343, >| }; >| >| ni.number = 58; >| >| int dynamic_array[ni.number]; >| dynamic_array[ni.number - 1] = 543; >| >| // work around unused variable warnings >| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' >| || dynamic_array[ni.number - 1] != 543); >| >| ; >| return 0; >| } >configure:5598: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >conftest.cpp:76:29: error: expected ')' >test_restrict (ccp restrict text) > ^ >conftest.cpp:76:15: note: to match this '(' >test_restrict (ccp restrict text) > ^ >conftest.cpp:81:30: error: use of undeclared identifier 'text' > for (unsigned int i = 0; *(text+i) != '\0'; ++i) > ^ >conftest.cpp:130:17: error: expected ';' at end of declaration > char *restrict newvar = "Another string"; > ^ > ; >conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' > struct incomplete_array *ia = > ^ >conftest.cpp:156:59: error: use of undeclared identifier 'newvar' > return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' > ^ >5 errors generated. >configure:5598: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| /* end confdefs.h. */ >| #include <stdarg.h> >| #include <stdbool.h> >| #include <stdlib.h> >| #include <wchar.h> >| #include <stdio.h> >| >| // 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 = 1234; >| int y = 5678; >| debug ("Flag"); >| debug ("X = %d\n", x); >| showlist (The first, second, and third items.); >| report (x>y, "x is %d but y is %d", x, y); >| } >| >| // Check long long types. >| #define BIG64 18446744073709551615ull >| #define BIG32 4294967295ul >| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) >| #if !BIG_OK >| your preprocessor is broken; >| #endif >| #if BIG_OK >| #else >| your preprocessor is broken; >| #endif >| static long long int bignum = -9223372036854775807LL; >| static unsigned long long int ubignum = BIG64; >| >| struct incomplete_array >| { >| int datasize; >| double data[]; >| }; >| >| struct named_init { >| int number; >| const wchar_t *name; >| double average; >| }; >| >| typedef const char *ccp; >| >| 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 = 0; *(text+i) != '\0'; ++i) >| continue; >| return 0; >| } >| >| // 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); >| >| const char *str; >| int number; >| float fnumber; >| >| while (*format) >| { >| switch (*format++) >| { >| case 's': // string >| str = va_arg (args_copy, const char *); >| break; >| case 'd': // int >| number = va_arg (args_copy, int); >| break; >| case 'f': // float >| fnumber = va_arg (args_copy, double); >| break; >| default: >| break; >| } >| } >| va_end (args_copy); >| va_end (args); >| } >| >| int >| main () >| { >| >| // Check bool. >| _Bool success = false; >| >| // Check restrict. >| if (test_restrict ("String literal") == 0) >| success = true; >| char *restrict newvar = "Another string"; >| >| // Check varargs. >| test_varargs ("s, d' f .", "string", 65, 34.234); >| test_varargs_macros (); >| >| // Check flexible array members. >| struct incomplete_array *ia = >| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); >| ia->datasize = 10; >| for (int i = 0; i < ia->datasize; ++i) >| ia->data[i] = i * 1.234; >| >| // Check named initializers. >| struct named_init ni = { >| .number = 34, >| .name = L"Test wide string", >| .average = 543.34343, >| }; >| >| ni.number = 58; >| >| int dynamic_array[ni.number]; >| dynamic_array[ni.number - 1] = 543; >| >| // work around unused variable warnings >| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' >| || dynamic_array[ni.number - 1] != 543); >| >| ; >| return 0; >| } >configure:5614: result: unsupported >configure:5624: checking for x86_64-pc-linux-gnu-clang option to accept ISO C89 >configure:5700: result: none needed >configure:5719: checking for x86_64-pc-linux-gnu-clang option to accept ISO Standard C >configure:5730: result: none needed >configure:5743: checking how to run the C++ preprocessor >configure:5770: x86_64-pc-linux-gnu-clang++ -E conftest.cpp >configure:5770: $? = 0 >configure:5784: x86_64-pc-linux-gnu-clang++ -E conftest.cpp >conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found >#include <ac_nonexistent.h> > ^~~~~~~~~~~~~~~~~~ >1 error generated. >configure:5784: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| /* end confdefs.h. */ >| #include <ac_nonexistent.h> >configure:5809: result: x86_64-pc-linux-gnu-clang++ -E >configure:5829: x86_64-pc-linux-gnu-clang++ -E conftest.cpp >configure:5829: $? = 0 >configure:5843: x86_64-pc-linux-gnu-clang++ -E conftest.cpp >conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found >#include <ac_nonexistent.h> > ^~~~~~~~~~~~~~~~~~ >1 error generated. >configure:5843: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| /* end confdefs.h. */ >| #include <ac_nonexistent.h> >configure:5872: checking for ANSI C header files >configure:5976: result: yes >configure:6062: checking how to print strings >configure:6089: result: printf >configure:6110: checking for a sed that does not truncate output >configure:6174: result: /bin/sed >configure:6192: checking for fgrep >configure:6254: result: /bin/grep -F >configure:6289: checking for ld used by x86_64-pc-linux-gnu-clang >configure:6356: result: ld.lld >configure:6363: checking if the linker (ld.lld) is GNU ld >configure:6378: result: yes >configure:6390: checking for BSD- or MS-compatible name lister (nm) >configure:6444: result: llvm-nm >configure:6574: checking the name lister (llvm-nm) interface >configure:6581: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >configure:6584: llvm-nm "conftest.o" >configure:6587: output >0000000000000000 B some_variable >configure:6588: result: BSD nm >configure:6591: checking whether ln -s works >configure:6595: result: yes >configure:6603: checking the maximum length of command line arguments >configure:6734: result: 1572864 >configure:6782: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format >configure:6822: result: func_convert_file_noop >configure:6829: checking how to convert x86_64-pc-linux-gnu file names to toolchain format >configure:6849: result: func_convert_file_noop >configure:6856: checking for ld.lld option to reload object files >configure:6863: result: -r >configure:6897: checking for x86_64-pc-linux-gnu-objdump >configure:6924: result: llvm-objdump >configure:6996: checking how to recognize dependent libraries >configure:7196: result: pass_all >configure:7241: checking for x86_64-pc-linux-gnu-dlltool >configure:7271: result: no >configure:7281: checking for dlltool >configure:7311: result: no >configure:7341: checking how to associate runtime and link libraries >configure:7368: result: printf %s\n >configure:7384: checking for x86_64-pc-linux-gnu-ar >configure:7411: result: llvm-ar >configure:7508: checking for archiver @FILE support >configure:7525: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >configure:7525: $? = 0 >configure:7528: llvm-ar cr libconftest.a @conftest.lst >&5 >configure:7531: $? = 0 >configure:7536: llvm-ar cr libconftest.a @conftest.lst >&5 >llvm-ar: error: conftest.o: No such file or directory >configure:7539: $? = 1 >configure:7538: result: @ >configure:7556: checking for x86_64-pc-linux-gnu-strip >configure:7583: result: llvm-strip >configure:7655: checking for x86_64-pc-linux-gnu-ranlib >configure:7682: result: llvm-ranlib >configure:7824: checking command to parse llvm-nm output from x86_64-pc-linux-gnu-clang object >configure:7977: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >configure:7980: $? = 0 >configure:7984: llvm-nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm >configure:7987: $? = 0 >configure:8053: x86_64-pc-linux-gnu-clang++ -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld conftest.cpp conftstm.o >&5 >configure:8056: $? = 0 >configure:8094: result: ok >configure:8141: checking for sysroot >configure:8171: result: / >configure:8178: checking for a working dd >configure:8216: result: /bin/dd >configure:8220: checking how to truncate binary pipes >configure:8235: result: /bin/dd bs=4096 count=1 >configure:8371: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >configure:8374: $? = 0 >configure:8524: checking for x86_64-pc-linux-gnu-mt >configure:8554: result: no >configure:8564: checking for mt >configure:8594: result: no >configure:8614: checking if : is a manifest tool >configure:8620: : '-?' >configure:8628: result: no >configure:9302: checking for dlfcn.h >configure:9302: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >configure:9302: $? = 0 >configure:9302: result: yes >configure:9538: checking for objdir >configure:9553: result: .libs >configure:9813: checking if x86_64-pc-linux-gnu-clang supports -fno-rtti -fno-exceptions >configure:9831: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fno-rtti -fno-exceptions conftest.c >&5 >configure:9835: $? = 0 >configure:9848: result: yes >configure:10206: checking for x86_64-pc-linux-gnu-clang option to produce PIC >configure:10213: result: -fPIC -DPIC >configure:10221: checking if x86_64-pc-linux-gnu-clang PIC flag -fPIC -DPIC works >configure:10239: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -DPIC -DPIC conftest.c >&5 >configure:10243: $? = 0 >configure:10256: result: yes >configure:10285: checking if x86_64-pc-linux-gnu-clang static flag -static works >configure:10313: result: yes >configure:10328: checking if x86_64-pc-linux-gnu-clang supports -c -o file.o >configure:10349: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -o out/conftest2.o conftest.c >&5 >configure:10353: $? = 0 >configure:10375: result: yes >configure:10383: checking if x86_64-pc-linux-gnu-clang supports -c -o file.o >configure:10430: result: yes >configure:10463: checking whether the x86_64-pc-linux-gnu-clang linker (ld.lld -m elf_x86_64) supports shared libraries >configure:11724: result: yes >configure:11761: checking whether -lc should be explicitly linked in >configure:11769: x86_64-pc-linux-gnu-clang -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.c >&5 >configure:11772: $? = 0 >configure:11787: x86_64-pc-linux-gnu-clang -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 >configure:11790: $? = 0 >configure:11804: result: no >configure:11964: checking dynamic linker characteristics >configure:12545: x86_64-pc-linux-gnu-clang -o conftest -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -Wl,-rpath -Wl,/foo conftest.c >&5 >configure:12545: $? = 0 >configure:12782: result: GNU/Linux ld.so >configure:12904: checking how to hardcode library paths into programs >configure:12929: result: immediate >configure:13477: checking whether stripping libraries is possible >configure:13486: result: yes >configure:13528: checking if libtool supports shared libraries >configure:13530: result: yes >configure:13533: checking whether to build shared libraries >configure:13558: result: yes >configure:13561: checking whether to build static libraries >configure:13565: result: no >configure:10367: checking how to run the C++ preprocessor >configure:10433: result: x86_64-pc-linux-gnu-clang++ -E >configure:10453: x86_64-pc-linux-gnu-clang++ -E conftest.cpp >configure:10453: $? = 0 >configure:10467: x86_64-pc-linux-gnu-clang++ -E conftest.cpp >conftest.cpp:29:10: fatal error: 'ac_nonexistent.h' file not found >#include <ac_nonexistent.h> > ^~~~~~~~~~~~~~~~~~ >1 error generated. >configure:10467: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| #define STDC_HEADERS 1 >| #define HAVE_DLFCN_H 1 >| #define LT_OBJDIR ".libs/" >| /* end confdefs.h. */ >| #include <ac_nonexistent.h> >configure:10629: checking for ld used by x86_64-pc-linux-gnu-clang++ >configure:10696: result: ld.lld -m elf_x86_64 >configure:10703: checking if the linker (ld.lld -m elf_x86_64) is GNU ld >configure:10718: result: yes >configure:10773: checking whether the x86_64-pc-linux-gnu-clang++ linker (ld.lld -m elf_x86_64) supports shared libraries >configure:11847: result: yes >configure:11883: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >configure:11886: $? = 0 >configure:12367: checking for x86_64-pc-linux-gnu-clang++ option to produce PIC >configure:12374: result: -fPIC -DPIC >configure:12382: checking if x86_64-pc-linux-gnu-clang++ PIC flag -fPIC -DPIC works >configure:12400: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -fPIC -DPIC -DPIC conftest.cpp >&5 >configure:12404: $? = 0 >configure:12417: result: yes >configure:12440: checking if x86_64-pc-linux-gnu-clang++ static flag -static works >configure:12468: result: yes >configure:12480: checking if x86_64-pc-linux-gnu-clang++ supports -c -o file.o >configure:12501: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -o out/conftest2.o conftest.cpp >&5 >configure:12505: $? = 0 >configure:12527: result: yes >configure:12532: checking if x86_64-pc-linux-gnu-clang++ supports -c -o file.o >configure:12579: result: yes >configure:12609: checking whether the x86_64-pc-linux-gnu-clang++ linker (ld.lld -m elf_x86_64) supports shared libraries >configure:12649: result: yes >configure:12790: checking dynamic linker characteristics >configure:13535: result: GNU/Linux ld.so >configure:13600: checking how to hardcode library paths into programs >configure:13625: result: immediate >configure:12545: checking for x86_64-pc-linux-gnu-pkg-config >configure:12563: found /usr/bin/x86_64-pc-linux-gnu-pkg-config >configure:12575: result: /usr/bin/x86_64-pc-linux-gnu-pkg-config >configure:12643: checking pkg-config is at least version 0.9.0 >configure:12646: result: yes >configure:12677: checking whether x86_64-pc-linux-gnu-clang++ supports C++17 features by default >configure:13493: x86_64-pc-linux-gnu-clang++ -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >conftest.cpp:445:2: error: "This is not a C++17 compiler" >#error "This is not a C++17 compiler" > ^ >1 error generated. >configure:13493: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| #define STDC_HEADERS 1 >| #define HAVE_DLFCN_H 1 >| #define LT_OBJDIR ".libs/" >| /* end confdefs.h. */ >| >| >| // If the compiler admits that it is not ready for C++11, why torture it? >| // Hopefully, this will speed up the test. >| >| #ifndef __cplusplus >| >| #error "This is not a C++ compiler" >| >| #elif __cplusplus < 201103L >| >| #error "This is not a C++11 compiler" >| >| #else >| >| namespace cxx11 >| { >| >| namespace test_static_assert >| { >| >| template <typename T> >| struct check >| { >| static_assert(sizeof(int) <= sizeof(T), "not big enough"); >| }; >| >| } >| >| namespace test_final_override >| { >| >| struct Base >| { >| virtual void f() {} >| }; >| >| struct Derived : public Base >| { >| virtual void f() override {} >| }; >| >| } >| >| namespace test_double_right_angle_brackets >| { >| >| template < typename T > >| struct check {}; >| >| typedef check<void> single_type; >| typedef check<check<void>> double_type; >| typedef check<check<check<void>>> triple_type; >| typedef check<check<check<check<void>>>> quadruple_type; >| >| } >| >| namespace test_decltype >| { >| >| int >| f() >| { >| int a = 1; >| decltype(a) b = 2; >| return a + b; >| } >| >| } >| >| namespace test_type_deduction >| { >| >| template < typename T1, typename T2 > >| struct is_same >| { >| static const bool value = false; >| }; >| >| template < typename T > >| struct is_same<T, T> >| { >| static const bool value = true; >| }; >| >| template < typename T1, typename T2 > >| auto >| add(T1 a1, T2 a2) -> decltype(a1 + a2) >| { >| return a1 + a2; >| } >| >| int >| test(const int c, volatile int v) >| { >| static_assert(is_same<int, decltype(0)>::value == true, ""); >| static_assert(is_same<int, decltype(c)>::value == false, ""); >| static_assert(is_same<int, decltype(v)>::value == false, ""); >| auto ac = c; >| auto av = v; >| auto sumi = ac + av + 'x'; >| auto sumf = ac + av + 1.0; >| static_assert(is_same<int, decltype(ac)>::value == true, ""); >| static_assert(is_same<int, decltype(av)>::value == true, ""); >| static_assert(is_same<int, decltype(sumi)>::value == true, ""); >| static_assert(is_same<int, decltype(sumf)>::value == false, ""); >| static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); >| return (sumf > 0.0) ? sumi : add(c, v); >| } >| >| } >| >| namespace test_noexcept >| { >| >| int f() { return 0; } >| int g() noexcept { return 0; } >| >| static_assert(noexcept(f()) == false, ""); >| static_assert(noexcept(g()) == true, ""); >| >| } >| >| namespace test_constexpr >| { >| >| template < typename CharT > >| unsigned long constexpr >| strlen_c_r(const CharT *const s, const unsigned long acc) noexcept >| { >| return *s ? strlen_c_r(s + 1, acc + 1) : acc; >| } >| >| template < typename CharT > >| unsigned long constexpr >| strlen_c(const CharT *const s) noexcept >| { >| return strlen_c_r(s, 0UL); >| } >| >| static_assert(strlen_c("") == 0UL, ""); >| static_assert(strlen_c("1") == 1UL, ""); >| static_assert(strlen_c("example") == 7UL, ""); >| static_assert(strlen_c("another\0example") == 7UL, ""); >| >| } >| >| namespace test_rvalue_references >| { >| >| template < int N > >| struct answer >| { >| static constexpr int value = N; >| }; >| >| answer<1> f(int&) { return answer<1>(); } >| answer<2> f(const int&) { return answer<2>(); } >| answer<3> f(int&&) { return answer<3>(); } >| >| void >| test() >| { >| int i = 0; >| const int c = 0; >| static_assert(decltype(f(i))::value == 1, ""); >| static_assert(decltype(f(c))::value == 2, ""); >| static_assert(decltype(f(0))::value == 3, ""); >| } >| >| } >| >| namespace test_uniform_initialization >| { >| >| struct test >| { >| static const int zero {}; >| static const int one {1}; >| }; >| >| static_assert(test::zero == 0, ""); >| static_assert(test::one == 1, ""); >| >| } >| >| namespace test_lambdas >| { >| >| void >| test1() >| { >| auto lambda1 = [](){}; >| auto lambda2 = lambda1; >| lambda1(); >| lambda2(); >| } >| >| int >| test2() >| { >| auto a = [](int i, int j){ return i + j; }(1, 2); >| auto b = []() -> int { return '0'; }(); >| auto c = [=](){ return a + b; }(); >| auto d = [&](){ return c; }(); >| auto e = [a, &b](int x) mutable { >| const auto identity = [](int y){ return y; }; >| for (auto i = 0; i < a; ++i) >| a += b--; >| return x + identity(a + b); >| }(0); >| return a + b + c + d + e; >| } >| >| int >| test3() >| { >| const auto nullary = [](){ return 0; }; >| const auto unary = [](int x){ return x; }; >| using nullary_t = decltype(nullary); >| using unary_t = decltype(unary); >| const auto higher1st = [](nullary_t f){ return f(); }; >| const auto higher2nd = [unary](nullary_t f1){ >| return [unary, f1](unary_t f2){ return f2(unary(f1())); }; >| }; >| return higher1st(nullary) + higher2nd(nullary)(unary); >| } >| >| } >| >| namespace test_variadic_templates >| { >| >| template <int...> >| struct sum; >| >| template <int N0, int... N1toN> >| struct sum<N0, N1toN...> >| { >| static constexpr auto value = N0 + sum<N1toN...>::value; >| }; >| >| template <> >| struct sum<> >| { >| static constexpr auto value = 0; >| }; >| >| static_assert(sum<>::value == 0, ""); >| static_assert(sum<1>::value == 1, ""); >| static_assert(sum<23>::value == 23, ""); >| static_assert(sum<1, 2>::value == 3, ""); >| static_assert(sum<5, 5, 11>::value == 21, ""); >| static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); >| >| } >| >| // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae >| // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function >| // because of this. >| namespace test_template_alias_sfinae >| { >| >| struct foo {}; >| >| template<typename T> >| using member = typename T::member_type; >| >| template<typename T> >| void func(...) {} >| >| template<typename T> >| void func(member<T>*) {} >| >| void test(); >| >| void test() { func<foo>(0); } >| >| } >| >| } // namespace cxx11 >| >| #endif // __cplusplus >= 201103L >| >| >| >| >| // If the compiler admits that it is not ready for C++14, why torture it? >| // Hopefully, this will speed up the test. >| >| #ifndef __cplusplus >| >| #error "This is not a C++ compiler" >| >| #elif __cplusplus < 201402L >| >| #error "This is not a C++14 compiler" >| >| #else >| >| namespace cxx14 >| { >| >| namespace test_polymorphic_lambdas >| { >| >| int >| test() >| { >| const auto lambda = [](auto&&... args){ >| const auto istiny = [](auto x){ >| return (sizeof(x) == 1UL) ? 1 : 0; >| }; >| const int aretiny[] = { istiny(args)... }; >| return aretiny[0]; >| }; >| return lambda(1, 1L, 1.0f, '1'); >| } >| >| } >| >| namespace test_binary_literals >| { >| >| constexpr auto ivii = 0b0000000000101010; >| static_assert(ivii == 42, "wrong value"); >| >| } >| >| namespace test_generalized_constexpr >| { >| >| template < typename CharT > >| constexpr unsigned long >| strlen_c(const CharT *const s) noexcept >| { >| auto length = 0UL; >| for (auto p = s; *p; ++p) >| ++length; >| return length; >| } >| >| static_assert(strlen_c("") == 0UL, ""); >| static_assert(strlen_c("x") == 1UL, ""); >| static_assert(strlen_c("test") == 4UL, ""); >| static_assert(strlen_c("another\0test") == 7UL, ""); >| >| } >| >| namespace test_lambda_init_capture >| { >| >| int >| test() >| { >| auto x = 0; >| const auto lambda1 = [a = x](int b){ return a + b; }; >| const auto lambda2 = [a = lambda1(x)](){ return a; }; >| return lambda2(); >| } >| >| } >| >| namespace test_digit_separators >| { >| >| constexpr auto ten_million = 100'000'000; >| static_assert(ten_million == 100000000, ""); >| >| } >| >| namespace test_return_type_deduction >| { >| >| auto f(int& x) { return x; } >| decltype(auto) g(int& x) { return x; } >| >| template < typename T1, typename T2 > >| struct is_same >| { >| static constexpr auto value = false; >| }; >| >| template < typename T > >| struct is_same<T, T> >| { >| static constexpr auto value = true; >| }; >| >| int >| test() >| { >| auto x = 0; >| static_assert(is_same<int, decltype(f(x))>::value, ""); >| static_assert(is_same<int&, decltype(g(x))>::value, ""); >| return x; >| } >| >| } >| >| } // namespace cxx14 >| >| #endif // __cplusplus >= 201402L >| >| >| >| >| // If the compiler admits that it is not ready for C++17, why torture it? >| // Hopefully, this will speed up the test. >| >| #ifndef __cplusplus >| >| #error "This is not a C++ compiler" >| >| #elif __cplusplus <= 201402L >| >| #error "This is not a C++17 compiler" >| >| #else >| >| #if defined(__clang__) >| #define REALLY_CLANG >| #else >| #if defined(__GNUC__) >| #define REALLY_GCC >| #endif >| #endif >| >| #include <initializer_list> >| #include <utility> >| #include <type_traits> >| >| namespace cxx17 >| { >| >| #if !defined(REALLY_CLANG) >| namespace test_constexpr_lambdas >| { >| >| // TODO: test it with clang++ from git >| >| constexpr int foo = [](){return 42;}(); >| >| } >| #endif // !defined(REALLY_CLANG) >| >| namespace test::nested_namespace::definitions >| { >| >| } >| >| namespace test_fold_expression >| { >| >| template<typename... Args> >| int multiply(Args... args) >| { >| return (args * ... * 1); >| } >| >| template<typename... Args> >| bool all(Args... args) >| { >| return (args && ...); >| } >| >| } >| >| namespace test_extended_static_assert >| { >| >| static_assert (true); >| >| } >| >| namespace test_auto_brace_init_list >| { >| >| auto foo = {5}; >| auto bar {5}; >| >| static_assert(std::is_same<std::initializer_list<int>, decltype(foo)>::value); >| static_assert(std::is_same<int, decltype(bar)>::value); >| } >| >| namespace test_typename_in_template_template_parameter >| { >| >| template<template<typename> typename X> struct D; >| >| } >| >| namespace test_fallthrough_nodiscard_maybe_unused_attributes >| { >| >| int f1() >| { >| return 42; >| } >| >| [[nodiscard]] int f2() >| { >| [[maybe_unused]] auto unused = f1(); >| >| switch (f1()) >| { >| case 17: >| f1(); >| [[fallthrough]]; >| case 42: >| f1(); >| } >| return f1(); >| } >| >| } >| >| namespace test_extended_aggregate_initialization >| { >| >| struct base1 >| { >| int b1, b2 = 42; >| }; >| >| struct base2 >| { >| base2() { >| b3 = 42; >| } >| int b3; >| }; >| >| struct derived : base1, base2 >| { >| int d; >| }; >| >| derived d1 {{1, 2}, {}, 4}; // full initialization >| derived d2 {{}, {}, 4}; // value-initialized bases >| >| } >| >| namespace test_general_range_based_for_loop >| { >| >| struct iter >| { >| int i; >| >| int& operator* () >| { >| return i; >| } >| >| const int& operator* () const >| { >| return i; >| } >| >| iter& operator++() >| { >| ++i; >| return *this; >| } >| }; >| >| struct sentinel >| { >| int i; >| }; >| >| bool operator== (const iter& i, const sentinel& s) >| { >| return i.i == s.i; >| } >| >| bool operator!= (const iter& i, const sentinel& s) >| { >| return !(i == s); >| } >| >| struct range >| { >| iter begin() const >| { >| return {0}; >| } >| >| sentinel end() const >| { >| return {5}; >| } >| }; >| >| void f() >| { >| range r {}; >| >| for (auto i : r) >| { >| [[maybe_unused]] auto v = i; >| } >| } >| >| } >| >| namespace test_lambda_capture_asterisk_this_by_value >| { >| >| struct t >| { >| int i; >| int foo() >| { >| return [*this]() >| { >| return i; >| }(); >| } >| }; >| >| } >| >| namespace test_enum_class_construction >| { >| >| enum class byte : unsigned char >| {}; >| >| byte foo {42}; >| >| } >| >| namespace test_constexpr_if >| { >| >| template <bool cond> >| int f () >| { >| if constexpr(cond) >| { >| return 13; >| } >| else >| { >| return 42; >| } >| } >| >| } >| >| namespace test_selection_statement_with_initializer >| { >| >| int f() >| { >| return 13; >| } >| >| int f2() >| { >| if (auto i = f(); i > 0) >| { >| return 3; >| } >| >| switch (auto i = f(); i + 4) >| { >| case 17: >| return 2; >| >| default: >| return 1; >| } >| } >| >| } >| >| #if !defined(REALLY_CLANG) >| namespace test_template_argument_deduction_for_class_templates >| { >| >| // TODO: test it with clang++ from git >| >| template <typename T1, typename T2> >| struct pair >| { >| pair (T1 p1, T2 p2) >| : m1 {p1}, >| m2 {p2} >| {} >| >| T1 m1; >| T2 m2; >| }; >| >| void f() >| { >| [[maybe_unused]] auto p = pair{13, 42u}; >| } >| >| } >| #endif // !defined(REALLY_CLANG) >| >| namespace test_non_type_auto_template_parameters >| { >| >| template <auto n> >| struct B >| {}; >| >| B<5> b1; >| B<'a'> b2; >| >| } >| >| #if !defined(REALLY_CLANG) >| namespace test_structured_bindings >| { >| >| // TODO: test it with clang++ from git >| >| int arr[2] = { 1, 2 }; >| std::pair<int, int> pr = { 1, 2 }; >| >| auto f1() -> int(&)[2] >| { >| return arr; >| } >| >| auto f2() -> std::pair<int, int>& >| { >| return pr; >| } >| >| struct S >| { >| int x1 : 2; >| volatile double y1; >| }; >| >| S f3() >| { >| return {}; >| } >| >| auto [ x1, y1 ] = f1(); >| auto& [ xr1, yr1 ] = f1(); >| auto [ x2, y2 ] = f2(); >| auto& [ xr2, yr2 ] = f2(); >| const auto [ x3, y3 ] = f3(); >| >| } >| #endif // !defined(REALLY_CLANG) >| >| #if !defined(REALLY_CLANG) >| namespace test_exception_spec_type_system >| { >| >| // TODO: test it with clang++ from git >| >| struct Good {}; >| struct Bad {}; >| >| void g1() noexcept; >| void g2(); >| >| template<typename T> >| Bad >| f(T*, T*); >| >| template<typename T1, typename T2> >| Good >| f(T1*, T2*); >| >| static_assert (std::is_same_v<Good, decltype(f(g1, g2))>); >| >| } >| #endif // !defined(REALLY_CLANG) >| >| namespace test_inline_variables >| { >| >| template<class T> void f(T) >| {} >| >| template<class T> inline T g(T) >| { >| return T{}; >| } >| >| template<> inline void f<>(int) >| {} >| >| template<> int g<>(int) >| { >| return 5; >| } >| >| } >| >| } // namespace cxx17 >| >| #endif // __cplusplus <= 201402L >| >| >| >configure:13500: result: no >configure:13510: checking whether x86_64-pc-linux-gnu-clang++ supports C++17 features with -std=gnu++17 >configure:14328: x86_64-pc-linux-gnu-clang++ -std=gnu++17 -c -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color conftest.cpp >&5 >configure:14328: $? = 0 >configure:14337: result: yes >configure:14373: WARNING: C++17 is not yet standardized, so the checks may change in incompatible ways anytime >configure:14380: checking whether to enable debug info >configure:14399: result: no >configure:14416: checking whether to enable parallel algorithms with openmp >configure:14421: result: yes >configure:14426: checking for OpenMP flag of C++ compiler >configure:14471: x86_64-pc-linux-gnu-clang++ -std=gnu++17 -o conftest -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -fopenmp -DNDEBUG -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld conftest.cpp >&5 >configure:14471: $? = 0 >configure:14480: result: -fopenmp >configure:14582: checking whether to enable cairo drawing >configure:14591: result: yes >configure:14690: checking for Expat XML Parser headers in /usr/include >configure:14714: x86_64-pc-linux-gnu-clang++ -std=gnu++17 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include conftest.cpp >&5 >configure:14714: $? = 0 >configure:14718: result: found >configure:14739: checking for Expat XML Parser libraries >configure:14767: x86_64-pc-linux-gnu-clang++ -std=gnu++17 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register -DNDEBUG -I/usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -L/usr/lib conftest.cpp -lexpat >&5 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crt1.o is incompatible with elf_x86_64 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crti.o is incompatible with elf_x86_64 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtbegin.o is incompatible with elf_x86_64 >ld.lld: error: /var/tmp/portage/dev-python/graph-tool-2.29/temp/conftest-917db8.o is incompatible with elf_x86_64 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libexpat.so is incompatible with elf_x86_64 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libstdc++.so is incompatible with elf_x86_64 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libomp.so is incompatible with elf_x86_64 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 is incompatible with elf_x86_64 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/libgcc_s.so.1 is incompatible with elf_x86_64 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/crtend.o is incompatible with elf_x86_64 >ld.lld: error: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/crtn.o is incompatible with elf_x86_64 >clang-10: error: linker command failed with exit code 1 (use -v to see invocation) >configure:14767: $? = 1 >configure: failed program was: >| /* confdefs.h */ >| #define PACKAGE_NAME "graph-tool" >| #define PACKAGE_TARNAME "graph-tool" >| #define PACKAGE_VERSION "2.29" >| #define PACKAGE_STRING "graph-tool 2.29" >| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >| #define PACKAGE_URL "http://graph-tool.skewed.de" >| #define PACKAGE "graph-tool" >| #define VERSION "2.29" >| #define STDC_HEADERS 1 >| #define HAVE_SYS_TYPES_H 1 >| #define HAVE_SYS_STAT_H 1 >| #define HAVE_STDLIB_H 1 >| #define HAVE_STRING_H 1 >| #define HAVE_MEMORY_H 1 >| #define HAVE_STRINGS_H 1 >| #define HAVE_INTTYPES_H 1 >| #define HAVE_STDINT_H 1 >| #define HAVE_UNISTD_H 1 >| #define __EXTENSIONS__ 1 >| #define _ALL_SOURCE 1 >| #define _GNU_SOURCE 1 >| #define _POSIX_PTHREAD_SEMANTICS 1 >| #define _TANDEM_SOURCE 1 >| #define STDC_HEADERS 1 >| #define HAVE_DLFCN_H 1 >| #define LT_OBJDIR ".libs/" >| #define HAVE_CXX17 1 >| #define OPENMP_MIN_THRESH 300 >| #define HAVE_OPENMP 1 >| /* end confdefs.h. */ >| >| >| #include <expat.h> >| >| int >| main () >| { >| >| XML_Parser p = XML_ParserCreate(NULL); >| XML_ParserFree(p); >| p = NULL; >| >| >| ; >| return 0; >| } >configure:14778: result: not found >configure:14798: checking for Expat XML Parser >configure:14813: result: no >configure:14888: error: expat library not found > >## ---------------- ## >## Cache variables. ## >## ---------------- ## > >ac_cv_build=x86_64-pc-linux-gnu >ac_cv_c_compiler_gnu=yes >ac_cv_cxx_compiler_gnu=yes >ac_cv_env_CAIROMM_CFLAGS_set= >ac_cv_env_CAIROMM_CFLAGS_value= >ac_cv_env_CAIROMM_LIBS_set= >ac_cv_env_CAIROMM_LIBS_value= >ac_cv_env_CCC_set= >ac_cv_env_CCC_value= >ac_cv_env_CC_set=set >ac_cv_env_CC_value=x86_64-pc-linux-gnu-clang >ac_cv_env_CFLAGS_set=set >ac_cv_env_CFLAGS_value='-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color' >ac_cv_env_CPPFLAGS_set= >ac_cv_env_CPPFLAGS_value= >ac_cv_env_CPP_set=set >ac_cv_env_CPP_value='x86_64-pc-linux-gnu-clang -E' >ac_cv_env_CXXCPP_set= >ac_cv_env_CXXCPP_value= >ac_cv_env_CXXFLAGS_set=set >ac_cv_env_CXXFLAGS_value='-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color' >ac_cv_env_CXX_set=set >ac_cv_env_CXX_value=x86_64-pc-linux-gnu-clang++ >ac_cv_env_LDFLAGS_set=set >ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld' >ac_cv_env_LIBS_set= >ac_cv_env_LIBS_value= >ac_cv_env_LT_SYS_LIBRARY_PATH_set= >ac_cv_env_LT_SYS_LIBRARY_PATH_value= >ac_cv_env_PKG_CONFIG_LIBDIR_set= >ac_cv_env_PKG_CONFIG_LIBDIR_value= >ac_cv_env_PKG_CONFIG_PATH_set=set >ac_cv_env_PKG_CONFIG_PATH_value=/var/tmp/portage/dev-python/graph-tool-2.29/temp/python3.7/pkgconfig >ac_cv_env_PKG_CONFIG_set= >ac_cv_env_PKG_CONFIG_value= >ac_cv_env_PYTHON_VERSION_set= >ac_cv_env_PYTHON_VERSION_value= >ac_cv_env_PYTHON_set=set >ac_cv_env_PYTHON_value=/usr/bin/python3.7 >ac_cv_env_SPARSEHASH_CFLAGS_set= >ac_cv_env_SPARSEHASH_CFLAGS_value= >ac_cv_env_SPARSEHASH_LIBS_set= >ac_cv_env_SPARSEHASH_LIBS_value= >ac_cv_env_build_alias_set=set >ac_cv_env_build_alias_value=x86_64-pc-linux-gnu >ac_cv_env_host_alias_set=set >ac_cv_env_host_alias_value=x86_64-pc-linux-gnu >ac_cv_env_target_alias_set= >ac_cv_env_target_alias_value= >ac_cv_header_dlfcn_h=yes >ac_cv_header_inttypes_h=yes >ac_cv_header_memory_h=yes >ac_cv_header_minix_config_h=no >ac_cv_header_stdc=yes >ac_cv_header_stdint_h=yes >ac_cv_header_stdlib_h=yes >ac_cv_header_string_h=yes >ac_cv_header_strings_h=yes >ac_cv_header_sys_stat_h=yes >ac_cv_header_sys_types_h=yes >ac_cv_header_unistd_h=yes >ac_cv_host=x86_64-pc-linux-gnu >ac_cv_objext=o >ac_cv_path_EGREP='/bin/grep -E' >ac_cv_path_FGREP='/bin/grep -F' >ac_cv_path_GREP=/bin/grep >ac_cv_path_PKG_CONFIG=/usr/bin/x86_64-pc-linux-gnu-pkg-config >ac_cv_path_SED=/bin/sed >ac_cv_path_install='/usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c' >ac_cv_path_lt_DD=/bin/dd >ac_cv_path_mkdir=/bin/mkdir >ac_cv_prog_AR=llvm-ar >ac_cv_prog_AWK=gawk >ac_cv_prog_CC=x86_64-pc-linux-gnu-clang >ac_cv_prog_CPP='x86_64-pc-linux-gnu-clang -E' >ac_cv_prog_CXXCPP='x86_64-pc-linux-gnu-clang++ -E' >ac_cv_prog_OBJDUMP=llvm-objdump >ac_cv_prog_RANLIB=llvm-ranlib >ac_cv_prog_STRIP=llvm-strip >ac_cv_prog_cc_c89= >ac_cv_prog_cc_c99=no >ac_cv_prog_cc_g=yes >ac_cv_prog_cc_stdc= >ac_cv_prog_cxx_g=yes >ac_cv_prog_make_make_set=yes >ac_cv_safe_to_define___extensions__=yes >ac_cv_search_strerror='none required' >ac_cv_target=x86_64-pc-linux-gnu >am_cv_CC_dependencies_compiler_type=none >am_cv_CXX_dependencies_compiler_type=none >am_cv_make_support_nested_variables=yes >am_cv_prog_cc_c_o=yes >am_cv_prog_tar_pax=gnutar >ax_cv_cxx_compile_cxx17=no >ax_cv_cxx_compile_cxx17__std_gnupp17=yes >ax_cv_cxx_openmp=-fopenmp >lt_cv_ar_at_file=@ >lt_cv_archive_cmds_need_lc=no >lt_cv_deplibs_check_method=pass_all >lt_cv_file_magic_cmd='$MAGIC_CMD' >lt_cv_file_magic_test_file= >lt_cv_ld_reload_flag=-r >lt_cv_nm_interface='BSD nm' >lt_cv_objdir=.libs >lt_cv_path_LD=ld.lld >lt_cv_path_LDCXX='ld.lld -m elf_x86_64' >lt_cv_path_NM=llvm-nm >lt_cv_path_mainfest_tool=no >lt_cv_prog_compiler_c_o=yes >lt_cv_prog_compiler_c_o_CXX=yes >lt_cv_prog_compiler_pic='-fPIC -DPIC' >lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' >lt_cv_prog_compiler_pic_works=yes >lt_cv_prog_compiler_pic_works_CXX=yes >lt_cv_prog_compiler_rtti_exceptions=yes >lt_cv_prog_compiler_static_works=yes >lt_cv_prog_compiler_static_works_CXX=yes >lt_cv_prog_gnu_ld=yes >lt_cv_prog_gnu_ldcxx=yes >lt_cv_sharedlib_from_linklib_cmd='printf %s\n' >lt_cv_shlibpath_overrides_runpath=yes >lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' >lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' >lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' >lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' >lt_cv_sys_global_symbol_to_import= >lt_cv_sys_max_cmd_len=1572864 >lt_cv_to_host_file_cmd=func_convert_file_noop >lt_cv_to_tool_file_cmd=func_convert_file_noop >lt_cv_truncate_bin='/bin/dd bs=4096 count=1' > >## ----------------- ## >## Output variables. ## >## ----------------- ## > >ACLOCAL='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.29/work/graph-tool-2.29-python3_7/build-aux/missing aclocal-1.16' >AMDEPBACKSLASH='' >AMDEP_FALSE='' >AMDEP_TRUE='#' >AMTAR='$${TAR-tar}' >AM_BACKSLASH='\' >AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' >AM_DEFAULT_VERBOSITY='1' >AM_V='$(V)' >AR='llvm-ar' >AUTOCONF='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.29/work/graph-tool-2.29-python3_7/build-aux/missing autoconf' >AUTOHEADER='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.29/work/graph-tool-2.29-python3_7/build-aux/missing autoheader' >AUTOMAKE='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.29/work/graph-tool-2.29-python3_7/build-aux/missing automake-1.16' >AWK='gawk' >BOOST_CONTEXT_LIB='' >BOOST_COROUTINE_LIB='' >BOOST_CPPFLAGS='' >BOOST_GRAPH_LIB='' >BOOST_IOSTREAMS_LIB='' >BOOST_LDFLAGS='' >BOOST_PYTHON_LIB='' >BOOST_REGEX_LIB='' >BOOST_THREAD_LIB='' >CAIROMM_CFLAGS='' >CAIROMM_LIBS='' >CC='x86_64-pc-linux-gnu-clang' >CCDEPMODE='depmode=none' >CFLAGS='-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color' >CGAL_CPPFLAGS='' >CGAL_FLAGS='' >CGAL_LDFLAGS='' >CPP='x86_64-pc-linux-gnu-clang -E' >CPPFLAGS='-DNDEBUG ' >CXX='x86_64-pc-linux-gnu-clang++ -std=gnu++17' >CXXCPP='x86_64-pc-linux-gnu-clang++ -E -std=gnu++17' >CXXDEPMODE='depmode=none' >CXXFLAGS='-fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wno-register' >CYGPATH_W='echo' >DEFS='' >DEPDIR='.deps' >DLLTOOL='false' >DSYMUTIL='' >DUMPBIN='' >ECHO_C='' >ECHO_N='-n' >ECHO_T='' >EGREP='/bin/grep -E' >EXEEXT='' >EXPAT_CFLAGS='-I/usr/include' >EXPAT_LDFLAGS='' >EXPAT_LIBS='' >EXPAT_VERSION='' >FGREP='/bin/grep -F' >GRAPH_TOOL_VERSION_MAJOR='2' >GRAPH_TOOL_VERSION_MINOR='29' >GREP='/bin/grep' >HAVE_CXX17='1' >INSTALL_DATA='${INSTALL} -m 644' >INSTALL_PROGRAM='${INSTALL}' >INSTALL_SCRIPT='${INSTALL}' >INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' >LD='ld.lld -m elf_x86_64' >LDFLAGS='-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld' >LIBOBJS='' >LIBS='' >LIBTOOL='$(SHELL) $(top_builddir)/libtool' >LIPO='' >LN_S='ln -s' >LTLIBOBJS='' >LT_SYS_LIBRARY_PATH='' >MAKEINFO='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.29/work/graph-tool-2.29-python3_7/build-aux/missing makeinfo' >MANIFEST_TOOL=':' >MKDIR_P='/bin/mkdir -p' >MOD_CPPFLAGS='' >MOD_DIR='' >MOD_LDFLAGS='' >MOD_LIBADD='' >NM='llvm-nm' >NMEDIT='' >NO_PREFIX_PACKAGE_DATA_DIR='' >NO_PREFIX_PACKAGE_DOC_DIR='' >OBJDUMP='llvm-objdump' >OBJEXT='o' >OTOOL64='' >OTOOL='' >PACKAGE='graph-tool' >PACKAGE_BUGREPORT='http://graph-tool.skewed.de/issues' >PACKAGE_DATA_DIR='' >PACKAGE_DOC_DIR='' >PACKAGE_NAME='graph-tool' >PACKAGE_STRING='graph-tool 2.29' >PACKAGE_TARNAME='graph-tool' >PACKAGE_URL='http://graph-tool.skewed.de' >PACKAGE_VERSION='2.29' >PATH_SEPARATOR=':' >PKG_CONFIG='/usr/bin/x86_64-pc-linux-gnu-pkg-config' >PKG_CONFIG_LIBDIR='' >PKG_CONFIG_PATH='/var/tmp/portage/dev-python/graph-tool-2.29/temp/python3.7/pkgconfig' >PYTHON='/usr/bin/python3.7' >PYTHON_CPPFLAGS='' >PYTHON_EXEC_PREFIX='' >PYTHON_EXTRA_LDFLAGS='' >PYTHON_EXTRA_LIBS='' >PYTHON_FULL_VERSION='' >PYTHON_LIBS='' >PYTHON_PLATFORM='' >PYTHON_PREFIX='' >PYTHON_SITE_PKG='' >PYTHON_VERSION='' >RANLIB='llvm-ranlib' >SED='/bin/sed' >SET_MAKE='' >SHELL='/bin/sh' >SPARSEHASH_CFLAGS='' >SPARSEHASH_LIBS='' >STRIP='llvm-strip' >VERSION='2.29' >ac_ct_AR='' >ac_ct_CC='' >ac_ct_CXX='' >ac_ct_DUMPBIN='' >am__EXEEXT_FALSE='' >am__EXEEXT_TRUE='' >am__fastdepCC_FALSE='' >am__fastdepCC_TRUE='#' >am__fastdepCXX_FALSE='' >am__fastdepCXX_TRUE='#' >am__include='include' >am__isrc='' >am__leading_dot='.' >am__nodep='' >am__quote='' >am__tar='tar --format=posix -chf - "$$tardir"' >am__untar='tar -xf -' >bindir='${exec_prefix}/bin' >build='x86_64-pc-linux-gnu' >build_alias='x86_64-pc-linux-gnu' >build_cpu='x86_64' >build_os='linux-gnu' >build_vendor='pc' >datadir='/usr/share' >datarootdir='${prefix}/share' >docdir='/usr/share/doc/graph-tool-2.29' >dvidir='${docdir}' >exec_prefix='NONE' >host='x86_64-pc-linux-gnu' >host_alias='x86_64-pc-linux-gnu' >host_cpu='x86_64' >host_os='linux-gnu' >host_vendor='pc' >htmldir='/usr/share/doc/graph-tool-2.29/html' >includedir='${prefix}/include' >infodir='/usr/share/info' >install_sh='${SHELL} /var/tmp/portage/dev-python/graph-tool-2.29/work/graph-tool-2.29-python3_7/build-aux/install-sh' >libdir='/usr/lib64' >libexecdir='${exec_prefix}/libexec' >localedir='${datarootdir}/locale' >localstatedir='/var/lib' >mandir='/usr/share/man' >mkdir_p='$(MKDIR_P)' >oldincludedir='/usr/include' >pdfdir='${docdir}' >pkgconfig_libdir='' >pkgconfig_libfile='' >pkgconfigdir='${libdir}/pkgconfig' >pkgpyexecdir='' >pkgpythondir='' >prefix='/usr' >program_transform_name='s,x,x,' >psdir='${docdir}' >pyexecdir='' >pythondir='' >sbindir='${exec_prefix}/sbin' >sharedstatedir='${prefix}/com' >sysconfdir='/etc' >target='x86_64-pc-linux-gnu' >target_alias='' >target_cpu='x86_64' >target_os='linux-gnu' >target_vendor='pc' > >## ----------- ## >## confdefs.h. ## >## ----------- ## > >/* confdefs.h */ >#define PACKAGE_NAME "graph-tool" >#define PACKAGE_TARNAME "graph-tool" >#define PACKAGE_VERSION "2.29" >#define PACKAGE_STRING "graph-tool 2.29" >#define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues" >#define PACKAGE_URL "http://graph-tool.skewed.de" >#define PACKAGE "graph-tool" >#define VERSION "2.29" >#define STDC_HEADERS 1 >#define HAVE_SYS_TYPES_H 1 >#define HAVE_SYS_STAT_H 1 >#define HAVE_STDLIB_H 1 >#define HAVE_STRING_H 1 >#define HAVE_MEMORY_H 1 >#define HAVE_STRINGS_H 1 >#define HAVE_INTTYPES_H 1 >#define HAVE_STDINT_H 1 >#define HAVE_UNISTD_H 1 >#define __EXTENSIONS__ 1 >#define _ALL_SOURCE 1 >#define _GNU_SOURCE 1 >#define _POSIX_PTHREAD_SEMANTICS 1 >#define _TANDEM_SOURCE 1 >#define STDC_HEADERS 1 >#define HAVE_DLFCN_H 1 >#define LT_OBJDIR ".libs/" >#define HAVE_CXX17 1 >#define OPENMP_MIN_THRESH 300 >#define HAVE_OPENMP 1 > >configure: exit 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 737974
:
655450
| 655452