This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by GNU C Library configure (see version.h), which was generated by GNU Autoconf 2.71. Invocation command line was $ /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure --target=riscv64-buildroot-linux-gnu --host=riscv64-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --enable-shared --with-pkgversion=Buildroot --disable-profile --disable-werror --without-gd --with-headers=/home/thomas/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include --enable-crypt --enable-kernel=6.5 ## --------- ## ## Platform. ## ## --------- ## hostname = build3.bootlin.com uname -m = x86_64 uname -r = 5.4.0-124-generic uname -s = Linux uname -v = #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /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/thomas/autobuild/instance-3/output-1/host/bin/ PATH: /home/thomas/autobuild/instance-3/output-1/host/sbin/ PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/sbin/ PATH: /usr/bin/ PATH: /sbin/ PATH: /bin/ PATH: /snap/bin/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2658: looking for aux files: install-sh config.guess config.sub configure:2671: trying /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/scripts/ configure:2682: /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/scripts/install-sh found configure:2700: /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/scripts/config.guess found configure:2700: /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/scripts/config.sub found configure:2897: checking build system type configure:2912: result: x86_64-pc-linux-gnu configure:2932: checking host system type configure:2946: result: riscv64-buildroot-linux-gnu configure:2984: checking for riscv64-buildroot-linux-gnu-gcc configure:3016: result: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc configure:3414: checking for C compiler version configure:3423: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc --version >&5 riscv64-buildroot-linux-gnu-gcc.br_real (Buildroot 2022.08-rc1-5039-g540e512f9f) 12.3.0 Copyright (C) 2022 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:3434: $? = 0 configure:3423: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc.br_real COLLECT_LTO_WRAPPER=/home/thomas/autobuild/instance-3/output-1/host/libexec/gcc/riscv64-buildroot-linux-gnu/12.3.0/lto-wrapper Target: riscv64-buildroot-linux-gnu Configured with: ./configure --prefix=/home/thomas/autobuild/instance-3/output-1/host --sysconfdir=/home/thomas/autobuild/instance-3/output-1/host/etc --localstatedir=/home/thomas/autobuild/instance-3/output-1/host/var --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-nls --disable-dependency-tracking --target=riscv64-buildroot-linux-gnu --with-sysroot=/home/thomas/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/home/thomas/autobuild/instance-3/output-1/host --with-mpc=/home/thomas/autobuild/instance-3/output-1/host --with-mpfr=/home/thomas/autobuild/instance-3/output-1/host --with-pkgversion='Buildroot 2022.08-rc1-5039-g540e512f9f' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd_zicsr_zifencei --with-abi=lp64f --enable-languages=c --disable-shared --without-headers --disable-threads --with-newlib --disable-largefile Thread model: single Supported LTO compression algorithms: zlib gcc version 12.3.0 (Buildroot 2022.08-rc1-5039-g540e512f9f) COMPILER_PATH=/home/thomas/autobuild/instance-3/output-1/host/libexec/gcc/riscv64-buildroot-linux-gnu/12.3.0/:/home/thomas/autobuild/instance-3/output-1/host/libexec/gcc/riscv64-buildroot-linux-gnu/12.3.0/:/home/thomas/autobuild/instance-3/output-1/host/libexec/gcc/riscv64-buildroot-linux-gnu/:/home/thomas/autobuild/instance-3/output-1/host/lib/gcc/riscv64-buildroot-linux-gnu/12.3.0/:/home/thomas/autobuild/instance-3/output-1/host/lib/gcc/riscv64-buildroot-linux-gnu/:/home/thomas/autobuild/instance-3/output-1/host/lib/gcc/riscv64-buildroot-linux-gnu/12.3.0/../../../../riscv64-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/thomas/autobuild/instance-3/output-1/host/lib/gcc/riscv64-buildroot-linux-gnu/12.3.0/:/home/thomas/autobuild/instance-3/output-1/host/lib/gcc/riscv64-buildroot-linux-gnu/12.3.0/../../../../riscv64-buildroot-linux-gnu/lib/:/home/thomas/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-gnu/sysroot/lib/:/home/thomas/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3434: $? = 1 configure:3423: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc -V >&5 riscv64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-V' configure:3434: $? = 1 configure:3423: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc -qversion >&5 riscv64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:3434: $? = 1 configure:3423: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc -version >&5 riscv64-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-version' configure:3434: $? = 1 configure:3439: checking for suffix of object files configure:3462: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:3466: $? = 0 configure:3488: result: o configure:3492: checking whether the compiler supports GNU C configure:3512: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:3512: $? = 0 configure:3522: result: yes configure:3533: checking whether /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc accepts -g configure:3554: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc -c -g conftest.c >&5 configure:3554: $? = 0 configure:3598: result: yes configure:3618: checking for /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc option to enable C11 features configure:3633: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:3633: $? = 0 configure:3651: result: none needed configure:3766: checking for gcc configure:3787: found /usr/bin/gcc configure:3798: result: gcc configure:3949: checking for C++ compiler version configure:3958: no --version >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 3960: no: command not found configure:3969: $? = 127 configure:3958: no -v >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 3960: no: command not found configure:3969: $? = 127 configure:3958: no -V >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 3960: no: command not found configure:3969: $? = 127 configure:3958: no -qversion >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 3960: no: command not found configure:3969: $? = 127 configure:3973: checking whether the compiler supports GNU C++ configure:3993: no -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:3993: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main (void) | { | #ifndef __GNUC__ | choke me | #endif | | ; | return 0; | } configure:4003: result: no configure:4014: checking whether no accepts -g configure:4035: no -c -g conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4035: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:4051: no -c conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4051: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:4068: no -c -g conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4068: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:4079: result: no configure:4099: checking for no option to enable C++11 features configure:4114: no -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4114: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4114: no -std=gnu++11 -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4114: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4114: no -std=gnu++0x -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4114: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4114: no -std=c++11 -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4114: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4114: no -std=c++0x -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4114: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4114: no -qlanglvl=extended0x -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4114: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4114: no -AA -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4114: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4127: result: unsupported configure:4145: checking for no option to enable C++98 features configure:4160: no -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4160: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4160: no -std=gnu++98 -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4160: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4160: no -std=c++98 -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4160: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4160: no -qlanglvl=extended -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4160: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4160: no -AA -c -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1669: no: command not found configure:4160: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* 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:4173: result: unsupported configure:4198: checking whether no can link programs configure:4222: no -o conftest -Os -fno-lto conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1708: no: command not found configure:4222: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | int | main (void) | { | | ; | return 0; | } configure:4246: no -o conftest -Os -fno-lto -static conftest.cpp >&5 /home/thomas/autobuild/instance-3/output-1/build/glibc-2.38-13-g92201f16cbcfd9eafe314ef6654be2ea7ba25675/configure: line 1708: no: command not found configure:4246: $? = 127 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | /* end confdefs.h. */ | | #include | | int | main() | { | std::cout << "Hello, world!"; | return 0; | } | configure:4262: result: no configure:4807: /home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-cpp conftest.c conftest.c:18:3: error: #error no CET compiler support 18 | # error no CET compiler support | ^~~~~ configure:4807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU C Library" | #define PACKAGE_TARNAME "glibc" | #define PACKAGE_VERSION "(see version.h)" | #define PACKAGE_STRING "GNU C Library (see version.h)" | #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" | #define PACKAGE_URL "https://www.gnu.org/software/glibc/" | #define PKGVERSION "(Buildroot) " | #define REPORT_BUGS_TO "" | #define TIMEOUTFACTOR 1 | /* end confdefs.h. */ | | int | main (void) | { | | #ifndef __CET__ | # error no CET compiler support | #endif | ; | return 0; | } configure:4897: checking for sysdeps preconfigure fragments configure:6: checking for grep that handles long lines and -e configure:70: result: /usr/bin/grep configure:75: checking for egrep configure:143: result: /usr/bin/grep -E configure:40: error: glibc does not yet support the single floating-point ABI ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=no ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-Os -fno-lto' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-cpp ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-Os -fno-lto' ac_cv_env_CXX_set=set ac_cv_env_CXX_value=no ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=riscv64-buildroot-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-buildroot-linux-gnu ac_cv_host=riscv64-buildroot-linux-gnu ac_cv_objext=o ac_cv_path_BASH_SHELL=/bin/bash ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_prog_BUILD_CC=gcc ac_cv_prog_CC=/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc ac_cv_prog_MAKE='/usr/bin/make -j4' 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 libc_cv_compiler_default_cet=no libc_cv_cxx_link_ok=no libc_cv_forced_unwind=yes libc_cv_nss_crypt=no libc_cv_rtlddir=/lib libc_cv_slibdir=/lib64 libc_cv_ssp=no libc_cv_static_nss_crypt=no ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc-ar' ASFLAGS_config='' AUTOCONF='' AWK='' BASH_SHELL='' BISON='' BUILD_CC='gcc' CC='/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc' CFLAGS='-Os -fno-lto' CPP='/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-cpp' CPPFLAGS='' CXX='' CXXFLAGS='-Os -fno-lto' CXX_BITS_STD_ABS_H='' CXX_CMATH_HEADER='' CXX_CSTDLIB_HEADER='' CXX_SYSINCLUDES='' DEFINES='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' GPROF='' INSTALL_DATA='' INSTALL_INFO='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LD='/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-ld' LDFLAGS='' LIBGD='' LIBOBJS='' LIBS='' LN_S='' LTLIBOBJS='' MAKE='' MAKEINFO='' MSGFMT='' NM='/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-gcc-nm' OBJCOPY='/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-objcopy' OBJDUMP='/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-objdump' OBJEXT='o' PACKAGE_BUGREPORT='https://sourceware.org/bugzilla/' PACKAGE_NAME='GNU C Library' PACKAGE_STRING='GNU C Library (see version.h)' PACKAGE_TARNAME='glibc' PACKAGE_URL='https://www.gnu.org/software/glibc/' PACKAGE_VERSION='(see version.h)' PATH_SEPARATOR=':' PERL='/usr/bin/perl' PKGVERSION='(Buildroot) ' PKGVERSION_TEXI='(Buildroot) ' PYTHON='' PYTHON_PROG='' READELF='/home/thomas/autobuild/instance-3/output-1/host/bin/riscv64-buildroot-linux-gnu-readelf' RELEASE='' REPORT_BUGS_TEXI='@uref{https://www.gnu.org/software/libc/bugs.html}' REPORT_BUGS_TO='' SED='' SHELL='/bin/bash' SYSINCLUDES='' VERSION='' ac_ct_CC='' ac_ct_CXX='' all_warnings='' base_machine='' bindir='${exec_prefix}/bin' bindnow='no' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_crypt='yes' build_nscd='default' build_os='linux-gnu' build_pt_chown='no' build_vendor='pc' cross_compiling='yes' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' enable_fortify_source='no' enable_timezone_tools='yes' enable_werror='no' exec_prefix='NONE' extra_nonshared_cflags='' force_install='yes' fortify_source='' hardcoded_path_in_tests='no' have_libaudit='' have_libcap='' have_selinux='' host='riscv64-buildroot-linux-gnu' host_alias='riscv64-buildroot-linux-gnu' host_cpu='riscv64' host_os='linux-gnu' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' ldd_rewrite_script='' libc_cv_cc_loop_to_function='' libc_cv_cc_nofma='' libc_cv_cc_submachine='' libc_cv_cc_with_libunwind='' libc_cv_complocaledir='' libc_cv_cxx_thread_local='' libc_cv_fortify_source='' libc_cv_fpie='' libc_cv_gcc_unwind_find_fde='' libc_cv_has_glob_dat='' libc_cv_insert='' libc_cv_localstatedir='' libc_cv_mtls_dialect_gnu2='' libc_cv_multidir='' libc_cv_nss_crypt='no' libc_cv_protected_data='' libc_cv_rootsbindir='' libc_cv_rtlddir='/lib' libc_cv_slibdir='/lib64' libc_cv_ssp='no' libc_cv_static_nss_crypt='no' libc_cv_sysconfdir='' libc_cv_textrel_ifunc='' libc_cv_with_fp='' libc_cv_z_execstack='' libc_extra_cflags='' libc_extra_cppflags='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mach_interface_list='' mandir='${datarootdir}/man' memory_tagging='no' multi_arch='default' no_fortify_source='' no_stack_protector='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' profile='no' program_transform_name='s,x,x,' psdir='${docdir}' pthread_in_libc='' rtld_early_cflags='' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' shared='yes' sharedstatedir='${prefix}/com' stack_protector='' static='' static_nss='no' subdirs=' ' submachine='' sysconfdir='${prefix}/etc' sysheaders='/home/thomas/autobuild/instance-3/output-1/host/riscv64-buildroot-linux-gnu/sysroot/usr/include' sysnames='' target_alias='riscv64-buildroot-linux-gnu' use_ldconfig='' use_nscd='yes' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "GNU C Library" #define PACKAGE_TARNAME "glibc" #define PACKAGE_VERSION "(see version.h)" #define PACKAGE_STRING "GNU C Library (see version.h)" #define PACKAGE_BUGREPORT "https://sourceware.org/bugzilla/" #define PACKAGE_URL "https://www.gnu.org/software/glibc/" #define PKGVERSION "(Buildroot) " #define REPORT_BUGS_TO "" #define TIMEOUTFACTOR 1 #define USE_PPC_SCV 1 configure: exit 1