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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/configure --target=arc-buildroot-linux-gnu --host=arc-buildroot-linux-gnu --build=aarch64-unknown-linux-gnu --prefix=/usr --enable-shared --with-pkgversion=Buildroot --disable-profile --disable-werror --without-gd --with-headers=/home/autobuild/autobuild/instance-2/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include --enable-kernel=6.10 ## --------- ## ## Platform. ## ## --------- ## hostname = asahi-mini uname -m = aarch64 uname -r = 6.5.0-asahi-15-1-ARCH uname -s = Linux uname -v = #1 SMP PREEMPT_DYNAMIC Thu, 12 Oct 2023 08:22:22 +0000 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/autobuild/autobuild/instance-2/output-1/host/bin/ PATH: /home/autobuild/autobuild/instance-2/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/scripts/ configure:2675: /home/autobuild/autobuild/instance-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/scripts/install-sh found configure:2693: /home/autobuild/autobuild/instance-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/scripts/config.guess found configure:2693: /home/autobuild/autobuild/instance-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/scripts/config.sub found configure:2890: checking build system type configure:2905: result: aarch64-unknown-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-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc configure:3407: checking for C compiler version configure:3416: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc --version >&5 arc-buildroot-linux-gnu-gcc.br_real (Buildroot 2024.08-rc1-67-gc06d8be7e3) 13.3.0 Copyright (C) 2023 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-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc.br_real COLLECT_LTO_WRAPPER=/home/autobuild/autobuild/instance-2/output-1/host/libexec/gcc/arc-buildroot-linux-gnu/13.3.0/lto-wrapper Target: arc-buildroot-linux-gnu Configured with: ./configure --prefix=/home/autobuild/autobuild/instance-2/output-1/host --sysconfdir=/home/autobuild/autobuild/instance-2/output-1/host/etc --localstatedir=/home/autobuild/autobuild/instance-2/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-2/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-2/output-1/host --with-mpc=/home/autobuild/autobuild/instance-2/output-1/host --with-mpfr=/home/autobuild/autobuild/instance-2/output-1/host --with-pkgversion='Buildroot 2024.08-rc1-67-gc06d8be7e3' --with-bugurl=https://gitlab.com/buildroot.org/buildroot/-/issues --without-zstd --with-debug-prefix-map=/home/autobuild/autobuild/instance-2/output-1=buildroot --disable-libquadmath --disable-libquadmath-support --enable-tls --enable-threads --with-isl=/home/autobuild/autobuild/instance-2/output-1/host --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 13.3.0 (Buildroot 2024.08-rc1-67-gc06d8be7e3) COMPILER_PATH=/home/autobuild/autobuild/instance-2/output-1/host/libexec/gcc/arc-buildroot-linux-gnu/13.3.0/:/home/autobuild/autobuild/instance-2/output-1/host/libexec/gcc/arc-buildroot-linux-gnu/13.3.0/:/home/autobuild/autobuild/instance-2/output-1/host/libexec/gcc/arc-buildroot-linux-gnu/:/home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/:/home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/:/home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ LIBRARY_PATH=/home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/:/home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/lib/:/home/autobuild/autobuild/instance-2/output-1/host/arc-buildroot-linux-gnu/sysroot/lib/:/home/autobuild/autobuild/instance-2/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib/ ... rest of stderr output deleted ... configure:3427: $? = 1 configure:3416: /home/autobuild/autobuild/instance-2/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-2/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-2/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-2/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-2/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-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc accepts -g configure:3547: /home/autobuild/autobuild/instance-2/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-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc option to enable C11 features configure:3626: /home/autobuild/autobuild/instance-2/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/configure: line 3953: no: command not found configure:3962: $? = 127 configure:3951: no -v >&5 /home/autobuild/autobuild/instance-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/configure: line 3953: no: command not found configure:3962: $? = 127 configure:3951: no -V >&5 /home/autobuild/autobuild/instance-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/configure: line 3953: no: command not found configure:3962: $? = 127 configure:3951: no -qversion >&5 /home/autobuild/autobuild/instance-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/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-2/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:4768: 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:4775: result: configure:4821: checking for a BSD-compatible install configure:4894: result: /usr/bin/install -c configure:4909: checking whether ln -s works configure:4913: result: yes configure:5111: checking for /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-ld configure:5143: result: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-ld configure:5158: checking version of /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-ld configure:5168: result: 2.41, ok configure:5185: checking for gnumake configure:5217: result: /usr/bin/make -j1 configure:5232: checking version of /usr/bin/make -j1 configure:5242: result: 4.4.1, ok configure:5254: checking for gnumsgfmt configure:5289: result: no configure:5254: checking for gmsgfmt configure:5289: result: no configure:5254: checking for msgfmt configure:5275: found /home/autobuild/autobuild/instance-2/output-1/host/bin/msgfmt configure:5286: result: msgfmt configure:5301: checking version of msgfmt configure:5311: result: 99.9999.9999, bad configure:5322: checking for makeinfo configure:5343: found /usr/bin/makeinfo configure:5354: result: makeinfo configure:5369: checking version of makeinfo configure:5379: result: 7.1, ok configure:5390: checking for sed configure:5411: found /usr/bin/sed configure:5422: result: sed configure:5437: checking version of sed configure:5447: result: 4.9, ok configure:5458: checking for gawk configure:5479: found /home/autobuild/autobuild/instance-2/output-1/host/bin/gawk configure:5490: result: gawk configure:5505: checking version of gawk configure:5515: result: 5.3.0, ok configure:5526: checking for bison configure:5547: found /home/autobuild/autobuild/instance-2/output-1/host/bin/bison configure:5558: result: bison configure:5573: checking version of bison configure:5583: result: 3.8.2, ok configure:5591: checking if /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc is sufficient to build libc configure:5612: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-cpp conftest.c configure:5612: $? = 0 configure:5620: result: yes configure:5708: checking for python3 configure:5729: found /usr/bin/python3 configure:5740: result: python3 configure:5755: checking version of python3 configure:5765: result: 3.12.4, ok configure:5779: 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:5790: checking for use of fpu sysdeps directories conftest.c:4:3: error: #error "no hardware floating point" 4 | # error "no hardware floating point" | ^~~~~ configure:5810: result: no configure:5814: checking for -fstack-protector configure:5833: result: no configure:5836: checking for -fstack-protector-strong configure:5843: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null configure:5846: $? = 0 configure:5855: result: yes configure:5858: checking for -fstack-protector-all configure:5865: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null configure:5868: $? = 0 configure:5877: result: yes configure:5920: checking for assembler and linker STT_GNU_IFUNC support Relocation section '.rela.dyn' at offset 0x160 contains 1 entry: Offset Info Type Sym.Value Sym. Name + Addend 00004008 00000038 R_ARC_RELATIVE 0 configure:5952: result: no configure:5956: 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:5983: result: no configure:5988: checking whether the linker supports textrels along with ifunc configure:6029: result: no configure:6034: checking for GNU attribute retain support configure:6050: result: yes configure:6060: 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:6083: result: yes configure:6098: WARNING: gcc emits a warning for alias between functions of incompatible types configure:6103: WARNING: Multi-arch is disabled. configure:6121: checking sysdep dirs configure:6319: result: sysdeps/generic configure:6367: checking LD_LIBRARY_PATH variable configure:6377: result: ok configure:6388: checking for bash configure:6424: result: /bin/bash configure:6435: checking for perl configure:6471: result: /usr/bin/perl configure:6485: checking for install-info configure:6509: found /usr/bin/install-info configure:6522: result: /usr/bin/install-info configure:6531: checking for .set assembler directive /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ld: warning: cannot find entry symbol __start; defaulting to 000001bc configure:6558: result: yes configure:6565: checking linker support for protected data symbol configure:6576: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -o conftest.so configure:6579: $? = 0 configure:6586: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -nostdlib -nostartfiles -fno-stack-protector conftest.c -o conftest conftest.so /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ld: warning: cannot find entry symbol __start; defaulting to 00000220 configure:6589: $? = 0 configure:6597: result: yes configure:6601: checking linker support for INSERT in linker script configure:6620: /home/autobuild/autobuild/instance-2/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-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ld: warning: conftest.so has a LOAD segment with RWX permissions configure:6623: $? = 0 configure:6630: result: yes configure:6634: checking for broken __attribute__((alias())) configure:6650: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Werror -S conftest.c -o conftest.s 1>&5 configure:6653: $? = 0 configure:6663: result: no configure:6669: checking whether to put _rtld_local into .sdata section configure:6684: result: no configure:6691: checking for libunwind-support in compiler configure:6709: result: no configure:6718: checking whether --noexecstack is desirable for .S files configure:6729: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -S -o conftest.s conftest.c 1>&5 configure:6732: $? = 0 configure:6737: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Wa,--noexecstack -c -o conftest.o conftest.s 1>&5 configure:6740: $? = 0 configure:6749: result: yes configure:6756: checking for linker that supports -z execstack configure:6766: /home/autobuild/autobuild/instance-2/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:6769: $? = 0 configure:6786: result: yes configure:6790: checking for linker that supports -z start-stop-gc configure:6800: /home/autobuild/autobuild/instance-2/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:6803: $? = 0 configure:6820: result: yes configure:6825: checking for linker that supports --depaudit configure:6835: /home/autobuild/autobuild/instance-2/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:6838: $? = 0 configure:6855: result: yes configure:6860: checking for linker that supports -z pack-relative-relocs configure:6870: /home/autobuild/autobuild/instance-2/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-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ld: warning: -z pack-relative-relocs ignored configure:6873: $? = 0 configure:6890: result: no configure:6895: checking for linker that supports --no-dynamic-linker configure:6905: /home/autobuild/autobuild/instance-2/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:6908: $? = 0 configure:6925: result: yes configure:6930: checking for -static-pie configure:6937: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -static-pie -xc /dev/null -S -o /dev/null configure:6940: $? = 0 configure:6949: result: yes configure:6954: checking for -fpie configure:6961: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -fpie -xc /dev/null -S -o /dev/null configure:6964: $? = 0 configure:6973: result: yes configure:6978: checking for GLOB_DAT reloc configure:6992: /home/autobuild/autobuild/instance-2/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:6995: $? = 0 configure:7008: result: yes configure:7012: checking for tls descriptor support configure:7027: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -fPIC -mtls-dialect=gnu2 -nostdlib -nostartfiles -shared conftest.c -o conftest 1>&5 arc-buildroot-linux-gnu-gcc.br_real: error: unrecognized command-line option '-mtls-dialect=gnu2' configure:7030: $? = 1 configure:7039: result: no configure:7045: checking if -Wno-ignored-attributes is required for aliases configure:7060: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -Werror -c conftest.c configure:7063: $? = 0 configure:7070: result: configure:7075: checking whether cc puts quotes around section names configure:7097: result: no configure:7104: checking for __builtin_memset configure:7117: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -O3 -S conftest.c -o - | grep -F memset > /dev/null configure:7120: $? = 0 configure:7129: result: no configure:7136: checking for redirection of built-in functions configure:7150: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -O3 -S conftest.c -o - | grep -F my_strstr > /dev/null configure:7153: $? = 0 configure:7162: result: yes configure:7168: checking for compiler option to disable generation of FMA instructions configure:7177: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -ffp-contract=off -xc /dev/null -S -o /dev/null configure:7180: $? = 0 configure:7187: result: -ffp-contract=off configure:7221: checking for compiler option that -fsignaling-nans configure:7228: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Werror -fsignaling-nans -xc /dev/null -S -o /dev/null configure:7231: $? = 0 configure:7240: result: -fsignaling-nans configure:7245: checking if /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__)) configure:7260: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -Os -fno-lto -c conftest.c configure:7263: $? = 0 configure:7270: result: yes configure:7278: checking for libgd configure:7312: result: no configure:7321: checking for is_selinux_enabled in -lselinux configure:7344: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -o conftest -Os -fno-lto conftest.c -lselinux >&5 /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find Scrt1.o: No such file or directory /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find -lselinux: No such file or directory /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find -lc: No such file or directory collect2: error: ld returned 1 exit status configure:7344: $? = 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:7354: result: no configure:7480: checking for maximum supported _FORTIFY_SOURCE level configure:7498: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -o conftest -Os -fno-lto conftest.c >&5 /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find Scrt1.o: No such file or directory /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/../../../../arc-buildroot-linux-gnu/bin/ld: cannot find -lc: No such file or directory collect2: error: ld returned 1 exit status configure:7498: $? = 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:7508: result: 2 configure:7540: checking whether the assembler requires one version per symbol configure:7562: result: no configure:7569: checking for __builtin_trap with no external dependencies configure:7587: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:7587: $? = 0 libc_undefs='' configure:7602: result: yes configure:7616: checking whether the C++ compiler supports thread_local configure:7645: -c -Os -fno-lto -std=gnu++11 conftest.cpp >&5 /home/autobuild/autobuild/instance-2/output-1/build/glibc-2.39-74-g198632a05f6c7b9ab67d3331d8caace9ceabb685/configure: line 1662: -c: command not found configure:7645: $? = 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:7655: result: no configure:7686: result: running configure fragment for sysdeps/unix/sysv/linux/arc configure:7686: result: running configure fragment for sysdeps/unix/sysv/linux configure:10: checking installed Linux kernel header files configure:30: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-cpp -nostdinc -isystem /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/include -isystem /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/include-fixed -isystem /home/autobuild/autobuild/instance-2/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.10 configure:91: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-cpp -nostdinc -isystem /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/include -isystem /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/include-fixed -isystem /home/autobuild/autobuild/instance-2/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include conftest.c configure:91: $? = 0 configure:98: result: ok configure:7686: result: running configure fragment for sysdeps/gnu configure:7686: 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:7751: checking whether -fPIC is default conftest.c:2:3: error: #error PIC is default. 2 | # error PIC is default. | ^~~~~ configure:7768: result: yes configure:7773: checking whether -fPIE is default conftest.c:2:3: error: #error PIE is default. 2 | # error PIE is default. | ^~~~~ configure:7790: result: yes configure:7795: checking if we can build programs as PIE configure:7803: /home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc -c -Os -fno-lto conftest.c >&5 configure:7803: $? = 0 configure:7810: result: yes configure:7822: checking if we can build static PIE programs configure:7833: /home/autobuild/autobuild/instance-2/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:7833: $? = 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 + 10 * 256 + 0) | #define __LINUX_KERNEL_VERSION_STR "6.10.0" | #define __ABI_TAG_VERSION 6,10,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:7841: result: no configure:7991: 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 asahi-mini 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=aarch64-unknown-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-2/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-2/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=aarch64-unknown-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-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc ac_cv_prog_LD=/home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-ld ac_cv_prog_MAKE='/usr/bin/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=yes 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_descriptor=no libc_cv_multidir=. libc_cv_no_dynamic_linker=yes libc_cv_pic_default=yes 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-2/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-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc' CFLAGS='-Os -fno-lto' CPP='/home/autobuild/autobuild/instance-2/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-2/output-1/host/bin/arc-buildroot-linux-gnu-ld' LDFLAGS='' LIBGD='no' LIBOBJS='' LIBS='' LN_S='ln -s' LTLIBOBJS='' MAKE='/usr/bin/make -j1' MAKEINFO='makeinfo' MSGFMT=':' NM='/home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-gcc-nm' OBJCOPY='/home/autobuild/autobuild/instance-2/output-1/host/bin/arc-buildroot-linux-gnu-objcopy' OBJDUMP='/home/autobuild/autobuild/instance-2/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-2/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-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/include -isystem /home/autobuild/autobuild/instance-2/output-1/host/lib/gcc/arc-buildroot-linux-gnu/13.3.0/include-fixed -isystem /home/autobuild/autobuild/instance-2/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='aarch64-unknown-linux-gnu' build_alias='aarch64-unknown-linux-gnu' build_cpu='aarch64' build_nscd='yes' build_os='linux-gnu' build_pt_chown='no' build_vendor='unknown' 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_descriptor='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-2/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 + 10 * 256 + 0) #define __LINUX_KERNEL_VERSION_STR "6.10.0" #define __ABI_TAG_VERSION 6,10,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