This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by elfutils configure 0.189, which was generated by GNU Autoconf 2.72. Invocation command line was $ ./configure --target=powerpc64le-buildroot-linux-musl --host=powerpc64le-buildroot-linux-musl --build=aarch64-unknown-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 --program-prefix=eu- --disable-libdebuginfod --disable-debuginfod --disable-demangler --with-bzlib --with-lzma --without-zstd --disable-progs ## --------- ## ## Platform. ## ## --------- ## hostname = asahi-mini uname -m = aarch64 uname -r = 6.5.0-asahi-15-1-ARCH uname -s = Linux uname -v = #1 SMP PREEMPT_DYNAMIC Thu, 12 Oct 2023 08:22:22 +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-0/output-1/per-package/elfutils/host/bin/ PATH: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/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:3258: looking for aux files: config.rpath ar-lib compile config.guess config.sub missing install-sh configure:3271: trying ./config/ configure:3300: ./config/config.rpath found configure:3300: ./config/ar-lib found configure:3300: ./config/compile found configure:3300: ./config/config.guess found configure:3300: ./config/config.sub found configure:3300: ./config/missing found configure:3282: ./config/install-sh found configure:3457: checking for a BSD-compatible install configure:3531: result: /usr/bin/install -c configure:3542: checking whether build environment is sane configure:3597: result: yes configure:3653: checking for powerpc64le-buildroot-linux-musl-strip configure:3686: result: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-strip configure:3758: checking for a race-free mkdir -p configure:3801: result: /usr/bin/mkdir -p configure:3808: checking for gawk configure:3829: found /usr/bin/gawk configure:3841: result: gawk configure:3852: checking whether make sets $(MAKE) configure:3876: result: yes configure:3906: checking whether make supports nested variables configure:3925: result: yes configure:4062: checking whether to enable maintainer-specific portions of Makefiles configure:4073: result: no configure:4099: checking whether make supports nested variables configure:4118: result: yes configure:4148: checking build system type configure:4164: result: aarch64-unknown-linux-gnu configure:4184: checking host system type configure:4199: result: powerpc64le-buildroot-linux-musl configure:4285: checking for powerpc64le-buildroot-linux-musl-gcc configure:4318: result: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc configure:4723: checking for C compiler version configure:4732: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc --version >&5 powerpc64le-buildroot-linux-musl-gcc.br_real (Buildroot 2024.11-rc1-15-g257c1de7e9) 14.2.0 Copyright (C) 2024 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:4743: $? = 0 configure:4732: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -v >&5 GNU ld (GNU Binutils) 2.42 Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim elf64ppc elf32ppc elf32ppclinux elf32ppcsim Using built-in specs. COLLECT_GCC=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc.br_real COLLECT_LTO_WRAPPER=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../libexec/gcc/powerpc64le-buildroot-linux-musl/14.2.0/lto-wrapper Target: powerpc64le-buildroot-linux-musl Configured with: ./configure --prefix=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host --sysconfdir=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host/etc --enable-static --target=powerpc64le-buildroot-linux-musl --with-sysroot=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host/powerpc64le-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host --with-mpc=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host --with-mpfr=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host --with-pkgversion='Buildroot 2024.11-rc1-15-g257c1de7e9' --with-bugurl=https://gitlab.com/buildroot.org/buildroot/-/issues --without-zstd --disable-libmpx --enable-libquadmath --enable-libquadmath-support --disable-libsanitizer --enable-tls --enable-threads --with-isl=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host --with-cpu=power8 --enable-languages=c --with-build-time-tools=/home/autobuild/autobuild/instance-0/output-1/per-package/host-gcc-final/host/powerpc64le-buildroot-linux-musl/bin --enable-shared --enable-libgomp Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.2.0 (Buildroot 2024.11-rc1-15-g257c1de7e9) COMPILER_PATH=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../libexec/gcc/powerpc64le-buildroot-linux-musl/14.2.0/:/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../libexec/gcc/:/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/bin/ LIBRARY_PATH=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/:/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/:/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/lib/../lib64/:/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/powerpc64le-buildroot-linux-musl/sysroot/lib/../lib64/:/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/powerpc64le-buildroot-linux-musl/sysroot/usr/lib/../lib64/:/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/lib/:/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/powerpc64le-buildroot-linux-musl/sysroot/lib/:/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/powerpc64le-buildroot-linux-musl/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:4743: $? = 1 configure:4732: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -V >&5 powerpc64le-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-V' configure:4743: $? = 1 configure:4732: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -qversion >&5 powerpc64le-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:4743: $? = 1 configure:4732: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -version >&5 powerpc64le-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-version' configure:4743: $? = 1 configure:4763: checking whether the C compiler works configure:4785: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic conftest.c >&5 configure:4789: $? = 0 configure:4840: result: yes configure:4844: checking for C compiler default output file name configure:4846: result: a.out configure:4852: checking for suffix of executables configure:4859: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic conftest.c >&5 configure:4863: $? = 0 configure:4887: result: configure:4911: checking whether we are cross compiling configure:4949: result: yes configure:4955: checking for suffix of object files configure:4978: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4982: $? = 0 configure:5006: result: o configure:5010: checking whether the compiler supports GNU C configure:5030: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5030: $? = 0 configure:5042: result: yes configure:5053: checking whether /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc accepts -g configure:5074: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5074: $? = 0 configure:5121: result: yes configure:5141: checking for /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc option to enable C11 features configure:5156: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5156: $? = 0 configure:5175: result: none needed configure:5299: checking whether /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc understands -c and -o together configure:5322: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:5325: $? = 0 configure:5322: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:5325: $? = 0 configure:5338: result: yes configure:5358: checking whether make supports the include directive configure:5373: make -f confmf.GNU && cat confinc.out make[1]: Entering directory '/home/autobuild/autobuild/instance-0/output-1/build/elfutils-0.189' make[1]: Leaving directory '/home/autobuild/autobuild/instance-0/output-1/build/elfutils-0.189' this is the am__doit target configure:5376: $? = 0 configure:5395: result: yes (GNU style) configure:5421: checking dependency style of /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc configure:5534: result: none configure:5679: checking for C++ compiler version configure:5688: no --version >&5 ./configure: line 5690: no: command not found configure:5699: $? = 127 configure:5688: no -v >&5 ./configure: line 5690: no: command not found configure:5699: $? = 127 configure:5688: no -V >&5 ./configure: line 5690: no: command not found configure:5699: $? = 127 configure:5688: no -qversion >&5 ./configure: line 5690: no: command not found configure:5699: $? = 127 configure:5703: checking whether the compiler supports GNU C++ configure:5723: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5723: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | int | main (void) | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:5735: result: no configure:5746: checking whether no accepts -g configure:5767: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5767: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5783: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5783: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5800: no -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5800: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:5814: result: no configure:5834: checking for no option to enable C++11 features configure:5849: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5849: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template auto sum(V first) -> V | { | return first; | } | template auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template> v(test_template(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:5849: no -std=gnu++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5849: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template auto sum(V first) -> V | { | return first; | } | template auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template> v(test_template(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:5849: no -std=gnu++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5849: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template auto sum(V first) -> V | { | return first; | } | template auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template> v(test_template(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:5849: no -std=c++11 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5849: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template auto sum(V first) -> V | { | return first; | } | template auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template> v(test_template(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:5849: no -std=c++0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5849: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template auto sum(V first) -> V | { | return first; | } | template auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template> v(test_template(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:5849: no -qlanglvl=extended0x -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5849: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template auto sum(V first) -> V | { | return first; | } | template auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template> v(test_template(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:5849: no -AA -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5849: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | | // Does the compiler advertise C++ 2011 conformance? | #if !defined __cplusplus || __cplusplus < 201103L | # error "Compiler does not advertise C++11 conformance" | #endif | | namespace cxx11test | { | constexpr int get_val() { return 20; } | | struct testinit | { | int i; | double d; | }; | | class delegate | { | public: | delegate(int n) : n(n) {} | delegate(): delegate(2354) {} | | virtual int getval() { return this->n; }; | protected: | int n; | }; | | class overridden : public delegate | { | public: | overridden(int n): delegate(n) {} | virtual int getval() override final { return this->n * 2; } | }; | | class nocopy | { | public: | nocopy(int i): i(i) {} | nocopy() = default; | nocopy(const nocopy&) = delete; | nocopy & operator=(const nocopy&) = delete; | private: | int i; | }; | | // for testing lambda expressions | template Ret eval(Fn f, Ret v) | { | return f(v); | } | | // for testing variadic templates and trailing return types | template auto sum(V first) -> V | { | return first; | } | template auto sum(V first, Args... rest) -> V | { | return first + sum(rest...); | } | } | | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | | { | // Test auto and decltype | auto a1 = 6538; | auto a2 = 48573953.4; | auto a3 = "String literal"; | | int total = 0; | for (auto i = a3; *i; ++i) { total += *i; } | | decltype(a2) a4 = 34895.034; | } | { | // Test constexpr | short sa[cxx11test::get_val()] = { 0 }; | } | { | // Test initializer lists | cxx11test::testinit il = { 4323, 435234.23544 }; | } | { | // Test range-based for | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; | for (auto &x : array) { x += 23; } | } | { | // Test lambda expressions | using cxx11test::eval; | assert (eval ([](int x) { return x*2; }, 21) == 42); | double d = 2.0; | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); | assert (d == 5.0); | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); | assert (d == 5.0); | } | { | // Test use of variadic templates | using cxx11test::sum; | auto a = sum(1); | auto b = sum(1, 2); | auto c = sum(1.0, 2.0, 3.0); | } | { | // Test constructor delegation | cxx11test::delegate d1; | cxx11test::delegate d2(); | cxx11test::delegate d3(45); | } | { | // Test override and final | cxx11test::overridden o1(55464); | } | { | // Test nullptr | char *c = nullptr; | } | { | // Test template brackets | test_template<::test_template> v(test_template(12)); | } | { | // Unicode literals | char const *utf8 = u8"UTF-8 string \u2500"; | char16_t const *utf16 = u"UTF-8 string \u2500"; | char32_t const *utf32 = U"UTF-32 string \u2500"; | } | | return ok; | } | configure:5863: result: unsupported configure:5883: checking for no option to enable C++98 features configure:5898: no -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5898: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | return ok; | } | configure:5898: no -std=gnu++98 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5898: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | return ok; | } | configure:5898: no -std=c++98 -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5898: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | return ok; | } | configure:5898: no -qlanglvl=extended -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5898: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | return ok; | } | configure:5898: no -AA -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:5898: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | /* end confdefs.h. */ | | // Does the compiler advertise C++98 conformance? | #if !defined __cplusplus || __cplusplus < 199711L | # error "Compiler does not advertise C++98 conformance" | #endif | | // These inclusions are to reject old compilers that | // lack the unsuffixed header files. | #include | #include | | // and are *not* freestanding headers in C++98. | extern void assert (int); | namespace std { | extern int strcmp (const char *, const char *); | } | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". | using std::exception; | using std::strcmp; | | namespace { | | void test_exception_syntax() | { | try { | throw "test"; | } catch (const char *s) { | // Extra parentheses suppress a warning when building autoconf itself, | // due to lint rules shared with more typical C programs. | assert (!(strcmp) (s, "test")); | } | } | | template struct test_template | { | T const val; | explicit test_template(T t) : val(t) {} | template T add(U u) { return static_cast(u) + val; } | }; | | } // anonymous namespace | | int | main (int argc, char **argv) | { | int ok = 0; | | assert (argc); | assert (! argv[0]); | { | test_exception_syntax (); | test_template tt (2.0); | assert (tt.add (4) == 6.0); | assert (true && !false); | } | | return ok; | } | configure:5912: result: unsupported configure:5939: checking dependency style of no configure:6052: result: none configure:6070: checking for powerpc64le-buildroot-linux-musl-ranlib configure:6103: result: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-ranlib configure:6175: checking for bison configure:6196: found /usr/bin/bison configure:6208: result: bison -y configure:6225: checking for flex configure:6246: found /usr/bin/flex configure:6258: result: flex configure:6307: checking for lex output file root configure:6320: flex conftest.l configure:6324: $? = 0 configure:6333: result: lex.yy configure:6348: checking for lex library configure:6373: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic conftest.c >&5 configure:6373: $? = 0 configure:6387: result: none needed configure:6409: checking whether yytext is a pointer configure:6425: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6425: $? = 0 configure:6433: result: yes configure:6452: checking for powerpc64le-buildroot-linux-musl-ar configure:6485: result: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-ar configure:6561: checking the archiver (/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-ar) interface configure:6578: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6578: $? = 0 configure:6581: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-ar cru libconftest.a conftest.o >&5 configure:6584: $? = 0 configure:6613: result: ar configure:6636: checking for powerpc64le-buildroot-linux-musl-readelf configure:6669: result: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-readelf configure:6740: checking for powerpc64le-buildroot-linux-musl-nm configure:6773: result: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-nm configure:6842: checking whether gcc supports __attribute__((visibility())) configure:6858: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6858: $? = 0 configure:6869: result: yes configure:6877: checking whether gcc supports __attribute__((gcc_struct)) configure:6890: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6890: $? = 0 configure:6901: result: yes configure:6909: checking whether gcc supports -fPIC configure:6921: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIC -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6921: $? = 0 configure:6933: result: yes configure:6942: checking whether gcc supports -fPIE configure:6954: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fPIE -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6954: $? = 0 configure:6966: result: yes configure:7030: checking whether gcc supports -Wl,-z,defs configure:7049: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-z,defs -ztext -latomic conftest.c >&5 configure:7049: $? = 0 configure:7062: result: yes configure:7070: checking whether the compiler generates build-ids configure:7087: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic conftest.c >&5 configure:7087: $? = 0 configure:7101: result: no configure:7104: WARNING: compiler doesn't generate build-id by default configure:7110: checking whether gcc supports -Wl,-z,relro configure:7129: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-z,relro -ztext -latomic -Wl,--build-id conftest.c >&5 configure:7129: $? = 0 configure:7142: result: yes configure:7150: checking for __thread support configure:7175: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -shared -Wl,-z,defs -Wl,-z,relro -ztext -latomic -Wl,--build-id conftest.c >&5 configure:7175: $? = 0 configure:7188: result: yes configure:7195: checking whether gcc provides stdatomic.h configure:7205: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7205: $? = 0 configure:7215: result: yes configure:7240: checking for /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc option to enable large file support configure:7275: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7275: $? = 0 configure:7281: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -DFTYPE=ino_t -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7281: $? = 0 configure:7306: result: none needed configure:7409: checking whether fts.h is bad when included (with LFS) configure:7419: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7419: $? = 0 configure:7429: result: no configure:7439: checking whether to add -D_FORTIFY_SOURCE=2 or =3 to CFLAGS configure:7458: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7458: $? = 0 configure:7460: result: yes -D_FORTIFY_SOURCE=3 configure:7993: checking for library containing gzdirect configure:8029: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c >&5 /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/bin/ld: /tmp/ccodzd0P.o: in function `main': conftest.c:(.text+0x14): undefined reference to `gzdirect' collect2: error: ld returned 1 exit status configure:8029: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char gzdirect (void); | int | main (void) | { | return gzdirect (); | ; | return 0; | } configure:8029: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -lz >&5 configure:8029: $? = 0 configure:8051: result: -lz configure:8099: checking for library containing BZ2_bzdopen configure:8135: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c >&5 /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/bin/ld: /tmp/cc3bVTuq.o: in function `main': conftest.c:(.text+0x14): undefined reference to `BZ2_bzdopen' collect2: error: ld returned 1 exit status configure:8135: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char BZ2_bzdopen (void); | int | main (void) | { | return BZ2_bzdopen (); | ; | return 0; | } configure:8135: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -lbz2 >&5 configure:8135: $? = 0 configure:8157: result: -lbz2 configure:8200: checking for library containing lzma_auto_decoder configure:8236: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -lbz2 >&5 /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/bin/ld: /tmp/ccrtWfav.o: in function `main': conftest.c:(.text+0x14): undefined reference to `lzma_auto_decoder' collect2: error: ld returned 1 exit status configure:8236: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char lzma_auto_decoder (void); | int | main (void) | { | return lzma_auto_decoder (); | ; | return 0; | } configure:8236: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -llzma -lbz2 >&5 configure:8236: $? = 0 configure:8258: result: -llzma configure:8635: checking for /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc options needed to detect all undeclared functions configure:8657: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:24:8: error: 'strchr' undeclared (first use in this function) 24 | (void) strchr; | ^~~~~~ conftest.c:1:1: note: 'strchr' is defined in header ''; this is probably fixable by adding '#include ' 1 | /* confdefs.h */ conftest.c:24:8: note: each undeclared identifier is reported only once for each function it appears in 24 | (void) strchr; | ^~~~~~ configure:8657: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | /* end confdefs.h. */ | | int | main (void) | { | (void) strchr; | ; | return 0; | } configure:8684: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8684: $? = 0 configure:8704: result: none needed configure:8718: checking whether memrchr is declared configure:8718: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8718: $? = 0 configure:8718: result: yes configure:8729: checking whether rawmemchr is declared configure:8729: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:31:10: error: 'rawmemchr' undeclared (first use in this function); did you mean 'memchr'? 31 | (void) rawmemchr; | ^~~~~~~~~ | memchr conftest.c:31:10: note: each undeclared identifier is reported only once for each function it appears in configure:8729: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | /* end confdefs.h. */ | #define _GNU_SOURCE | #include | | int | main (void) | { | #ifndef rawmemchr | #ifdef __cplusplus | (void) rawmemchr; | #else | (void) rawmemchr; | #endif | #endif | | ; | return 0; | } configure:8729: result: no configure:8741: checking whether powerof2 is declared configure:8741: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8741: $? = 0 configure:8741: result: yes configure:8752: checking whether mempcpy is declared configure:8752: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8752: $? = 0 configure:8752: result: yes configure:8764: checking whether reallocarray is declared configure:8764: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8764: $? = 0 configure:8764: result: yes configure:8777: checking for process_vm_readv configure:8777: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c >&5 configure:8777: $? = 0 configure:8777: result: yes configure:8783: checking for mremap configure:8783: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c >&5 configure:8783: $? = 0 configure:8783: result: yes configure:8801: checking for stdio.h configure:8801: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8801: $? = 0 configure:8801: result: yes configure:8801: checking for stdlib.h configure:8801: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8801: $? = 0 configure:8801: result: yes configure:8801: checking for string.h configure:8801: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8801: $? = 0 configure:8801: result: yes configure:8801: checking for inttypes.h configure:8801: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8801: $? = 0 configure:8801: result: yes configure:8801: checking for stdint.h configure:8801: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8801: $? = 0 configure:8801: result: yes configure:8801: checking for strings.h configure:8801: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8801: $? = 0 configure:8801: result: yes configure:8801: checking for sys/stat.h configure:8801: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8801: $? = 0 configure:8801: result: yes configure:8801: checking for sys/types.h configure:8801: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8801: $? = 0 configure:8801: result: yes configure:8801: checking for unistd.h configure:8801: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8801: $? = 0 configure:8801: result: yes configure:8826: checking for error.h configure:8826: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c:65:10: fatal error: error.h: No such file or directory 65 | #include | ^~~~~~~~~ compilation terminated. configure:8826: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:8826: result: no configure:8833: checking for err.h configure:8833: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8833: $? = 0 configure:8833: result: yes configure:8841: checking for sched.h configure:8841: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8841: $? = 0 configure:8841: result: yes configure:8848: checking for sched_getaffinity configure:8848: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c >&5 configure:8848: $? = 0 configure:8848: result: yes configure:8855: checking for sys/resource.h configure:8855: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8855: $? = 0 configure:8855: result: yes configure:8862: checking for getrlimit configure:8862: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c >&5 configure:8862: $? = 0 configure:8862: result: yes configure:8872: checking whether strerror_r is declared configure:8872: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:8872: $? = 0 configure:8872: result: yes configure:8892: checking whether strerror_r returns char * configure:8917: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:50:20: error: invalid type argument of unary '*' (have 'int') 50 | char x = *strerror_r (0, buf, sizeof buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ conftest.c:51:21: error: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 51 | char *p = strerror_r (0, buf, sizeof buf); | ^~~~~~~~~~ configure:8917: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | /* end confdefs.h. */ | #include | int | main (void) | { | | char buf[100]; | char x = *strerror_r (0, buf, sizeof buf); | char *p = strerror_r (0, buf, sizeof buf); | return !p || x; | | ; | return 0; | } configure:8927: result: no configure:9054: checking whether symbol versioning is supported configure:9068: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9068: $? = 0 configure:9078: result: yes configure:9105: checking whether gcc accepts -Wstack-usage configure:9117: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wstack-usage=262144 -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9117: $? = 0 configure:9128: result: yes configure:9140: checking whether gcc has a sane -Wlogical-op configure:9153: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wlogical-op -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9153: $? = 0 configure:9164: result: yes configure:9176: checking whether gcc accepts -Wduplicated-cond configure:9188: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wduplicated-cond -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9188: $? = 0 configure:9199: result: yes configure:9211: checking whether gcc accepts -Wnull-dereference configure:9223: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wnull-dereference -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9223: $? = 0 configure:9234: result: yes configure:9246: checking whether gcc accepts -Wimplicit-fallthrough configure:9258: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wimplicit-fallthrough -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9258: $? = 0 configure:9269: result: yes configure:9283: checking whether the compiler accepts -Wimplicit-fallthrough=5 configure:9295: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wimplicit-fallthrough=5 -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9295: $? = 0 configure:9306: result: yes configure:9324: checking whether the compiler accepts -Wtrampolines configure:9336: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wtrampolines -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9336: $? = 0 configure:9347: result: yes configure:9358: checking whether the compiler accepts -Wno-packed-not-aligned configure:9370: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wno-packed-not-aligned -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9370: $? = 0 configure:9381: result: yes configure:9392: checking whether the compiler accepts -Wuse-after-free=3 configure:9404: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -Wuse-after-free=3 -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:9404: $? = 0 configure:9415: result: yes configure:9426: checking whether the compiler accepts -fno-addrsig configure:9438: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -fno-addrsig -Werror -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 powerpc64le-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-fno-addrsig' configure:9438: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | configure:9449: result: no configure:9457: checking for library containing argp_parse configure:9493: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c >&5 /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/bin/ld: /tmp/ccVKxrHd.o: in function `main': conftest.c:(.text+0x14): undefined reference to `argp_parse' collect2: error: ld returned 1 exit status configure:9493: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char argp_parse (void); | int | main (void) | { | return argp_parse (); | ; | return 0; | } configure:9493: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -largp >&5 configure:9493: $? = 0 configure:9515: result: -largp configure:9536: checking for library containing fts_close configure:9572: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c >&5 /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/bin/ld: /tmp/ccg6q2HC.o: in function `main': conftest.c:(.text+0x14): undefined reference to `fts_close' collect2: error: ld returned 1 exit status configure:9572: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char fts_close (void); | int | main (void) | { | return fts_close (); | ; | return 0; | } configure:9572: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -lfts >&5 configure:9572: $? = 0 configure:9594: result: -lfts configure:9615: checking for library containing _obstack_free configure:9651: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c >&5 /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/bin/ld: /tmp/cchwrj8s.o: in function `main': conftest.c:(.text+0x14): undefined reference to `_obstack_free' collect2: error: ld returned 1 exit status configure:9651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char _obstack_free (void); | int | main (void) | { | return _obstack_free (); | ; | return 0; | } configure:9651: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -lobstack >&5 /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/../lib/gcc/powerpc64le-buildroot-linux-musl/14.2.0/../../../../powerpc64le-buildroot-linux-musl/bin/ld: cannot find -lobstack: No such file or directory collect2: error: ld returned 1 exit status configure:9651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. | The 'extern "C"' is for builds by C++ compilers; | although this is not generally supported in C code supporting it here | has little cost and some practical benefit (sr 110532). */ | #ifdef __cplusplus | extern "C" | #endif | char _obstack_free (void); | int | main (void) | { | return _obstack_free (); | ; | return 0; | } configure:9673: result: no configure:9730: checking for a sed that does not truncate output configure:9802: result: /usr/bin/sed configure:9808: checking whether NLS is requested configure:9819: result: no configure:9859: checking for msgfmt configure: trying /usr/bin/msgfmt... 0 translated messages. configure:9893: result: /usr/bin/msgfmt configure:9902: checking for gmsgfmt configure:9939: result: /usr/bin/msgfmt configure:9984: checking for xgettext configure: trying /usr/bin/xgettext... /usr/bin/xgettext: warning: file '/dev/null' extension '' is unknown; will try C configure:10018: result: /usr/bin/xgettext configure:10063: checking for msgmerge configure: trying /usr/bin/msgmerge... configure:10096: result: /usr/bin/msgmerge configure:10162: checking for ld configure:10295: result: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-ld configure:10302: checking if the linker (/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-ld) is GNU ld configure:10319: result: yes configure:10327: checking for shared library run path origin configure:10342: result: done configure:10365: checking 32-bit host C ABI configure:10550: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10550: $? = 0 configure:10638: result: no configure:10648: checking how to run the C preprocessor configure:10719: result: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-cpp configure:10733: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:10733: $? = 0 configure:10749: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:45:10: fatal error: ac_nonexistent.h: No such file or directory 45 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:10749: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | #include configure:10782: checking for egrep -e configure:10912: result: /usr/bin/grep -E configure:10920: checking for ELF binary format configure:10946: result: yes configure:10998: checking for the common suffixes of directories in the library search path configure:11068: result: lib,lib,lib64 configure:11593: checking for CFPreferencesCopyAppValue configure:11612: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -Wl,-framework -Wl,CoreFoundation >&5 conftest.c:45:10: fatal error: CoreFoundation/CFPreferences.h: No such file or directory 45 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:11612: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | #include | int | main (void) | { | CFPreferencesCopyAppValue(NULL, NULL) | ; | return 0; | } configure:11624: result: no configure:11631: checking for CFLocaleCopyPreferredLanguages configure:11650: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -Wl,-framework -Wl,CoreFoundation >&5 conftest.c:45:10: fatal error: CoreFoundation/CFLocale.h: No such file or directory 45 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. configure:11650: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | #include | int | main (void) | { | CFLocaleCopyPreferredLanguages(); | ; | return 0; | } configure:11662: result: no configure:12658: checking whether to use NLS configure:12660: result: no configure:12778: checking size of long configure:12784: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12784: $? = 0 configure:12784: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:76:12: error: size of array 'test_array' is negative 76 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)]; | ^~~~~~~~~~ configure:12784: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:12784: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:76:12: error: size of array 'test_array' is negative 76 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)]; | ^~~~~~~~~~ configure:12784: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:12784: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:76:12: error: size of array 'test_array' is negative 76 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)]; | ^~~~~~~~~~ configure:12784: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:12784: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:76:12: error: size of array 'test_array' is negative 76 | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)]; | ^~~~~~~~~~ configure:12784: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_STDIO_H | # include | #endif | #ifdef HAVE_STDLIB_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main (void) | { | static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 7)]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:12784: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12784: $? = 0 configure:12784: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12784: $? = 0 configure:12784: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12784: $? = 0 configure:12784: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12784: $? = 0 configure:12801: result: 8 configure:12813: checking for struct user_regs_struct configure:12813: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:53:13: error: invalid application of 'sizeof' to incomplete type 'struct user_regs_struct' 53 | if (sizeof (struct user_regs_struct)) | ^~~~~~ configure:12813: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | #include | #include | #include | | int | main (void) | { | if (sizeof (struct user_regs_struct)) | return 0; | ; | return 0; | } configure:12813: result: no configure:12832: checking /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc option for 32-bit word size configure:12846: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -m32 -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 cc1: error: '-m32' not supported in this configuration configure:12846: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | int foo (void) { return 1; } configure:12846: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -m31 -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 powerpc64le-buildroot-linux-musl-gcc.br_real: error: unrecognized command-line option '-m31'; did you mean '-m32'? configure:12846: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | int foo (void) { return 1; } configure:12856: result: none configure:12965: WARNING: not running biarch tests, does not work configure:13134: checking for bunzip2 configure:13155: found /usr/bin/bunzip2 configure:13168: result: yes configure:13184: checking for zstd configure:13205: found /usr/bin/zstd configure:13218: result: yes configure:13258: checking whether no supports C++11 features with -std=c++11 configure:13561: no -std=c++11 -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:13561: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | // MSVC always sets __cplusplus to 199711L in older versions; newer versions | // only set it correctly if /Zc:__cplusplus is specified as well as a | // /std:c++NN switch: | // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ | #elif __cplusplus < 201103L && !defined _MSC_VER | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:13573: result: no configure:13258: checking whether no supports C++11 features with +std=c++11 configure:13561: no +std=c++11 -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:13561: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | // MSVC always sets __cplusplus to 199711L in older versions; newer versions | // only set it correctly if /Zc:__cplusplus is specified as well as a | // /std:c++NN switch: | // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ | #elif __cplusplus < 201103L && !defined _MSC_VER | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:13573: result: no configure:13258: checking whether no supports C++11 features with -h std=c++11 configure:13561: no -h std=c++11 -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:13561: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | // MSVC always sets __cplusplus to 199711L in older versions; newer versions | // only set it correctly if /Zc:__cplusplus is specified as well as a | // /std:c++NN switch: | // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ | #elif __cplusplus < 201103L && !defined _MSC_VER | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:13573: result: no configure:13258: checking whether no supports C++11 features with -std:c++11 configure:13561: no -std:c++11 -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:13561: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | // MSVC always sets __cplusplus to 199711L in older versions; newer versions | // only set it correctly if /Zc:__cplusplus is specified as well as a | // /std:c++NN switch: | // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ | #elif __cplusplus < 201103L && !defined _MSC_VER | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:13573: result: no configure:13258: checking whether no supports C++11 features with -std=c++0x configure:13561: no -std=c++0x -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:13561: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | // MSVC always sets __cplusplus to 199711L in older versions; newer versions | // only set it correctly if /Zc:__cplusplus is specified as well as a | // /std:c++NN switch: | // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ | #elif __cplusplus < 201103L && !defined _MSC_VER | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:13573: result: no configure:13258: checking whether no supports C++11 features with +std=c++0x configure:13561: no +std=c++0x -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:13561: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | // MSVC always sets __cplusplus to 199711L in older versions; newer versions | // only set it correctly if /Zc:__cplusplus is specified as well as a | // /std:c++NN switch: | // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ | #elif __cplusplus < 201103L && !defined _MSC_VER | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:13573: result: no configure:13258: checking whether no supports C++11 features with -h std=c++0x configure:13561: no -h std=c++0x -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:13561: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | // MSVC always sets __cplusplus to 199711L in older versions; newer versions | // only set it correctly if /Zc:__cplusplus is specified as well as a | // /std:c++NN switch: | // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ | #elif __cplusplus < 201103L && !defined _MSC_VER | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:13573: result: no configure:13258: checking whether no supports C++11 features with -std:c++0x configure:13561: no -std:c++0x -c -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5 ./configure: line 1835: no: command not found configure:13561: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "elfutils" | #define PACKAGE_TARNAME "elfutils" | #define PACKAGE_VERSION "0.189" | #define PACKAGE_STRING "elfutils 0.189" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" | #define PACKAGE_URL "http://elfutils.org/" | #define PACKAGE "elfutils" | #define VERSION "0.189" | #define DEFAULT_AR_DETERMINISTIC false | #define YYTEXT_POINTER 1 | #define HAVE_VISIBILITY 1 | #define HAVE_GCC_STRUCT 1 | #define HAVE_STDATOMIC_H 1 | #define CHECK_UNDEFINED 0 | #define USE_ZLIB 1 | #define USE_BZLIB 1 | #define USE_LZMA 1 | #define HAVE_DECL_MEMRCHR 1 | #define HAVE_DECL_RAWMEMCHR 0 | #define HAVE_DECL_POWEROF2 1 | #define HAVE_DECL_MEMPCPY 1 | #define HAVE_DECL_REALLOCARRAY 1 | #define HAVE_PROCESS_VM_READV 1 | #define HAVE_MREMAP 1 | #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_ERR_H 1 | #define HAVE_SCHED_H 1 | #define HAVE_SCHED_GETAFFINITY 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_DECL_STRERROR_R 1 | #define HAVE_STRERROR_R 1 | #define HAVE_FALLTHROUGH 1 | #define SIZEOF_LONG 8 | /* end confdefs.h. */ | | | // If the compiler admits that it is not ready for C++11, why torture it? | // Hopefully, this will speed up the test. | | #ifndef __cplusplus | | #error "This is not a C++ compiler" | | // MSVC always sets __cplusplus to 199711L in older versions; newer versions | // only set it correctly if /Zc:__cplusplus is specified as well as a | // /std:c++NN switch: | // https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ | #elif __cplusplus < 201103L && !defined _MSC_VER | | #error "This is not a C++11 compiler" | | #else | | namespace cxx11 | { | | namespace test_static_assert | { | | template | struct check | { | static_assert(sizeof(int) <= sizeof(T), "not big enough"); | }; | | } | | namespace test_final_override | { | | struct Base | { | virtual ~Base() {} | virtual void f() {} | }; | | struct Derived : public Base | { | virtual ~Derived() override {} | virtual void f() override {} | }; | | } | | namespace test_double_right_angle_brackets | { | | template < typename T > | struct check {}; | | typedef check single_type; | typedef check> double_type; | typedef check>> triple_type; | typedef check>>> quadruple_type; | | } | | namespace test_decltype | { | | int | f() | { | int a = 1; | decltype(a) b = 2; | return a + b; | } | | } | | namespace test_type_deduction | { | | template < typename T1, typename T2 > | struct is_same | { | static const bool value = false; | }; | | template < typename T > | struct is_same | { | static const bool value = true; | }; | | template < typename T1, typename T2 > | auto | add(T1 a1, T2 a2) -> decltype(a1 + a2) | { | return a1 + a2; | } | | int | test(const int c, volatile int v) | { | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == false, ""); | auto ac = c; | auto av = v; | auto sumi = ac + av + 'x'; | auto sumf = ac + av + 1.0; | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == true, ""); | static_assert(is_same::value == false, ""); | static_assert(is_same::value == true, ""); | return (sumf > 0.0) ? sumi : add(c, v); | } | | } | | namespace test_noexcept | { | | int f() { return 0; } | int g() noexcept { return 0; } | | static_assert(noexcept(f()) == false, ""); | static_assert(noexcept(g()) == true, ""); | | } | | namespace test_constexpr | { | | template < typename CharT > | unsigned long constexpr | strlen_c_r(const CharT *const s, const unsigned long acc) noexcept | { | return *s ? strlen_c_r(s + 1, acc + 1) : acc; | } | | template < typename CharT > | unsigned long constexpr | strlen_c(const CharT *const s) noexcept | { | return strlen_c_r(s, 0UL); | } | | static_assert(strlen_c("") == 0UL, ""); | static_assert(strlen_c("1") == 1UL, ""); | static_assert(strlen_c("example") == 7UL, ""); | static_assert(strlen_c("another\0example") == 7UL, ""); | | } | | namespace test_rvalue_references | { | | template < int N > | struct answer | { | static constexpr int value = N; | }; | | answer<1> f(int&) { return answer<1>(); } | answer<2> f(const int&) { return answer<2>(); } | answer<3> f(int&&) { return answer<3>(); } | | void | test() | { | int i = 0; | const int c = 0; | static_assert(decltype(f(i))::value == 1, ""); | static_assert(decltype(f(c))::value == 2, ""); | static_assert(decltype(f(0))::value == 3, ""); | } | | } | | namespace test_uniform_initialization | { | | struct test | { | static const int zero {}; | static const int one {1}; | }; | | static_assert(test::zero == 0, ""); | static_assert(test::one == 1, ""); | | } | | namespace test_lambdas | { | | void | test1() | { | auto lambda1 = [](){}; | auto lambda2 = lambda1; | lambda1(); | lambda2(); | } | | int | test2() | { | auto a = [](int i, int j){ return i + j; }(1, 2); | auto b = []() -> int { return '0'; }(); | auto c = [=](){ return a + b; }(); | auto d = [&](){ return c; }(); | auto e = [a, &b](int x) mutable { | const auto identity = [](int y){ return y; }; | for (auto i = 0; i < a; ++i) | a += b--; | return x + identity(a + b); | }(0); | return a + b + c + d + e; | } | | int | test3() | { | const auto nullary = [](){ return 0; }; | const auto unary = [](int x){ return x; }; | using nullary_t = decltype(nullary); | using unary_t = decltype(unary); | const auto higher1st = [](nullary_t f){ return f(); }; | const auto higher2nd = [unary](nullary_t f1){ | return [unary, f1](unary_t f2){ return f2(unary(f1())); }; | }; | return higher1st(nullary) + higher2nd(nullary)(unary); | } | | } | | namespace test_variadic_templates | { | | template | struct sum; | | template | struct sum | { | static constexpr auto value = N0 + sum::value; | }; | | template <> | struct sum<> | { | static constexpr auto value = 0; | }; | | static_assert(sum<>::value == 0, ""); | static_assert(sum<1>::value == 1, ""); | static_assert(sum<23>::value == 23, ""); | static_assert(sum<1, 2>::value == 3, ""); | static_assert(sum<5, 5, 11>::value == 21, ""); | static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); | | } | | // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae | // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function | // because of this. | namespace test_template_alias_sfinae | { | | struct foo {}; | | template | using member = typename T::member_type; | | template | void func(...) {} | | template | void func(member*) {} | | void test(); | | void test() { func(0); } | | } | | } // namespace cxx11 | | #endif // __cplusplus >= 201103L | | | configure:13573: result: no configure:13602: No compiler with C++11 support was found configure:13858: checking for pthread_setname_np in -lpthread configure:13887: /home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc -o conftest -D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ztext -latomic -Wl,--build-id conftest.c -lpthread >&5 configure:13887: $? = 0 configure:13899: result: yes configure:14527: checking that generated files are newer than configure configure:14533: result: done configure:14718: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by elfutils config.status 0.189, which was generated by GNU Autoconf 2.72. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on asahi-mini config.status:1066: creating config/Makefile config.status:1066: creating Makefile config.status:1066: creating elfutils.spec config.status:1066: creating debuginfod/Makefile config.status:1066: creating debuginfod/debuginfod.h config.status:1066: creating doc/Makefile config.status:1066: creating lib/Makefile config.status:1066: creating libelf/Makefile config.status:1066: creating libebl/Makefile config.status:1066: creating libdwelf/Makefile config.status:1066: creating libdw/Makefile config.status:1066: creating libdwfl/Makefile config.status:1066: creating libcpu/Makefile config.status:1066: creating libasm/Makefile config.status:1066: creating backends/Makefile config.status:1066: creating src/Makefile config.status:1066: creating po/Makefile.in config.status:1066: creating tests/Makefile config.status:1066: creating config/libelf.pc config.status:1066: creating config/libdw.pc config.status:1066: creating config/libdebuginfod.pc config.status:1066: creating version.h config.status:1066: creating config/profile.sh config.status:1066: creating config/profile.csh config.status:1066: creating config.h config.status:1295: executing depfiles commands config.status:1295: executing po-directories commands configure:16175: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-static, --enable-shared configure:16180: ===================================================================== elfutils: 0.189 (eu_version: 189) ===================================================================== Prefix : /usr Program prefix ("eu-" recommended) : eu- Source code location : . Maintainer mode : build arch : aarch64-unknown-linux-gnu CFLAGS=-D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 CXXFLAGS=-D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 RECOMMENDED FEATURES (should all be yes) gzip support : yes bzip2 support : yes lzma/xz support : yes zstd support : no zstd compression support : no libstdc++ demangle support : no File textrel check : yes Symbol versioning : yes NOT RECOMMENDED FEATURES (should all be no) Experimental thread safety : no install elf.h : no OTHER FEATURES Deterministic archives by default : false Native language support : no Extra Valgrind annotations : no libdebuginfod client support : no Debuginfod server support : no Default DEBUGINFOD_URLS : EXTRA TEST FEATURES (used with make check) have bunzip2 installed (required) : yes have zstd installed : yes C++11 : no debug branch prediction : no gprof support : no gcov support : no run all tests under valgrind : no gcc undefined behaviour sanitizer : no gcc address sanitizer : no clang memory sanitizer : no use rpath in tests : no test biarch : no ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_bad_fts=no ac_cv_build=aarch64-unknown-linux-gnu ac_cv_buildid=no ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_undeclared_builtin_options='none needed' ac_cv_cxx_compiler_gnu=no ac_cv_duplicated_cond=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 ' 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_CPP_set=set ac_cv_env_CPP_value=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 ' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=no ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=' -ztext -latomic' ac_cv_env_LIBS_set= ac_cv_env_LIBS_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-0/output-1/per-package/elfutils/host/bin/pkg-config ac_cv_env_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_value= ac_cv_env_ZSTD_COMPRESS_CFLAGS_set= ac_cv_env_ZSTD_COMPRESS_CFLAGS_value= ac_cv_env_ZSTD_COMPRESS_LIBS_set= ac_cv_env_ZSTD_COMPRESS_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=aarch64-unknown-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=powerpc64le-buildroot-linux-musl ac_cv_env_libarchive_CFLAGS_set= ac_cv_env_libarchive_CFLAGS_value= ac_cv_env_libarchive_LIBS_set= ac_cv_env_libarchive_LIBS_value= ac_cv_env_libcurl_CFLAGS_set= ac_cv_env_libcurl_CFLAGS_value= ac_cv_env_libcurl_LIBS_set= ac_cv_env_libcurl_LIBS_value= ac_cv_env_libmicrohttpd_CFLAGS_set= ac_cv_env_libmicrohttpd_CFLAGS_value= ac_cv_env_libmicrohttpd_LIBS_set= ac_cv_env_libmicrohttpd_LIBS_value= ac_cv_env_oldlibmicrohttpd_CFLAGS_set= ac_cv_env_oldlibmicrohttpd_CFLAGS_value= ac_cv_env_oldlibmicrohttpd_LIBS_set= ac_cv_env_oldlibmicrohttpd_LIBS_value= ac_cv_env_sqlite3_CFLAGS_set= ac_cv_env_sqlite3_CFLAGS_value= ac_cv_env_sqlite3_LIBS_set= ac_cv_env_sqlite3_LIBS_value= ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=powerpc64le-buildroot-linux-musl ac_cv_fno_addrsig=no ac_cv_fpic=yes ac_cv_fpie=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_getrlimit=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_mremap=yes ac_cv_func_process_vm_readv=yes ac_cv_func_realloc_0_nonnull=yes ac_cv_func_sched_getaffinity=yes ac_cv_func_strerror_r_char_p=no ac_cv_gcc_struct=yes ac_cv_has_stdatomic=yes ac_cv_have_decl_malloc=yes ac_cv_have_decl_mempcpy=yes ac_cv_have_decl_memrchr=yes ac_cv_have_decl_powerof2=yes ac_cv_have_decl_rawmemchr=no ac_cv_have_decl_reallocarray=yes ac_cv_have_decl_strerror_r=yes ac_cv_header_err_h=yes ac_cv_header_error_h=no ac_cv_header_inttypes_h=yes ac_cv_header_sched_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_resource_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=powerpc64le-buildroot-linux-musl ac_cv_implicit_fallthrough=yes ac_cv_implicit_fallthrough_5=yes ac_cv_lbl_unaligned_fail=no ac_cv_lib_lex='none needed' ac_cv_lib_pthread_pthread_setname_np=yes ac_cv_logical_op=yes ac_cv_no_packed_not_aligned=yes ac_cv_null_dereference=yes ac_cv_objext=o ac_cv_path_EGREP_TRADITIONAL='/usr/bin/grep -E' ac_cv_path_GMSGFMT=/usr/bin/msgfmt ac_cv_path_MSGFMT=/usr/bin/msgfmt ac_cv_path_MSGMERGE=/usr/bin/msgmerge ac_cv_path_SED=/usr/bin/sed ac_cv_path_XGETTEXT=/usr/bin/xgettext ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AR=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc ac_cv_prog_CPP=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-cpp ac_cv_prog_HAVE_BUNZIP2=yes ac_cv_prog_HAVE_ZSTD=yes ac_cv_prog_LEX=flex ac_cv_prog_NM=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-nm ac_cv_prog_RANLIB=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-ranlib ac_cv_prog_READELF=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-readelf ac_cv_prog_STRIP=/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-strip ac_cv_prog_YACC='bison -y' ac_cv_prog_cc_c11= ac_cv_prog_cc_g=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_cxx11=no ac_cv_prog_cxx_cxx98=no ac_cv_prog_cxx_g=no ac_cv_prog_lex_root=lex.yy ac_cv_prog_lex_yytext_pointer=yes ac_cv_prog_make_make_set=yes ac_cv_search_BZ2_bzdopen=-lbz2 ac_cv_search__obstack_free=no ac_cv_search_argp_parse=-largp ac_cv_search_fts_close=-lfts ac_cv_search_gzdirect=-lz ac_cv_search_lzma_auto_decoder=-llzma ac_cv_sizeof_long=8 ac_cv_stack_usage=yes ac_cv_symbol_versioning=yes ac_cv_sys_largefile_opts='none needed' ac_cv_tls=yes ac_cv_trampolines=yes ac_cv_type_struct_user_regs_struct=no ac_cv_use_after_free3=yes ac_cv_visibility=yes ac_cv_zdefs=yes ac_cv_zrelro=yes acl_cv_hardcode_direct=no acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' acl_cv_hardcode_libdir_separator= acl_cv_hardcode_minus_L=no acl_cv_libdirstems=lib,lib,lib64 acl_cv_libext=a acl_cv_libname_spec='lib$name' acl_cv_library_names_spec='$libname$shrext' acl_cv_prog_gnu_ld=yes acl_cv_rpath=done acl_cv_shlibext=so acl_cv_wl=-Wl, am_cv_CC_dependencies_compiler_type=none am_cv_CXX_dependencies_compiler_type=none am_cv_ar_interface=ar am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes ax_cv_cxx_compile_cxx11__h_std_cpp0x=no ax_cv_cxx_compile_cxx11__h_std_cpp11=no ax_cv_cxx_compile_cxx11__std_cpp0x=no ax_cv_cxx_compile_cxx11__std_cpp0x_MSVC=no ax_cv_cxx_compile_cxx11__std_cpp11=no ax_cv_cxx_compile_cxx11__std_cpp11_MSVC=no ax_cv_cxx_compile_cxx11_pstd_cpp0x=no ax_cv_cxx_compile_cxx11_pstd_cpp11=no gl_cv_elf=yes gl_cv_func_malloc_0_nonnull=yes gl_cv_host_cpu_c_abi_32bit=no gt_cv_func_CFLocaleCopyPreferredLanguages=no gt_cv_func_CFPreferencesCopyAppValue=no gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes lt_cv_sys_lib_search_path_spec= utrace_cv_CC_m32=none utrace_cv_cc_biarch=no ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} '\''/home/autobuild/autobuild/instance-0/output-1/build/elfutils-0.189/config/missing'\'' aclocal-1.16' ADD_STACK_USAGE_WARNING_FALSE='#' ADD_STACK_USAGE_WARNING_TRUE='' 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-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-ar' AUTOCONF='${SHELL} '\''/home/autobuild/autobuild/instance-0/output-1/build/elfutils-0.189/config/missing'\'' autoconf' AUTOHEADER='${SHELL} '\''/home/autobuild/autobuild/instance-0/output-1/build/elfutils-0.189/config/missing'\'' autoheader' AUTOMAKE='${SHELL} '\''/home/autobuild/autobuild/instance-0/output-1/build/elfutils-0.189/config/missing'\'' automake-1.16' AWK='gawk' BIARCH_FALSE='' BIARCH_TRUE='#' BUILD_STATIC_FALSE='' BUILD_STATIC_TRUE='#' BZ2_LIB='-lbz2 ' BZLIB_FALSE='#' BZLIB_TRUE='' CC='/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc' CCDEPMODE='depmode=none' CC_BIARCH='/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc ' CFLAGS='-D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 ' CPP='/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CSCOPE='cscope' CTAGS='ctags' CXX='no' CXXDEPMODE='depmode=none' CXXFLAGS='-D_FORTIFY_SOURCE=3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 ' CYGPATH_W='echo' DEBUGINFOD_FALSE='' DEBUGINFOD_TRUE='#' DEBUGINFOD_URLS='' DEBUGPRED='0' DEFS='-DHAVE_CONFIG_H' DEMANGLE_FALSE='' DEMANGLE_TRUE='#' DEPDIR='.deps' DUMMY_LIBDEBUGINFOD_FALSE='' DUMMY_LIBDEBUGINFOD_TRUE='#' ECHO_C='' ECHO_N='-n' ECHO_T='' ENABLE_PROGS_FALSE='' ENABLE_PROGS_TRUE='#' ETAGS='etags' EXEEXT='' FATAL_TEXTREL_FALSE='#' FATAL_TEXTREL_TRUE='' GCOV='' GCOV_FALSE='' GCOV_TRUE='#' GENHTML='' GETTEXT_MACRO_VERSION='0.20' GMSGFMT='/usr/bin/msgfmt' GMSGFMT_015='/usr/bin/msgfmt' GPROF_FALSE='' GPROF_TRUE='#' HAVE_BISON='' HAVE_BUNZIP2='yes' HAVE_CXX11='no' HAVE_CXX11_FALSE='' HAVE_CXX11_TRUE='#' HAVE_DUPLICATED_COND_WARNING_FALSE='#' HAVE_DUPLICATED_COND_WARNING_TRUE='' HAVE_FLEX='' HAVE_GAWK='' HAVE_IMPLICIT_FALLTHROUGH_5_WARNING_FALSE='#' HAVE_IMPLICIT_FALLTHROUGH_5_WARNING_TRUE='' HAVE_IMPLICIT_FALLTHROUGH_WARNING_FALSE='#' HAVE_IMPLICIT_FALLTHROUGH_WARNING_TRUE='' HAVE_NO_PACKED_NOT_ALIGNED_WARNING_FALSE='#' HAVE_NO_PACKED_NOT_ALIGNED_WARNING_TRUE='' HAVE_NULL_DEREFERENCE_WARNING_FALSE='#' HAVE_NULL_DEREFERENCE_WARNING_TRUE='' HAVE_STDATOMIC_H_FALSE='#' HAVE_STDATOMIC_H_TRUE='' HAVE_TRAMPOLINES_WARNING_FALSE='#' HAVE_TRAMPOLINES_WARNING_TRUE='' HAVE_USE_AFTER_FREE3_WARNING_FALSE='#' HAVE_USE_AFTER_FREE3_WARNING_TRUE='' HAVE_VALGRIND='' HAVE_ZSTD='yes' HAVE_ZSTD_FALSE='#' HAVE_ZSTD_TRUE='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_ELFH_FALSE='' INSTALL_ELFH_TRUE='#' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INTLLIBS='' INTL_MACOSX_LIBS='' LCOV='' LDFLAGS=' -ztext -latomic -Wl,--build-id' LEX='flex' LEXLIB='' LEX_OUTPUT_ROOT='lex.yy' LIBDEBUGINFOD_FALSE='' LIBDEBUGINFOD_SONAME='libdebuginfod.so.1' LIBDEBUGINFOD_TRUE='#' LIBICONV='-liconv' LIBINTL='' LIBLZMA='liblzma' LIBOBJS='' LIBS='' LIBZSTD='' LTLIBICONV='-liconv' LTLIBINTL='' LTLIBOBJS='' LZMA_FALSE='#' LZMA_TRUE='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} '\''/home/autobuild/autobuild/instance-0/output-1/build/elfutils-0.189/config/missing'\'' makeinfo' MKDIR_P='/usr/bin/mkdir -p' MSGFMT='/usr/bin/msgfmt' MSGMERGE='/usr/bin/msgmerge' MSGMERGE_FOR_MSGFMT_OPTION='--for-msgfmt' NM='/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-nm' NO_UNDEFINED='-Wl,--no-undefined' OBJEXT='o' OLD_LIBMICROHTTPD_FALSE='' OLD_LIBMICROHTTPD_TRUE='#' PACKAGE='elfutils' PACKAGE_BUGREPORT='https://sourceware.org/bugzilla' PACKAGE_NAME='elfutils' PACKAGE_STRING='elfutils 0.189' PACKAGE_TARNAME='elfutils' PACKAGE_URL='http://elfutils.org/' PACKAGE_VERSION='0.189' PATH_SEPARATOR=':' PKG_CONFIG='/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' POSUB='' RANLIB='/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-gcc-ranlib' READELF='/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-readelf' SANE_LOGICAL_OP_WARNING_FALSE='#' SANE_LOGICAL_OP_WARNING_TRUE='' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='/home/autobuild/autobuild/instance-0/output-1/per-package/elfutils/host/bin/powerpc64le-buildroot-linux-musl-strip' SYMBOL_VERSIONING_FALSE='#' SYMBOL_VERSIONING_TRUE='' TESTS_RPATH_FALSE='' TESTS_RPATH_TRUE='#' USE_ADDRESS_SANITIZER_FALSE='' USE_ADDRESS_SANITIZER_TRUE='#' USE_LOCKS_FALSE='' USE_LOCKS_TRUE='#' USE_MEMORY_SANITIZER_FALSE='' USE_MEMORY_SANITIZER_TRUE='#' USE_NLS='no' USE_VALGRIND_FALSE='' USE_VALGRIND_TRUE='#' USE_VG_ANNOTATIONS_FALSE='' USE_VG_ANNOTATIONS_TRUE='#' USE_ZSTD_COMPRESS_FALSE='' USE_ZSTD_COMPRESS_TRUE='#' VERSION='0.189' XGETTEXT='/usr/bin/xgettext' XGETTEXT_015='/usr/bin/xgettext' XGETTEXT_EXTRA_OPTIONS='' YACC='bison -y' YFLAGS='' ZLIB_FALSE='#' ZLIB_TRUE='' ZSTD_COMPRESS_CFLAGS='' ZSTD_COMPRESS_LIBS='' ZSTD_FALSE='' ZSTD_TRUE='#' ac_ct_AR='' ac_ct_CC='' ac_ct_CXX='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__fastdepCXX_FALSE='' am__fastdepCXX_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' argp_LDADD='-largp' bindir='${exec_prefix}/bin' build='aarch64-unknown-linux-gnu' build_alias='aarch64-unknown-linux-gnu' build_cpu='aarch64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dso_LDFLAGS='-shared -Wl,-z,defs -Wl,-z,relro' dvidir='${docdir}' eu_version='189' exec_prefix='/usr' fpic_CFLAGS='-fPIC' fpie_CFLAGS='-fPIE' fts_LIBS='-lfts' host='powerpc64le-buildroot-linux-musl' host_alias='powerpc64le-buildroot-linux-musl' host_cpu='powerpc64le' host_os='linux-musl' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/autobuild/autobuild/instance-0/output-1/build/elfutils-0.189/config/install-sh' libarchive_CFLAGS='' libarchive_LIBS='' libcurl_CFLAGS='' libcurl_LIBS='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libmicrohttpd_CFLAGS='' libmicrohttpd_LIBS='' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' obstack_LIBS='' oldincludedir='/usr/include' oldlibmicrohttpd_CFLAGS='' oldlibmicrohttpd_LIBS='' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&eu-&' psdir='${docdir}' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sqlite3_CFLAGS='' sqlite3_LIBS='' sysconfdir='/etc' target_alias='powerpc64le-buildroot-linux-musl' zip_LIBS='-llzma -lbz2 ' zstd_LIBS='-llzma -lbz2 ' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "elfutils" #define PACKAGE_TARNAME "elfutils" #define PACKAGE_VERSION "0.189" #define PACKAGE_STRING "elfutils 0.189" #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla" #define PACKAGE_URL "http://elfutils.org/" #define PACKAGE "elfutils" #define VERSION "0.189" #define DEFAULT_AR_DETERMINISTIC false #define YYTEXT_POINTER 1 #define HAVE_VISIBILITY 1 #define HAVE_GCC_STRUCT 1 #define HAVE_STDATOMIC_H 1 #define CHECK_UNDEFINED 0 #define USE_ZLIB 1 #define USE_BZLIB 1 #define USE_LZMA 1 #define HAVE_DECL_MEMRCHR 1 #define HAVE_DECL_RAWMEMCHR 0 #define HAVE_DECL_POWEROF2 1 #define HAVE_DECL_MEMPCPY 1 #define HAVE_DECL_REALLOCARRAY 1 #define HAVE_PROCESS_VM_READV 1 #define HAVE_MREMAP 1 #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_ERR_H 1 #define HAVE_SCHED_H 1 #define HAVE_SCHED_GETAFFINITY 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_GETRLIMIT 1 #define HAVE_DECL_STRERROR_R 1 #define HAVE_STRERROR_R 1 #define HAVE_FALLTHROUGH 1 #define SIZEOF_LONG 8 #define HAVE_PTHREAD_SETNAME_NP 1 configure: exit 0