This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libnl configure 3.9.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
$ ./configure --target=aarch64_be-buildroot-linux-gnu --host=aarch64_be-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix= --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --enable-cli --disable-unit-tests
## --------- ##
## Platform. ##
## --------- ##
hostname = Brett-Arch
uname -m = x86_64
uname -r = 6.9.3-arch1-1
uname -s = Linux
uname -v = #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000
/usr/bin/uname -p = unknown
/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: /home/autobuild/autobuild/instance-4/output-1/host/bin/
PATH: /home/autobuild/autobuild/instance-4/output-1/host/sbin/
PATH: /home/autobuild/make/
PATH: /usr/local/sbin/
PATH: /usr/local/bin/
PATH: /usr/bin/
PATH: /usr/lib/jvm/default/bin/
PATH: /usr/bin/site_perl/
PATH: /usr/bin/vendor_perl/
PATH: /usr/bin/core_perl/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2459: looking for aux files: config.guess config.sub ltmain.sh compile ar-lib missing install-sh
configure:2472: trying ./build-aux/
configure:2501: ./build-aux/config.guess found
configure:2501: ./build-aux/config.sub found
configure:2501: ./build-aux/ltmain.sh found
configure:2501: ./build-aux/compile found
configure:2501: ./build-aux/ar-lib found
configure:2501: ./build-aux/missing found
configure:2483: ./build-aux/install-sh found
configure:2634: checking for a BSD-compatible install
configure:2707: result: /usr/bin/install -c
configure:2718: checking whether build environment is sane
configure:2773: result: yes
configure:2829: checking for aarch64_be-buildroot-linux-gnu-strip
configure:2861: result: /bin/true
configure:2932: checking for a race-free mkdir -p
configure:2976: result: /usr/bin/mkdir -p
configure:2983: checking for gawk
configure:3004: found /usr/bin/gawk
configure:3015: result: gawk
configure:3026: checking whether make sets $(MAKE)
configure:3049: result: yes
configure:3079: checking whether make supports nested variables
configure:3097: result: yes
configure:3245: checking whether make supports nested variables
configure:3263: result: yes
configure:3287: checking whether make supports the include directive
configure:3302: make -f confmf.GNU && cat confinc.out
make[1]: Entering directory '/home/autobuild/autobuild/instance-4/output-1/build/libnl-3.9.0'
make[1]: Leaving directory '/home/autobuild/autobuild/instance-4/output-1/build/libnl-3.9.0'
this is the am__doit target
configure:3305: $? = 0
configure:3324: result: yes (GNU style)
configure:3355: checking for aarch64_be-buildroot-linux-gnu-gcc
configure:3387: result: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc
configure:3785: checking for C compiler version
configure:3794: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc --version >&5
aarch64_be-linux-gnu-gcc (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3805: $? = 0
configure:3794: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/aarch64_be-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/aarch64_be-linux-gnu/7.3.1/lto-wrapper
Target: aarch64_be-linux-gnu
Configured with: '/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/snapshots/gcc.git~linaro-7.3-2018.05/configure' SHELL=/bin/bash --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto --enable-shared --without-included-gettext --enable-nls --with-system-zlib --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --with-isl=no --disable-multilib --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 --with-arch=armv8-a --enable-threads=posix --enable-multiarch --enable-libstdcxx-time=yes --enable-gnu-indirect-function --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/sysroots/aarch64_be-linux-gnu --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu/aarch64_be-linux-gnu/libc --enable-checking=release --disable-bootstrap --enable-languages=c,c++,fortran,lto --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=aarch64_be-linux-gnu --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu
Thread model: posix
gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)
COMPILER_PATH=/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/aarch64_be-linux-gnu/7.3.1/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/aarch64_be-linux-gnu/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/bin/
LIBRARY_PATH=/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/lib/../lib64/:/home/autobuild/autobuild/instance-4/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/lib/../lib64/:/home/autobuild/autobuild/instance-4/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/lib/../lib64/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/lib/:/home/autobuild/autobuild/instance-4/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/lib/:/home/autobuild/autobuild/instance-4/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/lib/
COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector' '-mcpu=thunderx2t99p1' '-v' '-mbig-endian'
... rest of stderr output deleted ...
configure:3805: $? = 1
configure:3794: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -V >&5
aarch64_be-linux-gnu-gcc: error: unrecognized command line option '-V'
configure:3805: $? = 1
configure:3794: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -qversion >&5
aarch64_be-linux-gnu-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
configure:3805: $? = 1
configure:3794: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -version >&5
aarch64_be-linux-gnu-gcc: error: unrecognized command line option '-version'
configure:3805: $? = 1
configure:3825: checking whether the C compiler works
configure:3847: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:3851: $? = 0
configure:3901: result: yes
configure:3904: checking for C compiler default output file name
configure:3906: result: a.out
configure:3912: checking for suffix of executables
configure:3919: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:3923: $? = 0
configure:3946: result:
configure:3968: checking whether we are cross compiling
configure:4006: result: yes
configure:4011: checking for suffix of object files
configure:4034: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:4038: $? = 0
configure:4060: result: o
configure:4064: checking whether the compiler supports GNU C
configure:4084: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:4084: $? = 0
configure:4094: result: yes
configure:4105: checking whether /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc accepts -g
configure:4126: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:4126: $? = 0
configure:4170: result: yes
configure:4190: checking for /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc option to enable C11 features
configure:4205: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
conftest.c: In function 'main':
conftest.c:271:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
configure:4205: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| // Does the compiler advertise C11 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
| # error "Compiler does not advertise C11 conformance"
| #endif
|
| // Check _Alignas.
| char _Alignas (double) aligned_as_double;
| char _Alignas (0) no_special_alignment;
| extern char aligned_as_int;
| char _Alignas (0) _Alignas (int) aligned_as_int;
|
| // Check _Alignof.
| enum
| {
| int_alignment = _Alignof (int),
| int_array_alignment = _Alignof (int[100]),
| char_alignment = _Alignof (char)
| };
| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
|
| // Check _Noreturn.
| int _Noreturn does_not_return (void) { for (;;) continue; }
|
| // Check _Static_assert.
| struct test_static_assert
| {
| int x;
| _Static_assert (sizeof (int) <= sizeof (long int),
| "_Static_assert does not work in struct");
| long int y;
| };
|
| // Check UTF-8 literals.
| #define u8 syntax error!
| char const utf8_literal[] = u8"happens to be ASCII" "another string";
|
| // Check duplicate typedefs.
| typedef long *long_ptr;
| typedef long int *long_ptr;
| typedef long_ptr long_ptr;
|
| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
| struct anonymous
| {
| union {
| struct { int i; int j; };
| struct { int k; long int l; } w;
| };
| int m;
| } v1;
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
|
| _Static_assert ((offsetof (struct anonymous, i)
| == offsetof (struct anonymous, w.k)),
| "Anonymous union alignment botch");
| v1.i = 2;
| v1.w.k = 5;
| ok |= v1.i != 5;
|
| return ok;
| }
|
configure:4205: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -std=gnu11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
conftest.c: In function 'main':
conftest.c:271:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
configure:4205: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| // Does the compiler advertise C11 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
| # error "Compiler does not advertise C11 conformance"
| #endif
|
| // Check _Alignas.
| char _Alignas (double) aligned_as_double;
| char _Alignas (0) no_special_alignment;
| extern char aligned_as_int;
| char _Alignas (0) _Alignas (int) aligned_as_int;
|
| // Check _Alignof.
| enum
| {
| int_alignment = _Alignof (int),
| int_array_alignment = _Alignof (int[100]),
| char_alignment = _Alignof (char)
| };
| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
|
| // Check _Noreturn.
| int _Noreturn does_not_return (void) { for (;;) continue; }
|
| // Check _Static_assert.
| struct test_static_assert
| {
| int x;
| _Static_assert (sizeof (int) <= sizeof (long int),
| "_Static_assert does not work in struct");
| long int y;
| };
|
| // Check UTF-8 literals.
| #define u8 syntax error!
| char const utf8_literal[] = u8"happens to be ASCII" "another string";
|
| // Check duplicate typedefs.
| typedef long *long_ptr;
| typedef long int *long_ptr;
| typedef long_ptr long_ptr;
|
| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
| struct anonymous
| {
| union {
| struct { int i; int j; };
| struct { int k; long int l; } w;
| };
| int m;
| } v1;
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
|
| _Static_assert ((offsetof (struct anonymous, i)
| == offsetof (struct anonymous, w.k)),
| "Anonymous union alignment botch");
| v1.i = 2;
| v1.w.k = 5;
| ok |= v1.i != 5;
|
| return ok;
| }
|
configure:4218: result: unsupported
configure:4236: checking for /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc option to enable C99 features
configure:4251: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
conftest.c: In function 'main':
conftest.c:211:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| return ok;
| }
|
configure:4251: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -std=gnu99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
conftest.c: In function 'main':
conftest.c:211:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| return ok;
| }
|
configure:4251: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -std=c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
conftest.c: In function 'main':
conftest.c:211:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| return ok;
| }
|
configure:4251: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
aarch64_be-linux-gnu-gcc: error: unrecognized command line option '-c99'
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| return ok;
| }
|
configure:4251: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -qlanglvl=extc1x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
aarch64_be-linux-gnu-gcc: error: unrecognized command line option '-qlanglvl=extc1x'
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| return ok;
| }
|
configure:4251: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -qlanglvl=extc99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
aarch64_be-linux-gnu-gcc: error: unrecognized command line option '-qlanglvl=extc99'
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| return ok;
| }
|
configure:4251: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -AC99 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
:0:1: error: missing '(' after predicate
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| return ok;
| }
|
configure:4251: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -D_STDC_C99= -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
conftest.c: In function 'main':
conftest.c:211:1: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
configure:4251: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| /* end confdefs.h. */
|
| /* Does the compiler advertise C89 conformance?
| Do not test the value of __STDC__, because some compilers set it to 0
| while being otherwise adequately conformant. */
| #if !defined __STDC__
| # error "Compiler does not advertise C89 conformance"
| #endif
|
| #include
| #include
| struct stat;
| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
| struct buf { int x; };
| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
| static char *e (p, i)
| char **p;
| int i;
| {
| return p[i];
| }
| static char *f (char * (*g) (char **, int), char **p, ...)
| {
| char *s;
| va_list v;
| va_start (v,p);
| s = g (p, va_arg (v,int));
| va_end (v);
| return s;
| }
|
| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
| function prototypes and stuff, but not \xHH hex character constants.
| These do not provoke an error unfortunately, instead are silently treated
| as an "x". The following induces an error, until -std is added to get
| proper ANSI mode. Curiously \x00 != x always comes out true, for an
| array size at least. It is necessary to write \x00 == 0 to get something
| that is true only with -std. */
| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
| inside strings and character constants. */
| #define FOO(x) 'x'
| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
| int test (int i, double x);
| struct s1 {int (*f) (int a);};
| struct s2 {int (*f) (double a);};
| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
| int, int);
|
| // Does the compiler advertise C99 conformance?
| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
| # error "Compiler does not advertise C99 conformance"
| #endif
|
| #include
| extern int puts (const char *);
| extern int printf (const char *, ...);
| extern int dprintf (int, const char *, ...);
| extern void *malloc (size_t);
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| // dprintf is used instead of fprintf to avoid needing to declare
| // FILE and stderr.
| #define debug(...) dprintf (2, __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
| #error "your preprocessor is broken"
| #endif
| #if BIG_OK
| #else
| #error "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 bool
| 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 = 0;
| float fnumber = 0;
|
| 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);
|
| return *str && number && fnumber;
| }
|
|
| int
| main (int argc, char **argv)
| {
| int ok = 0;
|
| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
|
|
| // Check bool.
| _Bool success = false;
| success |= (argc != 0);
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| success &= 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[0] = argv[0][0];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| return ok;
| }
|
configure:4264: result: unsupported
configure:4282: checking for /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc option to enable C89 features
configure:4297: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:4297: $? = 0
configure:4315: result: none needed
configure:4339: checking whether /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc understands -c and -o together
configure:4362: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c conftest.c -o conftest2.o
configure:4365: $? = 0
configure:4362: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c conftest.c -o conftest2.o
configure:4365: $? = 0
configure:4377: result: yes
configure:4396: checking dependency style of /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc
configure:4508: result: none
configure:4530: checking for aarch64_be-buildroot-linux-gnu-ar
configure:4562: result: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar
configure:4637: checking the archiver (/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar) interface
configure:4654: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:4654: $? = 0
configure:4657: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar cru libconftest.a conftest.o >&5
configure:4660: $? = 0
configure:4688: result: ar
configure:4735: checking for aarch64_be-buildroot-linux-gnu-gcc
configure:4767: result: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc
configure:5165: checking for C compiler version
configure:5174: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc --version >&5
aarch64_be-linux-gnu-gcc (Linaro GCC 7.3-2018.05) 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:5185: $? = 0
configure:5174: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/aarch64_be-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/aarch64_be-linux-gnu/7.3.1/lto-wrapper
Target: aarch64_be-linux-gnu
Configured with: '/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/snapshots/gcc.git~linaro-7.3-2018.05/configure' SHELL=/bin/bash --with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu --with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu --with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto --enable-shared --without-included-gettext --enable-nls --with-system-zlib --disable-sjlj-exceptions --enable-gnu-unique-object --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long --with-cloog=no --with-ppl=no --with-isl=no --disable-multilib --enable-fix-cortex-a53-835769 --enable-fix-cortex-a53-843419 --with-arch=armv8-a --enable-threads=posix --enable-multiarch --enable-libstdcxx-time=yes --enable-gnu-indirect-function --with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/sysroots/aarch64_be-linux-gnu --with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu/aarch64_be-linux-gnu/libc --enable-checking=release --disable-bootstrap --enable-languages=c,c++,fortran,lto --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=aarch64_be-linux-gnu --prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64_be-linux-gnu/_build/builds/destdir/x86_64-unknown-linux-gnu
Thread model: posix
gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)
COMPILER_PATH=/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/aarch64_be-linux-gnu/7.3.1/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/aarch64_be-linux-gnu/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../libexec/gcc/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/bin/
LIBRARY_PATH=/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/lib/../lib64/:/home/autobuild/autobuild/instance-4/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/lib/../lib64/:/home/autobuild/autobuild/instance-4/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/lib/../lib64/:/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/lib/:/home/autobuild/autobuild/instance-4/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/lib/:/home/autobuild/autobuild/instance-4/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/lib/
COLLECT_GCC_OPTIONS='-mabi=lp64' '-fstack-protector' '-mcpu=thunderx2t99p1' '-v' '-mbig-endian'
... rest of stderr output deleted ...
configure:5185: $? = 1
configure:5174: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -V >&5
aarch64_be-linux-gnu-gcc: error: unrecognized command line option '-V'
configure:5185: $? = 1
configure:5174: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -qversion >&5
aarch64_be-linux-gnu-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
configure:5185: $? = 1
configure:5174: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -version >&5
aarch64_be-linux-gnu-gcc: error: unrecognized command line option '-version'
configure:5185: $? = 1
configure:5189: checking whether the compiler supports GNU C
configure:5219: result: yes
configure:5230: checking whether /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc accepts -g
configure:5295: result: yes
configure:5315: checking for /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc option to enable C11 features
configure:5343: result: unsupported
configure:5361: checking for /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc option to enable C99 features
configure:5389: result: unsupported
configure:5407: checking for /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc option to enable C89 features
configure:5440: result: none needed
configure:5464: checking whether /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc understands -c and -o together
configure:5502: result: yes
configure:5521: checking dependency style of /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc
configure:5633: result: none
configure:5682: checking build system type
configure:5697: result: x86_64-pc-linux-gnu
configure:5717: checking host system type
configure:5731: result: aarch64_be-buildroot-linux-gnu
configure:5772: checking how to print strings
configure:5799: result: printf
configure:5820: checking for a sed that does not truncate output
configure:5890: result: /usr/bin/sed
configure:5908: checking for grep that handles long lines and -e
configure:5972: result: /usr/bin/grep
configure:5977: checking for egrep
configure:6045: result: /usr/bin/grep -E
configure:6050: checking for fgrep
configure:6118: result: /usr/bin/grep -F
configure:6154: checking for ld used by /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc
configure:6222: result: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-ld
configure:6229: checking if the linker (/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-ld) is GNU ld
configure:6245: result: yes
configure:6257: checking for BSD- or MS-compatible name lister (nm)
configure:6312: result: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-nm
configure:6452: checking the name lister (/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-nm) interface
configure:6460: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:6463: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-nm "conftest.o"
configure:6466: output
0000000000000000 B some_variable
configure:6473: result: BSD nm
configure:6476: checking whether ln -s works
configure:6480: result: yes
configure:6488: checking the maximum length of command line arguments
configure:6620: result: 1572864
configure:6668: checking how to convert x86_64-pc-linux-gnu file names to aarch64_be-buildroot-linux-gnu format
configure:6709: result: func_convert_file_noop
configure:6716: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:6737: result: func_convert_file_noop
configure:6744: checking for /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-ld option to reload object files
configure:6752: result: -r
configure:6786: checking for aarch64_be-buildroot-linux-gnu-file
configure:6821: result: no
configure:6831: checking for file
configure:6852: found /usr/bin/file
configure:6863: result: file
configure:6875: WARNING: using cross tools not prefixed with host triplet
configure:6894: checking for aarch64_be-buildroot-linux-gnu-objdump
configure:6926: result: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-objdump
configure:7003: checking how to recognize dependent libraries
configure:7204: result: pass_all
configure:7249: checking for aarch64_be-buildroot-linux-gnu-dlltool
configure:7284: result: no
configure:7294: checking for dlltool
configure:7329: result: no
configure:7359: checking how to associate runtime and link libraries
configure:7387: result: printf %s\n
configure:7403: checking for aarch64_be-buildroot-linux-gnu-ar
configure:7435: result: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar
configure:7537: checking for archiver @FILE support
configure:7555: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:7555: $? = 0
configure:7559: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar cr libconftest.a @conftest.lst >&5
configure:7562: $? = 0
configure:7567: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar cr libconftest.a @conftest.lst >&5
/home/autobuild/autobuild/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/aarch64_be-linux-gnu/7.3.1/../../../../aarch64_be-linux-gnu/bin/ar: conftest.o: No such file or directory
configure:7570: $? = 1
configure:7582: result: @
configure:7600: checking for aarch64_be-buildroot-linux-gnu-strip
configure:7632: result: /bin/true
configure:7709: checking for aarch64_be-buildroot-linux-gnu-ranlib
configure:7741: result: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ranlib
configure:7888: checking command to parse /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-nm output from /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc object
configure:8042: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:8045: $? = 0
configure:8049: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-nm conftest.o \| /usr/bin/sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /usr/bin/sed '/ __gnu_lto/d' \> conftest.nm
configure:8052: $? = 0
configure:8118: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5
configure:8121: $? = 0
configure:8159: result: ok
configure:8206: checking for sysroot
configure:8237: result: no
configure:8244: checking for a working dd
configure:8288: result: /usr/bin/dd
configure:8292: checking how to truncate binary pipes
configure:8308: result: /usr/bin/dd bs=4096 count=1
configure:8600: checking for aarch64_be-buildroot-linux-gnu-mt
configure:8635: result: no
configure:8645: checking for mt
configure:8680: result: no
configure:8700: checking if : is a manifest tool
configure:8707: : '-?'
configure:8715: result: no
configure:9440: checking for stdio.h
configure:9440: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9440: $? = 0
configure:9440: result: yes
configure:9440: checking for stdlib.h
configure:9440: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9440: $? = 0
configure:9440: result: yes
configure:9440: checking for string.h
configure:9440: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9440: $? = 0
configure:9440: result: yes
configure:9440: checking for inttypes.h
configure:9440: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9440: $? = 0
configure:9440: result: yes
configure:9440: checking for stdint.h
configure:9440: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9440: $? = 0
configure:9440: result: yes
configure:9440: checking for strings.h
configure:9440: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9440: $? = 0
configure:9440: result: yes
configure:9440: checking for sys/stat.h
configure:9440: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9440: $? = 0
configure:9440: result: yes
configure:9440: checking for sys/types.h
configure:9440: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9440: $? = 0
configure:9440: result: yes
configure:9440: checking for unistd.h
configure:9440: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9440: $? = 0
configure:9440: result: yes
configure:9465: checking for dlfcn.h
configure:9465: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:9465: $? = 0
configure:9465: result: yes
configure:9724: checking for objdir
configure:9740: result: .libs
configure:10004: checking if /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc supports -fno-rtti -fno-exceptions
configure:10023: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:10027: $? = 0
configure:10040: result: no
configure:10398: checking for /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc option to produce PIC
configure:10406: result: -fPIC -DPIC
configure:10414: checking if /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc PIC flag -fPIC -DPIC works
configure:10433: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5
configure:10437: $? = 0
configure:10450: result: yes
configure:10479: checking if /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc static flag -static works
configure:10508: result: yes
configure:10523: checking if /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc supports -c -o file.o
configure:10545: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5
configure:10549: $? = 0
configure:10571: result: yes
configure:10579: checking if /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc supports -c -o file.o
configure:10627: result: yes
configure:10660: checking whether the /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc linker (/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-ld) supports shared libraries
configure:11928: result: yes
configure:11965: checking whether -lc should be explicitly linked in
configure:11974: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:11977: $? = 0
configure:11992: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:11995: $? = 0
configure:12009: result: no
configure:12169: checking dynamic linker characteristics
configure:12751: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:12751: $? = 0
configure:12993: result: GNU/Linux ld.so
configure:13115: checking how to hardcode library paths into programs
configure:13140: result: immediate
configure:13692: checking whether stripping libraries is possible
configure:13724: result: no
configure:13743: checking if libtool supports shared libraries
configure:13745: result: yes
configure:13748: checking whether to build shared libraries
configure:13773: result: yes
configure:13776: checking whether to build static libraries
configure:13780: result: no
configure:13822: checking for flex
configure:13843: found /home/autobuild/autobuild/instance-4/output-1/host/bin/flex
configure:13854: result: flex
configure:13869: checking for bison
configure:13890: found /home/autobuild/autobuild/instance-4/output-1/host/bin/bison
configure:13901: result: bison -y
configure:13913: checking for an ANSI C-conforming const
configure:13980: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:13980: $? = 0
configure:13988: result: yes
configure:13996: checking for inline
configure:14013: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:14013: $? = 0
configure:14022: result: inline
configure:14160: checking pkg-config is at least version 0.9.0
configure:14163: result: yes
configure:14173: checking for check >= 0.9.0
configure:14180: $PKG_CONFIG --exists --print-errors "check >= 0.9.0"
Package check was not found in the pkg-config search path.
Perhaps you should add the directory containing `check.pc'
to the PKG_CONFIG_PATH environment variable
Package 'check', required by 'virtual:world', not found
configure:14183: $? = 1
configure:14197: $PKG_CONFIG --exists --print-errors "check >= 0.9.0"
Package check was not found in the pkg-config search path.
Perhaps you should add the directory containing `check.pc'
to the PKG_CONFIG_PATH environment variable
Package 'check', required by 'virtual:world', not found
configure:14200: $? = 1
configure:14214: result: no
Package 'check', required by 'virtual:world', not found
configure:14230: WARNING: *** Disabling building of unit tests
configure:14304: checking for dlfcn.h
configure:14304: result: yes
configure:14333: checking for pthread_mutex_lock in -lpthread
configure:14356: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpthread >&5
configure:14356: $? = 0
configure:14366: result: yes
configure:14408: checking for strerror_l
configure:14408: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c -lpthread >&5
configure:14408: $? = 0
configure:14408: result: yes
configure:14416: checking for /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc options needed to detect all undeclared functions
configure:14438: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
conftest.c: In function 'main':
conftest.c:31:8: error: 'strchr' undeclared (first use in this function)
(void) strchr;
^~~~~~
conftest.c:31:8: note: each undeclared identifier is reported only once for each function it appears in
configure:14438: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libnl"
| #define PACKAGE_TARNAME "libnl"
| #define PACKAGE_VERSION "3.9.0"
| #define PACKAGE_STRING "libnl 3.9.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
| #define PACKAGE "libnl"
| #define VERSION "3.9.0"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define STDC_HEADERS 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_DLFCN_H 1
| #define HAVE_LIBPTHREAD 1
| #define NL_DEBUG 1
| #define HAVE_STRERROR_L 1
| /* end confdefs.h. */
|
| int
| main (void)
| {
| (void) strchr;
| ;
| return 0;
| }
configure:14465: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:14465: $? = 0
configure:14482: result: none needed
configure:14496: checking whether getprotobyname_r is declared
configure:14496: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:14496: $? = 0
configure:14496: result: yes
configure:14507: checking whether getprotobynumber_r is declared
configure:14507: /home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5
configure:14507: $? = 0
configure:14507: result: yes
configure:14639: checking that generated files are newer than configure
configure:14645: result: done
configure:14696: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by libnl config.status 3.9.0, which was
generated by GNU Autoconf 2.71. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on Brett-Arch
config.status:1126: creating Makefile
config.status:1126: creating libnl-3.0.pc
config.status:1126: creating libnl-route-3.0.pc
config.status:1126: creating libnl-genl-3.0.pc
config.status:1126: creating libnl-nf-3.0.pc
config.status:1126: creating libnl-cli-3.0.pc
config.status:1126: creating libnl-xfrm-3.0.pc
config.status:1126: creating libnl-idiag-3.0.pc
config.status:1126: creating python/setup.py
config.status:1126: creating include/netlink/version.h
config.status:1126: creating include/config.h
config.status:1355: executing depfiles commands
config.status:1355: executing libtool commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_bigendian=yes
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_c_undeclared_builtin_options='none needed'
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 '
ac_cv_env_CHECK_CFLAGS_set=
ac_cv_env_CHECK_CFLAGS_value=
ac_cv_env_CHECK_LIBS_set=
ac_cv_env_CHECK_LIBS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
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=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=set
ac_cv_env_PKG_CONFIG_value=/home/autobuild/autobuild/instance-4/output-1/host/bin/pkg-config
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=aarch64_be-buildroot-linux-gnu
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=aarch64_be-buildroot-linux-gnu
ac_cv_func_calloc_0_nonnull=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_strerror_l=yes
ac_cv_have_decl_getprotobyname_r=yes
ac_cv_have_decl_getprotobynumber_r=yes
ac_cv_have_decl_malloc=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_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=aarch64_be-buildroot-linux-gnu
ac_cv_lbl_unaligned_fail=yes
ac_cv_lib_pthread_pthread_mutex_lock=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/bin/dd
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AR=/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc
ac_cv_prog_FLEX=flex
ac_cv_prog_OBJDUMP=/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-objdump
ac_cv_prog_RANLIB=/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ranlib
ac_cv_prog_STRIP=/bin/true
ac_cv_prog_YACC='bison -y'
ac_cv_prog_ac_ct_FILECMD=file
ac_cv_prog_cc_c11=no
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_make_make_set=yes
am_cv_CC_dependencies_compiler_type=none
am_cv_ar_interface=ar
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
gl_cv_func_malloc_0_nonnull=yes
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=/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-ld
lt_cv_path_NM=/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=no
lt_cv_sys_global_symbol_pipe='/usr/bin/sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | /usr/bin/sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/usr/bin/sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='/usr/bin/sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_lib_search_path_spec=
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='/usr/bin/dd bs=4096 count=1'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} '\''/home/autobuild/autobuild/instance-4/output-1/build/libnl-3.9.0/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='0'
AM_V='$(V)'
AR='/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ar'
AUTOCONF='${SHELL} '\''/home/autobuild/autobuild/instance-4/output-1/build/libnl-3.9.0/build-aux/missing'\'' autoconf'
AUTOHEADER='${SHELL} '\''/home/autobuild/autobuild/instance-4/output-1/build/libnl-3.9.0/build-aux/missing'\'' autoheader'
AUTOMAKE='${SHELL} '\''/home/autobuild/autobuild/instance-4/output-1/build/libnl-3.9.0/build-aux/missing'\'' automake-1.16'
AWK='gawk'
CC='/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc'
CCDEPMODE='depmode=none'
CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 '
CHECK_CFLAGS=''
CHECK_LIBS=''
CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64'
CSCOPE='cscope'
CTAGS='ctags'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DISABLE_PTHREADS_FALSE=''
DISABLE_PTHREADS_TRUE='#'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_CLI_FALSE='#'
ENABLE_CLI_INSTALL_BIN_FALSE='#'
ENABLE_CLI_INSTALL_BIN_TRUE=''
ENABLE_CLI_INSTALL_SBIN_FALSE=''
ENABLE_CLI_INSTALL_SBIN_TRUE='#'
ENABLE_CLI_TRUE=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE='#'
ETAGS='etags'
EXEEXT=''
FGREP='/usr/bin/grep -F'
FILECMD='file'
FLEX='flex'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-ld'
LDFLAGS=''
LIBNL_VERSION='3.9.0'
LIBOBJS=''
LIBS='-lpthread '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_AGE='26'
LT_CURRENT='226'
LT_REVISION='0'
LT_SYS_LIBRARY_PATH=''
MAJ_VERSION='3'
MAKEINFO='${SHELL} '\''/home/autobuild/autobuild/instance-4/output-1/build/libnl-3.9.0/build-aux/missing'\'' makeinfo'
MANIFEST_TOOL=':'
MIC_VERSION='0'
MIN_VERSION='9'
MKDIR_P='/usr/bin/mkdir -p'
NM='/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-nm'
NMEDIT=''
OBJDUMP='/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='libnl'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libnl'
PACKAGE_STRING='libnl 3.9.0'
PACKAGE_TARNAME='libnl'
PACKAGE_URL='http://www.infradead.org/~tgr/libnl/'
PACKAGE_VERSION='3.9.0'
PATH_SEPARATOR=':'
PKG_CONFIG='/home/autobuild/autobuild/instance-4/output-1/host/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB='/home/autobuild/autobuild/instance-4/output-1/host/bin/aarch64_be-linux-gnu-gcc-ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='/bin/true'
VERSION='3.9.0'
WITH_CHECK_FALSE=''
WITH_CHECK_TRUE='#'
YACC='bison -y'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-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='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/usr'
host='aarch64_be-buildroot-linux-gnu'
host_alias='aarch64_be-buildroot-linux-gnu'
host_cpu='aarch64_be'
host_os='linux-gnu'
host_vendor='buildroot'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/autobuild/autobuild/instance-4/output-1/build/libnl-3.9.0/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir='${libdir}/pkgconfig'
prefix='/usr'
program_transform_name='s&^&&'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' doc'
sysconfdir='/etc'
target_alias='aarch64_be-buildroot-linux-gnu'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "libnl"
#define PACKAGE_TARNAME "libnl"
#define PACKAGE_VERSION "3.9.0"
#define PACKAGE_STRING "libnl 3.9.0"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL "http://www.infradead.org/~tgr/libnl/"
#define PACKAGE "libnl"
#define VERSION "3.9.0"
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_STRINGS_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define STDC_HEADERS 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_DLFCN_H 1
#define HAVE_LIBPTHREAD 1
#define NL_DEBUG 1
#define HAVE_STRERROR_L 1
#define HAVE_DECL_GETPROTOBYNAME_R 1
#define HAVE_DECL_GETPROTOBYNUMBER_R 1
configure: exit 0