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/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure --target=arc-buildroot-linux-gnu --host=arc-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/autobuild/autobuild/instance-17/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include --enable-kernel=6.8 ## --------- ## ## Platform. ## ## --------- ## hostname = Brett-Arch uname -m = x86_64 uname -r = 6.9.2-arch1-1 uname -s = Linux uname -v = #1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +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-17/output-1/host/bin/ PATH: /home/autobuild/autobuild/instance-17/output-1/host/sbin/ PATH: /home/autobuild/make/ PATH: /usr/local/sbin/ PATH: /usr/local/bin/ PATH: /usr/bin/ PATH: /usr/lib/jvm/default/bin/ PATH: /usr/bin/site_perl/ PATH: /usr/bin/vendor_perl/ PATH: /usr/bin/core_perl/ ## ----------- ## ## Core tests. ## ## ----------- ## configure:2651: looking for aux files: install-sh config.guess config.sub configure:2664: trying /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/scripts/ configure:2675: /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/scripts/install-sh found configure:2693: /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/scripts/config.guess found configure:2693: /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/scripts/config.sub found configure:2890: checking build system type configure:2905: result: x86_64-pc-linux-gnu configure:2925: checking host system type configure:2939: result: arc-buildroot-linux-gnu configure:2977: checking for arc-buildroot-linux-gnu-gcc configure:3009: result: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc configure:3407: checking for C compiler version configure:3416: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc --version >&5 arc-buildroot-linux-gnu-gcc.br_real (Buildroot 2024.05-rc1-17-g4456bec6ab) 14.1.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:3427: $? = 0 configure:3416: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc.br_real COLLECT_LTO_WRAPPER=/home/autobuild/autobuild/instance-17/output-1/host/libexec/gcc/arc-buildroot-linux-gnu/14.1.0/lto-wrapper Target: arc-buildroot-linux-gnu Configured with: ./configure --prefix=/home/autobuild/autobuild/instance-17/output-1/host --sysconfdir=/home/autobuild/autobuild/instance-17/output-1/host/etc --localstatedir=/home/autobuild/autobuild/instance-17/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=arc-buildroot-linux-gnu --with-sysroot=/home/autobuild/autobuild/instance-17/output-1/host/arc-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --enable-plugins --enable-lto --with-gmp=/home/autobuild/autobuild/instance-17/output-1/host --with-mpc=/home/autobuild/autobuild/instance-17/output-1/host --with-mpfr=/home/autobuild/autobuild/instance-17/output-1/host --with-pkgversion='Buildroot 2024.05-rc1-17-g4456bec6ab' --with-bugurl=http://bugs.buildroot.net/ --without-zstd --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --without-isl --without-cloog --with-cpu=arc700 --enable-languages=c --disable-shared --without-headers --disable-threads --with-newlib --disable-largefile Thread model: single Supported LTO compression algorithms: zlib gcc version 14.1.0 (Buildroot 2024.05-rc1-17-g4456bec6ab) COMPILER_PATH=/home/autobuild/autobuild/instance-17/output-1/host/libexec/gcc/arc-buildroot-linux-gnu/14.1.0/:/home/autobuild/autobuild/instance-17/output-1/host/libexec/gcc/arc-buildroot-linux-gnu/14.1.0/:/home/autobuild/autobuild/instance-17/output-1/host/libexec/gcc/arc-buildroot-linux-gnu/:/home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/:/home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/:/home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/:/home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/lib/:/home/autobuild/autobuild/instance-17/output-1/host/arc-buildroot-linux-gnu/sysroot/lib/:/home/autobuild/autobuild/instance-17/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3427: $? = 1 configure:3416: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -V >&5 arc-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-V' configure:3427: $? = 1 configure:3416: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -qversion >&5 arc-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-qversion'; did you mean '--version'? configure:3427: $? = 1 configure:3416: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -version >&5 arc-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-version' configure:3427: $? = 1 configure:3432: checking for suffix of object files configure:3455: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:3459: $? = 0 configure:3481: result: o configure:3485: checking whether the compiler supports GNU C configure:3505: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:3505: $? = 0 configure:3515: result: yes configure:3526: checking whether /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc accepts -g configure:3547: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -c -g conftest.c >&5 configure:3547: $? = 0 configure:3591: result: yes configure:3611: checking for /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc option to enable C11 features configure:3626: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:3626: $? = 0 configure:3644: result: none needed configure:3759: checking for gcc configure:3780: found /usr/bin/gcc configure:3791: result: gcc configure:3942: checking for C++ compiler version configure:3951: no --version >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 3953: no: command not found configure:3962: $? = 127 configure:3951: no -v >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 3953: no: command not found configure:3962: $? = 127 configure:3951: no -V >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 3953: no: command not found configure:3962: $? = 127 configure:3951: no -qversion >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 3953: no: command not found configure:3962: $? = 127 configure:3966: checking whether the compiler supports GNU C++ configure:3986: no -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:3986: $? = 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:3996: result: no configure:4007: checking whether no accepts -g configure:4028: no -c -g conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4028: $? = 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:4044: no -c conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4044: $? = 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:4061: no -c -g conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4061: $? = 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:4072: result: no configure:4092: checking for no option to enable C++11 features configure:4107: no -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4107: $? = 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:4107: no -std=gnu++11 -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4107: $? = 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:4107: no -std=gnu++0x -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4107: $? = 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:4107: no -std=c++11 -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4107: $? = 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:4107: no -std=c++0x -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4107: $? = 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:4107: no -qlanglvl=extended0x -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4107: $? = 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:4107: no -AA -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4107: $? = 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:4120: result: unsupported configure:4138: checking for no option to enable C++98 features configure:4153: no -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4153: $? = 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:4153: no -std=gnu++98 -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4153: $? = 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:4153: no -std=c++98 -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4153: $? = 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:4153: no -qlanglvl=extended -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4153: $? = 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:4153: no -AA -c -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: no: command not found configure:4153: $? = 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:4166: result: unsupported configure:4191: checking whether no can link programs configure:4215: no -o conftest -Os -fno-lto conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1701: no: command not found configure:4215: $? = 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:4239: no -o conftest -Os -fno-lto -static conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1701: no: command not found configure:4239: $? = 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:4255: result: no configure:4675: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-cpp conftest.c conftest.c:18:3: error: #error no CET compiler support 18 | # error no CET compiler support | ^~~~~ configure:4675: $? = 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:4765: 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: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:4772: result: configure:4818: checking for a BSD-compatible install configure:4891: result: /usr/bin/install -c configure:4906: checking whether ln -s works configure:4910: result: yes configure:5108: checking for /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-ld configure:5140: result: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-ld configure:5155: checking version of /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-ld configure:5165: result: 2.41, ok configure:5182: checking for gnumake configure:5214: result: /home/autobuild/autobuild/instance-17/output-1/host/bin/host-make -j1 configure:5229: checking version of /home/autobuild/autobuild/instance-17/output-1/host/bin/host-make -j1 configure:5239: result: 4.4.1, ok configure:5251: checking for gnumsgfmt configure:5286: result: no configure:5251: checking for gmsgfmt configure:5286: result: no configure:5251: checking for msgfmt configure:5272: found /home/autobuild/autobuild/instance-17/output-1/host/bin/msgfmt configure:5283: result: msgfmt configure:5298: checking version of msgfmt configure:5308: result: 99.9999.9999, bad configure:5319: checking for makeinfo configure:5340: found /usr/bin/makeinfo configure:5351: result: makeinfo configure:5366: checking version of makeinfo configure:5376: result: 7.1, ok configure:5387: checking for sed configure:5408: found /usr/bin/sed configure:5419: result: sed configure:5434: checking version of sed configure:5444: result: 4.9, ok configure:5455: checking for gawk configure:5476: found /home/autobuild/autobuild/instance-17/output-1/host/bin/gawk configure:5487: result: gawk configure:5502: checking version of gawk configure:5512: result: 5.3.0, ok configure:5523: checking for bison configure:5544: found /home/autobuild/autobuild/instance-17/output-1/host/bin/bison configure:5555: result: bison configure:5570: checking version of bison configure:5580: result: 3.8.2, ok configure:5588: checking if /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc is sufficient to build libc configure:5609: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-cpp conftest.c configure:5609: $? = 0 configure:5617: result: yes configure:5705: checking for python3 configure:5726: found /home/autobuild/autobuild/instance-17/output-1/host/bin/python3 configure:5737: result: python3 configure:5752: checking version of python3 configure:5762: result: 3.11.8, ok configure:5776: WARNING: *** These auxiliary programs are missing or incompatible versions: msgfmt *** some features or tests will be disabled. *** Check the INSTALL file for required versions. configure:5787: checking for use of fpu sysdeps directories conftest.c:4:3: error: #error "no hardware floating point" 4 | # error "no hardware floating point" | ^~~~~ configure:5807: result: no configure:5811: checking for -fstack-protector configure:5830: result: no configure:5833: checking for -fstack-protector-strong configure:5840: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null configure:5843: $? = 0 configure:5852: result: yes configure:5855: checking for -fstack-protector-all configure:5862: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null configure:5865: $? = 0 configure:5874: result: yes configure:5917: checking for assembler and linker STT_GNU_IFUNC support There are no relocations in this file. configure:5949: result: no configure:5953: checking for gcc attribute ifunc support conftest.c:10:24: error: 'ifunc' is not supported on this target 10 | extern __typeof (func) func __attribute__ ((ifunc ("resolver"))); | ^~~~ configure:5980: result: no configure:5985: checking whether the linker supports textrels along with ifunc configure:6026: result: no configure:6031: checking for GNU attribute retain support configure:6047: result: yes configure:6057: checking if compiler warns about alias for function with incompatible types conftest.c:9:34: error: 'foo_alias' alias between functions of incompatible types 'int(const void *, int)' and 'int (*(void))(const void *, int)' [-Werror=attribute-alias=] 9 | extern __typeof (__redirect_foo) foo_alias __attribute__ ((alias ("foo"))); | ^~~~~~~~~ conftest.c:4:28: note: aliased declaration here 4 | __typeof (__redirect_foo) *foo_impl (void) | ^~~~~~~~ cc1: all warnings being treated as errors configure:6080: result: yes configure:6095: WARNING: gcc emits a warning for alias between functions of incompatible types configure:6100: WARNING: Multi-arch is disabled. configure:6118: checking sysdep dirs configure:6316: result: sysdeps/generic configure:6364: checking LD_LIBRARY_PATH variable configure:6374: result: ok configure:6385: checking for bash configure:6421: result: /bin/bash configure:6432: checking for perl configure:6468: result: /usr/bin/perl configure:6482: checking for install-info configure:6506: found /usr/bin/install-info configure:6519: result: /usr/bin/install-info configure:6528: checking for .set assembler directive /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: warning: cannot find entry symbol __start; defaulting to 00010074 configure:6555: result: yes configure:6562: checking linker support for protected data symbol configure:6573: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -o conftest.so configure:6576: $? = 0 configure:6583: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -nostdlib -nostartfiles -fno-stack-protector conftest.c -o conftest conftest.so /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: copy reloc against protected `bar' is dangerous /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: warning: cannot find entry symbol __start; defaulting to 00010210 configure:6586: $? = 0 configure:6594: result: yes configure:6598: checking linker support for INSERT in linker script configure:6617: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -Wl,-T,conftest.t -o conftest.so /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: warning: conftest.so has a LOAD segment with RWX permissions configure:6620: $? = 0 configure:6627: result: yes configure:6631: checking for broken __attribute__((alias())) configure:6647: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Werror -S conftest.c -o conftest.s 1>&5 configure:6650: $? = 0 configure:6660: result: no configure:6666: checking whether to put _rtld_local into .sdata section configure:6681: result: no configure:6688: checking for libunwind-support in compiler configure:6706: result: no configure:6715: checking whether --noexecstack is desirable for .S files configure:6726: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -S -o conftest.s conftest.c 1>&5 configure:6729: $? = 0 configure:6734: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Wa,--noexecstack -c -o conftest.o conftest.s 1>&5 configure:6737: $? = 0 configure:6746: result: yes configure:6753: checking for linker that supports -z execstack configure:6763: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -fno-stack-protector -Wl,-z,execstack -nostdlib -nostartfiles -fPIC -shared -o conftest.so conftest.c 1>&5 configure:6766: $? = 0 configure:6783: result: yes configure:6787: checking for linker that supports -z start-stop-gc configure:6797: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -fno-stack-protector -Wl,-z,start-stop-gc -nostdlib -nostartfiles -fPIC -shared -o conftest.so conftest.c 1>&5 configure:6800: $? = 0 configure:6817: result: yes configure:6822: checking for linker that supports --depaudit configure:6832: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -fno-stack-protector -Wl,--depaudit,x -nostdlib -nostartfiles -fPIC -shared -o conftest.so conftest.c 1>&5 configure:6835: $? = 0 configure:6852: result: yes configure:6857: checking for linker that supports -z pack-relative-relocs configure:6867: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -fno-stack-protector -Wl,-z,pack-relative-relocs -nostdlib -nostartfiles -fPIC -shared -o conftest.so conftest.c 1>&5 /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: warning: -z pack-relative-relocs ignored configure:6870: $? = 0 configure:6887: result: no configure:6892: checking for linker that supports --no-dynamic-linker configure:6902: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -fno-stack-protector -Wl,--no-dynamic-linker -nostdlib -nostartfiles -fPIC -shared -o conftest.so conftest.c 1>&5 configure:6905: $? = 0 configure:6922: result: yes configure:6927: checking for -static-pie configure:6934: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -static-pie -xc /dev/null -S -o /dev/null configure:6937: $? = 0 configure:6946: result: yes configure:6951: checking for -fpie configure:6958: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -fpie -xc /dev/null -S -o /dev/null configure:6961: $? = 0 configure:6970: result: yes configure:6975: checking for GLOB_DAT reloc configure:6989: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -fPIC -shared -o conftest.so conftest.c -nostdlib -nostartfiles -fno-stack-protector 1>&5 configure:6992: $? = 0 configure:7005: result: yes configure:7009: checking for -mtls-dialect=gnu2 configure:7024: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -fPIC -mtls-dialect=gnu2 -nostdlib -nostartfiles conftest.c -o conftest 1>&5 arc-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-mtls-dialect=gnu2' configure:7027: $? = 1 configure:7036: result: no configure:7042: checking if -Wno-ignored-attributes is required for aliases configure:7057: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -Werror -c conftest.c configure:7060: $? = 0 configure:7067: result: configure:7072: checking whether cc puts quotes around section names configure:7094: result: no configure:7101: checking for __builtin_memset configure:7114: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -O3 -S conftest.c -o - | grep -F memset > /dev/null configure:7117: $? = 0 configure:7126: result: no configure:7133: checking for redirection of built-in functions configure:7147: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -O3 -S conftest.c -o - | grep -F my_strstr > /dev/null configure:7150: $? = 0 configure:7159: result: yes configure:7165: checking for compiler option to disable generation of FMA instructions configure:7174: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -ffp-contract=off -xc /dev/null -S -o /dev/null configure:7177: $? = 0 configure:7184: result: -ffp-contract=off configure:7218: checking for compiler option that -fsignaling-nans configure:7225: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Werror -fsignaling-nans -xc /dev/null -S -o /dev/null configure:7228: $? = 0 configure:7237: result: -fsignaling-nans configure:7242: checking if /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__)) configure:7257: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -c conftest.c configure:7260: $? = 0 configure:7267: result: yes configure:7275: checking for libgd configure:7309: result: no configure:7318: checking for is_selinux_enabled in -lselinux configure:7341: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -o conftest -Os -fno-lto conftest.c -lselinux >&5 /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find -lselinux: No such file or directory /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find -lc: No such file or directory collect2: error: ld returned 1 exit status configure:7341: $? = 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 | #define USE_PPC_SCV 1 | #define STACK_PROTECTOR_LEVEL 0 | #define HAVE_GNU_RETAIN 1 | #define HAVE_ASM_SET_DIRECTIVE 1 | #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 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. */ | char is_selinux_enabled (); | int | main (void) | { | return is_selinux_enabled (); | ; | return 0; | } configure:7351: result: no configure:7477: checking for maximum supported _FORTIFY_SOURCE level configure:7495: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -o conftest -Os -fno-lto conftest.c >&5 /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find crt1.o: No such file or directory /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find -lc: No such file or directory collect2: error: ld returned 1 exit status configure:7495: $? = 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 | #define USE_PPC_SCV 1 | #define STACK_PROTECTOR_LEVEL 0 | #define HAVE_GNU_RETAIN 1 | #define HAVE_ASM_SET_DIRECTIVE 1 | #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1 | /* end confdefs.h. */ | | int | main (void) | { | __builtin_dynamic_object_size("", 0) | ; | return 0; | } configure:7505: result: 2 configure:7537: checking whether the assembler requires one version per symbol configure:7559: result: no configure:7566: checking for __builtin_trap with no external dependencies configure:7584: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:7584: $? = 0 libc_undefs='' configure:7599: result: yes configure:7613: checking whether the C++ compiler supports thread_local configure:7642: -c -Os -fno-lto -std=gnu++11 conftest.cpp >&5 /home/autobuild/autobuild/instance-17/output-1/build/glibc-2.39-5-ge0910f1d3278f05439fb434ee528fc9be1b6bd5e/configure: line 1662: -c: command not found configure:7642: $? = 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 "" | #define TIMEOUTFACTOR 1 | #define USE_PPC_SCV 1 | #define STACK_PROTECTOR_LEVEL 0 | #define HAVE_GNU_RETAIN 1 | #define HAVE_ASM_SET_DIRECTIVE 1 | #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1 | #define HAVE_BUILTIN_TRAP 1 | /* end confdefs.h. */ | | #include | | // Compiler support. | struct S | { | S (); | ~S (); | }; | thread_local S s; | S * get () { return &s; } | | // libstdc++ support. | #ifndef _GLIBCXX_HAVE___CXA_THREAD_ATEXIT_IMPL | #error __cxa_thread_atexit_impl not supported | #endif | configure:7652: result: no configure:7683: result: running configure fragment for sysdeps/unix/sysv/linux/arc configure:7683: result: running configure fragment for sysdeps/unix/sysv/linux configure:10: checking installed Linux kernel header files configure:30: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-cpp -nostdinc -isystem /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/include -isystem /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/include-fixed -isystem /home/autobuild/autobuild/instance-17/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include conftest.c configure:30: $? = 0 configure:38: result: 3.2.0 or later configure:72: checking for kernel header at least 6.8 configure:91: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-cpp -nostdinc -isystem /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/include -isystem /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/include-fixed -isystem /home/autobuild/autobuild/instance-17/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include conftest.c configure:91: $? = 0 configure:98: result: ok configure:7683: result: running configure fragment for sysdeps/gnu configure:7683: result: running configure fragment for sysdeps/arc configure:16: checking for grep that handles long lines and -e configure:80: result: /usr/bin/grep configure:85: checking for egrep configure:153: result: /usr/bin/grep -E configure:158: checking for big endian configure:181: result: no configure:7748: checking whether -fPIC is default configure:7765: result: no configure:7770: checking whether -fPIE is default configure:7787: result: no configure:7792: checking if we can build programs as PIE configure:7800: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:7800: $? = 0 configure:7807: result: yes configure:7819: checking if we can build static PIE programs configure:7830: /home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 conftest.c:26:3: error: #error static PIE is not supported 26 | # error static PIE is not supported | ^~~~~ configure:7830: $? = 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 | #define USE_PPC_SCV 1 | #define STACK_PROTECTOR_LEVEL 0 | #define HAVE_GNU_RETAIN 1 | #define HAVE_ASM_SET_DIRECTIVE 1 | #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1 | #define HAVE_BUILTIN_TRAP 1 | #define __LINUX_KERNEL_VERSION (6 * 65536 + 8 * 256 + 0) | #define __LINUX_KERNEL_VERSION_STR "6.8.0" | #define __ABI_TAG_VERSION 6,8,0 | #define HAVE_INLINED_SYSCALLS 1 | #define ASM_LINE_SEP ` | #define USE_NSCD 1 | #define USE_LDCONFIG 1 | /* end confdefs.h. */ | #ifndef SUPPORT_STATIC_PIE | # error static PIE is not supported | #endif configure:7838: result: no configure:7988: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by GNU C Library config.status (see version.h), which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on Brett-Arch config.status:941: creating config.make config.status:941: creating Makefile config.status:941: creating config.h config.status:1115: executing default commands ## ---------------- ## ## 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/autobuild/autobuild/instance-17/output-1/host/bin/arc-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/autobuild/autobuild/instance-17/output-1/host/bin/arc-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=arc-buildroot-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=arc-buildroot-linux-gnu ac_cv_host=arc-buildroot-linux-gnu ac_cv_lib_selinux_is_selinux_enabled=no 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_path_INSTALL_INFO=/usr/bin/install-info ac_cv_path_PERL=/usr/bin/perl ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_BISON=bison ac_cv_prog_BUILD_CC=gcc ac_cv_prog_CC=/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc ac_cv_prog_LD=/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-ld ac_cv_prog_MAKE='/home/autobuild/autobuild/instance-17/output-1/host/bin/host-make -j1' ac_cv_prog_MAKEINFO=makeinfo ac_cv_prog_MSGFMT=msgfmt ac_cv_prog_PYTHON_PROG=python3 ac_cv_prog_SED=sed 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_arc_be=no libc_cv_as_noexecstack=yes libc_cv_asm_line_sep='`' libc_cv_asm_set_directive=yes libc_cv_broken_alias_attribute=no libc_cv_builtin_trap=yes libc_cv_cc_loop_to_function=yes libc_cv_cc_nofma=-ffp-contract=off libc_cv_cc_pie_default=no libc_cv_cc_signaling_nans=-fsignaling-nans libc_cv_cc_with_libunwind=no libc_cv_compiler_default_cet=no libc_cv_compiler_ok=yes libc_cv_complocaledir='${exec_prefix}/lib/locale' libc_cv_cxx_link_ok=no libc_cv_cxx_thread_local=no libc_cv_depaudit=yes libc_cv_dt_relr=no libc_cv_forced_unwind=yes libc_cv_fortify_source=no libc_cv_fpie=yes libc_cv_gcc_builtin_memset=no libc_cv_gcc_builtin_redirection=yes libc_cv_gcc_incompatible_alias=yes libc_cv_gcc_indirect_function=no libc_cv_gcc_unwind_find_fde=no libc_cv_gnu_retain=yes libc_cv_has_glob_dat=yes libc_cv_have_sdata_section=no libc_cv_have_section_quotes=no libc_cv_idn=no libc_cv_insert=yes libc_cv_ld_gnu_indirect_function=no libc_cv_linux320='3.2.0 or later' libc_cv_localstatedir=/var libc_cv_mtls_dialect_gnu2=no libc_cv_multidir=. libc_cv_no_dynamic_linker=yes libc_cv_pic_default=no libc_cv_pie_supported=yes libc_cv_protected_data=yes libc_cv_rootsbindir=/sbin libc_cv_rtlddir=/lib libc_cv_slibdir=/lib libc_cv_ssp=no libc_cv_ssp_all=yes libc_cv_ssp_strong=yes libc_cv_static_pie=no libc_cv_static_pie_supported=no libc_cv_supported_fortify_source=2 libc_cv_symver_needs_alias=no libc_cv_sysconfdir=/etc libc_cv_textrel_ifunc=no libc_cv_with_fp=no libc_cv_with_lld=no libc_cv_wno_ignored_attributes= libc_cv_z_execstack=yes libc_cv_z_start_stop_gc=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc-ar' ASFLAGS_config=' -Wa,--noexecstack' AUTOCONF='no' AWK='gawk' BASH_SHELL='/bin/bash' BISON='bison' BUILD_CC='gcc' CC='/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc' CFLAGS='-Os -fno-lto' CPP='/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-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='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' GPROF='gprof' INSTALL_DATA='${INSTALL} -m 644' INSTALL_INFO='/usr/bin/install-info' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LD='/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-ld' LDFLAGS='' LIBGD='no' LIBOBJS='' LIBS='' LN_S='ln -s' LTLIBOBJS='' MAKE='/home/autobuild/autobuild/instance-17/output-1/host/bin/host-make -j1' MAKEINFO='makeinfo' MSGFMT=':' NM='/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-gcc-nm' OBJCOPY='/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-objcopy' OBJDUMP='/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-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='python3 -B' PYTHON_PROG='python3' READELF='/home/autobuild/autobuild/instance-17/output-1/host/bin/arc-buildroot-linux-gnu-readelf' RELEASE='stable' REPORT_BUGS_TEXI='@uref{https://www.gnu.org/software/libc/bugs.html}' REPORT_BUGS_TO='' SED='sed' SHELL='/bin/sh' SYSINCLUDES='-nostdinc -isystem /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/include -isystem /home/autobuild/autobuild/instance-17/output-1/host/lib/gcc/arc-buildroot-linux-gnu/14.1.0/include-fixed -isystem /home/autobuild/autobuild/instance-17/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include' VERSION='2.39' ac_ct_CC='' ac_ct_CXX='' base_machine='arc' bindir='${exec_prefix}/bin' bindnow='no' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_nscd='yes' 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='${prefix}' extra_nonshared_cflags='' force_install='yes' fortify_source='-Wp,-U_FORTIFY_SOURCE' hardcoded_path_in_tests='no' have_libaudit='' have_libcap='' have_selinux='no' host='arc-buildroot-linux-gnu' host_alias='arc-buildroot-linux-gnu' host_cpu='arc' host_os='linux-gnu' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' ldd_rewrite_script='no' libc_cv_cc_loop_to_function='yes' libc_cv_cc_nofma='-ffp-contract=off' libc_cv_cc_submachine='' libc_cv_cc_with_libunwind='no' libc_cv_complocaledir='${exec_prefix}/lib/locale' libc_cv_cxx_thread_local='no' libc_cv_fortify_source='no' libc_cv_fpie='yes' libc_cv_gcc_unwind_find_fde='no' libc_cv_has_glob_dat='yes' libc_cv_insert='yes' libc_cv_localstatedir='/var' libc_cv_mtls_dialect_gnu2='no' libc_cv_multidir='.' libc_cv_protected_data='yes' libc_cv_rootsbindir='/sbin' libc_cv_rtlddir='/lib' libc_cv_slibdir='/lib' libc_cv_ssp='no' libc_cv_sysconfdir='/etc' libc_cv_textrel_ifunc='no' libc_cv_with_fp='no' libc_cv_z_execstack='yes' 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='no' no_fortify_source='-Wp,-U_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='yes' rtld_early_cflags='' runstatedir='${localstatedir}/run' sbindir='${exec_prefix}/sbin' shared='yes' sharedstatedir='${prefix}/com' stack_protector='-fno-stack-protector' static='' static_nss='no' subdirs=' ' submachine='' sysconfdir='${prefix}/etc' sysheaders='/home/autobuild/autobuild/instance-17/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include' sysnames=' sysdeps/unix/sysv/linux/arc sysdeps/arc/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/arc/nofpu sysdeps/ieee754/soft-fp sysdeps/arc sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic' target_alias='arc-buildroot-linux-gnu' use_ldconfig='yes' 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 #define STACK_PROTECTOR_LEVEL 0 #define HAVE_GNU_RETAIN 1 #define HAVE_ASM_SET_DIRECTIVE 1 #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1 #define HAVE_BUILTIN_TRAP 1 #define __LINUX_KERNEL_VERSION (6 * 65536 + 8 * 256 + 0) #define __LINUX_KERNEL_VERSION_STR "6.8.0" #define __ABI_TAG_VERSION 6,8,0 #define HAVE_INLINED_SYSCALLS 1 #define ASM_LINE_SEP ` #define USE_NSCD 1 #define USE_LDCONFIG 1 #define PTHREAD_IN_LIBC 1 configure: exit 0