Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 899709 Details for
Bug 937637
sys-libs/glibc-2.39-r6 -mfpmath=sse and -march=i686 don't go together
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
config.log
config.log (text/x-log), 85.04 KB, created by
Esteve Varela Colominas
on 2024-08-09 20:24:38 UTC
(
hide
)
Description:
config.log
Filename:
MIME Type:
Creator:
Esteve Varela Colominas
Created:
2024-08-09 20:24:38 UTC
Size:
85.04 KB
patch
obsolete
>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 > > $ /var/tmp/portage/sys-libs/glibc-2.39-r6/work/glibc-2.39/configure --enable-stack-protector=no --enable-kernel=3.2.0 --without-selinux --disable-werror --enable-bind-now --enable-fortify-source --build=i386-unknown-linux-musl --host=i686-bootstrap-linux-gnu --disable-profile --without-gd --with-headers=/gentoo/usr/include --prefix=/usr --sysconfdir=/etc --localstatedir=/var '--libdir=$(prefix)/lib' '--mandir=$(prefix)/share/man' '--infodir=$(prefix)/share/info' '--libexecdir=$(libdir)/misc/glibc' --with-bugurl=https://bugs.gentoo.org/ '--with-pkgversion=Gentoo 2.39-r6 (patchset 6)' --disable-multi-arch --disable-systemtap --disable-nscd ac_cv_path_PERL=no 'libc_cv_complocaledir=${exec_prefix}/lib/locale' libc_cv_aarch64_sve_asm=yes --disable-timezone-tools > >## --------- ## >## Platform. ## >## --------- ## > >hostname = >uname -m = x86_64 >uname -r = 6.6.38-gentoo-x86_64 >uname -s = Linux >uname -v = #1 SMP PREEMPT_DYNAMIC Tue Aug 6 19:51:38 UTC 2024 > >/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: /var/tmp/portage/sys-libs/glibc-2.39-r6/temp/python3.12/bin/ >PATH: /usr/lib/portage/python3.12/ebuild-helpers/ >PATH: /cross/usr/bin/ >PATH: /usr/bin/ > > >## ----------- ## >## Core tests. ## >## ----------- ## > >configure:2085: loading site script /gentoo.cfg//etc/portage/config.site >| if [ "${CBUILD:-${CHOST}}" != "${CHOST}" ]; then >| # Settings grabbed from crossdev >| ac_cv_file__dev_ptmx=yes >| ac_cv_file__dev_ptc=no >| fi >configure:2651: looking for aux files: install-sh config.guess config.sub >configure:2664: trying /var/tmp/portage/sys-libs/glibc-2.39-r6/work/glibc-2.39/scripts/ >configure:2675: /var/tmp/portage/sys-libs/glibc-2.39-r6/work/glibc-2.39/scripts/install-sh found >configure:2693: /var/tmp/portage/sys-libs/glibc-2.39-r6/work/glibc-2.39/scripts/config.guess found >configure:2693: /var/tmp/portage/sys-libs/glibc-2.39-r6/work/glibc-2.39/scripts/config.sub found >configure:2890: checking build system type >configure:2905: result: i386-unknown-linux-musl >configure:2925: checking host system type >configure:2939: result: i686-bootstrap-linux-gnu >configure:2977: checking for i686-bootstrap-linux-gnu-gcc >configure:3009: result: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe >configure:3407: checking for C compiler version >configure:3416: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe --version >&5 >x86_64-bootstrap-linux-gnu-gcc (Gentoo 13.3.1_p20240614 p17) 13.3.1 20240614 >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: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -v >&5 >Using built-in specs. >Reading specs from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/specs >COLLECT_GCC=/cross/usr/i386-unknown-linux-musl/x86_64-bootstrap-linux-gnu/gcc-bin/13/x86_64-bootstrap-linux-gnu-gcc >COLLECT_LTO_WRAPPER=/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/13/lto-wrapper >Target: x86_64-bootstrap-linux-gnu >Configured with: /var/tmp/portage/sys-devel/gcc-13.3.1_p20240614/work/gcc-13-20240614/configure --host=i386-unknown-linux-musl --target=x86_64-bootstrap-linux-gnu --build=i386-unknown-linux-musl --prefix=/cross/usr --bindir=/cross/usr/i386-unknown-linux-musl/x86_64-bootstrap-linux-gnu/gcc-bin/13 --includedir=/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include --datadir=/cross/usr/share/gcc-data/x86_64-bootstrap-linux-gnu/13 --mandir=/cross/usr/share/gcc-data/x86_64-bootstrap-linux-gnu/13/man --infodir=/cross/usr/share/gcc-data/x86_64-bootstrap-linux-gnu/13/info --with-gxx-include-dir=/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/x86_64-bootstrap-linux-gnu/13/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 13.3.1_p20240614 p17' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-poison-system-directories --disable-shared --disable-libquadmath --disable-libatomic --disable-threads --without-headers --with-long-double-128 --disable-gcov --disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --without-isl --disable-libsanitizer --enable-default-pie --enable-default-ssp --disable-fixincludes --with-sysroot=/cross/usr/x86_64-bootstrap-linux-gnu >Thread model: single >Supported LTO compression algorithms: zlib >gcc version 13.3.1 20240614 (Gentoo 13.3.1_p20240614 p17) >configure:3427: $? = 0 >configure:3416: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -V >&5 >x86_64-bootstrap-linux-gnu-gcc: error: unrecognized command-line option '-V' >x86_64-bootstrap-linux-gnu-gcc: fatal error: no input files >compilation terminated. >configure:3427: $? = 1 >configure:3416: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -qversion >&5 >x86_64-bootstrap-linux-gnu-gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'? >x86_64-bootstrap-linux-gnu-gcc: fatal error: no input files >compilation terminated. >configure:3427: $? = 1 >configure:3416: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -version >&5 >x86_64-bootstrap-linux-gnu-gcc: error: unrecognized command-line option '-version' >x86_64-bootstrap-linux-gnu-gcc: fatal error: no input files >compilation terminated. >configure:3427: $? = 1 >configure:3432: checking for suffix of object files >configure:3455: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -O2 -pipe conftest.c >&5 >cc1: warning: SSE instruction set disabled, using 387 arithmetics >configure:3459: $? = 0 >configure:3481: result: o >configure:3485: checking whether the compiler supports GNU C >configure:3505: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -O2 -pipe conftest.c >&5 >cc1: warning: SSE instruction set disabled, using 387 arithmetics >configure:3505: $? = 0 >configure:3515: result: yes >configure:3526: checking whether x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe accepts -g >configure:3547: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -g conftest.c >&5 >cc1: warning: SSE instruction set disabled, using 387 arithmetics >configure:3547: $? = 0 >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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* end confdefs.h. */ >| >| int >| main (void) >| { >| >| ; >| return 0; >| } >configure:3563: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -c conftest.c >&5 >cc1: warning: SSE instruction set disabled, using 387 arithmetics >configure:3563: $? = 0 >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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* end confdefs.h. */ >| >| int >| main (void) >| { >| >| ; >| return 0; >| } >configure:3580: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -g conftest.c >&5 >cc1: warning: SSE instruction set disabled, using 387 arithmetics >configure:3580: $? = 0 >configure:3591: result: yes >configure:3611: checking for x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe option to enable C11 features >configure:3626: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -O2 -pipe conftest.c >&5 >cc1: warning: SSE instruction set disabled, using 387 arithmetics >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: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe --version >&5 >x86_64-bootstrap-linux-gnu-g++ (Gentoo 13.3.1_p20240614 p17) 13.3.1 20240614 >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:3962: $? = 0 >configure:3951: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -v >&5 >Using built-in specs. >Reading specs from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/specs >COLLECT_GCC=/cross/usr/i386-unknown-linux-musl/x86_64-bootstrap-linux-gnu/gcc-bin/13/x86_64-bootstrap-linux-gnu-g++ >COLLECT_LTO_WRAPPER=/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/13/lto-wrapper >Target: x86_64-bootstrap-linux-gnu >Configured with: /var/tmp/portage/sys-devel/gcc-13.3.1_p20240614/work/gcc-13-20240614/configure --host=i386-unknown-linux-musl --target=x86_64-bootstrap-linux-gnu --build=i386-unknown-linux-musl --prefix=/cross/usr --bindir=/cross/usr/i386-unknown-linux-musl/x86_64-bootstrap-linux-gnu/gcc-bin/13 --includedir=/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include --datadir=/cross/usr/share/gcc-data/x86_64-bootstrap-linux-gnu/13 --mandir=/cross/usr/share/gcc-data/x86_64-bootstrap-linux-gnu/13/man --infodir=/cross/usr/share/gcc-data/x86_64-bootstrap-linux-gnu/13/info --with-gxx-include-dir=/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/x86_64-bootstrap-linux-gnu/13/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 13.3.1_p20240614 p17' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-poison-system-directories --disable-shared --disable-libquadmath --disable-libatomic --disable-threads --without-headers --with-long-double-128 --disable-gcov --disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --without-isl --disable-libsanitizer --enable-default-pie --enable-default-ssp --disable-fixincludes --with-sysroot=/cross/usr/x86_64-bootstrap-linux-gnu >Thread model: single >Supported LTO compression algorithms: zlib >gcc version 13.3.1 20240614 (Gentoo 13.3.1_p20240614 p17) >configure:3962: $? = 0 >configure:3951: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -V >&5 >x86_64-bootstrap-linux-gnu-g++: error: unrecognized command-line option '-V' >x86_64-bootstrap-linux-gnu-g++: fatal error: no input files >compilation terminated. >configure:3962: $? = 1 >configure:3951: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -qversion >&5 >x86_64-bootstrap-linux-gnu-g++: error: unrecognized command-line option '-qversion'; did you mean '--version'? >x86_64-bootstrap-linux-gnu-g++: fatal error: no input files >compilation terminated. >configure:3962: $? = 1 >configure:3966: checking whether the compiler supports GNU C++ >configure:3986: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >configure:3986: $? = 0 >configure:3996: result: yes >configure:4007: checking whether x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe accepts -g >configure:4028: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -g conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >configure:4028: $? = 0 >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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* end confdefs.h. */ >| >| int >| main (void) >| { >| >| ; >| return 0; >| } >configure:4044: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -c conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >configure:4044: $? = 0 >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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* end confdefs.h. */ >| >| int >| main (void) >| { >| >| ; >| return 0; >| } >configure:4061: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -g conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >configure:4061: $? = 0 >configure:4072: result: yes >configure:4092: checking for x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe option to enable C++11 features >configure:4107: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4107: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(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 <typename Ret, typename Fn> Ret eval(Fn f, Ret v) >| { >| return f(v); >| } >| >| // for testing variadic templates and trailing return types >| template <typename V> auto sum(V first) -> V >| { >| return first; >| } >| template <typename V, typename... Args> 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<double> 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<int>> v(test_template<int>(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: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -std=gnu++11 -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4107: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(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 <typename Ret, typename Fn> Ret eval(Fn f, Ret v) >| { >| return f(v); >| } >| >| // for testing variadic templates and trailing return types >| template <typename V> auto sum(V first) -> V >| { >| return first; >| } >| template <typename V, typename... Args> 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<double> 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<int>> v(test_template<int>(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: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -std=gnu++0x -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4107: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(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 <typename Ret, typename Fn> Ret eval(Fn f, Ret v) >| { >| return f(v); >| } >| >| // for testing variadic templates and trailing return types >| template <typename V> auto sum(V first) -> V >| { >| return first; >| } >| template <typename V, typename... Args> 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<double> 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<int>> v(test_template<int>(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: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -std=c++11 -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4107: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(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 <typename Ret, typename Fn> Ret eval(Fn f, Ret v) >| { >| return f(v); >| } >| >| // for testing variadic templates and trailing return types >| template <typename V> auto sum(V first) -> V >| { >| return first; >| } >| template <typename V, typename... Args> 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<double> 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<int>> v(test_template<int>(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: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -std=c++0x -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4107: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(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 <typename Ret, typename Fn> Ret eval(Fn f, Ret v) >| { >| return f(v); >| } >| >| // for testing variadic templates and trailing return types >| template <typename V> auto sum(V first) -> V >| { >| return first; >| } >| template <typename V, typename... Args> 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<double> 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<int>> v(test_template<int>(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: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -qlanglvl=extended0x -c -O2 -pipe conftest.cpp >&5 >x86_64-bootstrap-linux-gnu-g++: error: unrecognized command-line option '-qlanglvl=extended0x' >configure:4107: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(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 <typename Ret, typename Fn> Ret eval(Fn f, Ret v) >| { >| return f(v); >| } >| >| // for testing variadic templates and trailing return types >| template <typename V> auto sum(V first) -> V >| { >| return first; >| } >| template <typename V, typename... Args> 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<double> 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<int>> v(test_template<int>(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: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -AA -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics ><command-line>: error: missing '(' after predicate >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4107: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(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 <typename Ret, typename Fn> Ret eval(Fn f, Ret v) >| { >| return f(v); >| } >| >| // for testing variadic templates and trailing return types >| template <typename V> auto sum(V first) -> V >| { >| return first; >| } >| template <typename V, typename... Args> 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<double> 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<int>> v(test_template<int>(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 x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe option to enable C++98 features >configure:4153: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4153: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(u) + val; } >| }; >| >| } // anonymous namespace >| >| int >| main (int argc, char **argv) >| { >| int ok = 0; >| >| assert (argc); >| assert (! argv[0]); >| { >| test_exception_syntax (); >| test_template<double> tt (2.0); >| assert (tt.add (4) == 6.0); >| assert (true && !false); >| } >| >| return ok; >| } >| >configure:4153: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -std=gnu++98 -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4153: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(u) + val; } >| }; >| >| } // anonymous namespace >| >| int >| main (int argc, char **argv) >| { >| int ok = 0; >| >| assert (argc); >| assert (! argv[0]); >| { >| test_exception_syntax (); >| test_template<double> tt (2.0); >| assert (tt.add (4) == 6.0); >| assert (true && !false); >| } >| >| return ok; >| } >| >configure:4153: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -std=c++98 -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4153: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(u) + val; } >| }; >| >| } // anonymous namespace >| >| int >| main (int argc, char **argv) >| { >| int ok = 0; >| >| assert (argc); >| assert (! argv[0]); >| { >| test_exception_syntax (); >| test_template<double> tt (2.0); >| assert (tt.add (4) == 6.0); >| assert (true && !false); >| } >| >| return ok; >| } >| >configure:4153: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -qlanglvl=extended -c -O2 -pipe conftest.cpp >&5 >x86_64-bootstrap-linux-gnu-g++: error: unrecognized command-line option '-qlanglvl=extended' >configure:4153: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(u) + val; } >| }; >| >| } // anonymous namespace >| >| int >| main (int argc, char **argv) >| { >| int ok = 0; >| >| assert (argc); >| assert (! argv[0]); >| { >| test_exception_syntax (); >| test_template<double> tt (2.0); >| assert (tt.add (4) == 6.0); >| assert (true && !false); >| } >| >| return ok; >| } >| >configure:4153: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -AA -c -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics ><command-line>: error: missing '(' after predicate >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/cstdlib:41, > from conftest.cpp:19: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4153: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* 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 <cstdlib> >| #include <exception> >| >| // <cassert> and <cstring> 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 <typename T> struct test_template >| { >| T const val; >| explicit test_template(T t) : val(t) {} >| template <typename U> T add(U u) { return static_cast<T>(u) + val; } >| }; >| >| } // anonymous namespace >| >| int >| main (int argc, char **argv) >| { >| int ok = 0; >| >| assert (argc); >| assert (! argv[0]); >| { >| test_exception_syntax (); >| test_template<double> tt (2.0); >| assert (tt.add (4) == 6.0); >| assert (true && !false); >| } >| >| return ok; >| } >| >configure:4166: result: unsupported >configure:4191: checking whether x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe can link programs >configure:4215: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -o conftest -O2 -pipe conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: cannot find Scrt1.o: No such file or directory >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: cannot find crti.o: No such file or directory >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: cannot find -lm: No such file or directory >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: cannot find -lc: No such file or directory >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: cannot find crtn.o: No such file or directory >collect2: error: ld returned 1 exit status >configure:4215: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* end confdefs.h. */ >| >| int >| main (void) >| { >| >| ; >| return 0; >| } >configure:4239: x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe -o conftest -O2 -pipe -static conftest.cpp >&5 >cc1plus: warning: SSE instruction set disabled, using 387 arithmetics >In file included from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/c++config.h:679, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/bits/requires_hosted.h:31, > from /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/iostream:38, > from conftest.cpp:12: >/cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include/g++-v13/x86_64-bootstrap-linux-gnu/32/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory > 39 | #include <features.h> > | ^~~~~~~~~~~~ >compilation terminated. >configure:4239: $? = 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| /* end confdefs.h. */ >| >| #include <iostream> >| >| int >| main() >| { >| std::cout << "Hello, world!"; >| return 0; >| } >| >configure:4255: result: no >configure:4675: x86_64-bootstrap-linux-gnu-gcc -E -m32 -mfpmath=sse -march=i686 -O2 -pipe conftest.c >cc1: warning: SSE instruction set disabled, using 387 arithmetics >conftest.c:19:3: error: #error no CET compiler support > 19 | # 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 "(Gentoo 2.39-r6 (patchset 6)) " >| #define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >| #define TIMEOUTFACTOR 1 >| #define BIND_NOW 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 >cc1: warning: SSE instruction set disabled, using 387 arithmetics >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 >cc1: warning: SSE instruction set disabled, using 387 arithmetics >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 /cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld >configure:5143: result: /cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld >configure:5158: checking version of /cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld >configure:5168: result: 2.42.0, ok >configure:5185: checking for gnumake >configure:5220: result: no >configure:5185: checking for gmake >configure:5206: found /usr/bin/gmake >configure:5217: result: gmake >configure:5232: checking version of gmake >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 /usr/bin/msgfmt >configure:5286: result: msgfmt >configure:5301: checking version of msgfmt >configure:5311: result: 0.21, ok >configure:5322: checking for makeinfo >configure:5354: result: /dev/null >configure:5369: checking version of /dev/null >configure:5379: result: v. ?.??, bad >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.8, ok >configure:5458: checking for gawk >configure:5479: found /usr/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 /usr/bin/bison >configure:5558: result: bison >configure:5573: checking version of bison >configure:5583: result: 3.4.2, ok >configure:5591: checking if x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe is sufficient to build libc >configure:5612: x86_64-bootstrap-linux-gnu-gcc -E -m32 -mfpmath=sse -march=i686 -O2 -pipe conftest.c >cc1: warning: SSE instruction set disabled, using 387 arithmetics >configure:5612: $? = 0 >configure:5620: result: yes >configure:5708: checking for python3 >configure:5729: found /var/tmp/portage/sys-libs/glibc-2.39-r6/temp/python3.12/bin/python3 >configure:5740: result: python3 >configure:5755: checking version of python3 >configure:5765: result: 3.12.3, ok >configure:5779: WARNING: >*** These auxiliary programs are missing or incompatible versions: makeinfo >*** some features or tests will be disabled. >*** Check the INSTALL file for required versions. >configure:5790: checking for use of fpu sysdeps directories >cc1: warning: SSE instruction set disabled, using 387 arithmetics >configure:5810: result: yes >configure:5814: checking for -fstack-protector >configure:5821: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -O2 -pipe -Werror -fstack-protector -xc /dev/null -S -o /dev/null >cc1: error: SSE instruction set disabled, using 387 arithmetics [-Werror] >cc1: all warnings being treated as errors >configure:5824: $? = 1 >configure:5833: result: no >configure:5836: checking for -fstack-protector-strong >configure:5843: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -O2 -pipe -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null >cc1: error: SSE instruction set disabled, using 387 arithmetics [-Werror] >cc1: all warnings being treated as errors >configure:5846: $? = 1 >configure:5855: result: no >configure:5858: checking for -fstack-protector-all >configure:5865: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -O2 -pipe -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null >cc1: error: SSE instruction set disabled, using 387 arithmetics [-Werror] >cc1: all warnings being treated as errors >configure:5868: $? = 1 >configure:5877: result: no >configure:5920: checking for assembler and linker STT_GNU_IFUNC support >cc1: warning: SSE instruction set disabled, using 387 arithmetics > >Relocation section '.rel.dyn' at offset 0x19c contains 1 entry: > Offset Info Type Sym.Value Sym. Name >00002000 0000002a R_386_IRELATIVE >configure:5952: result: yes >configure:5956: checking for gcc attribute ifunc support >cc1: warning: SSE instruction set disabled, using 387 arithmetics >configure:5983: result: yes >configure:5988: checking whether the linker supports textrels along with ifunc >configure:6019: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -O2 -pipe -nostartfiles -nostdlib -fno-stack-protector -pie -o conftest conftest.S >cc1: warning: SSE instruction set disabled, using 387 arithmetics >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: /var/tmp/portage/sys-libs/glibc-2.39-r6/temp/cchPNjPn.o: warning: relocation against `address' in read-only section `.text' >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIE >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: read-only segment has dynamic relocations >collect2: error: ld returned 1 exit status >configure:6022: $? = 1 >configure:6029: result: no >configure:6034: checking for GNU attribute retain support >cc1: error: SSE instruction set disabled, using 387 arithmetics [-Werror] >cc1: all warnings being treated as errors >configure:6050: result: no >configure:6060: checking if compiler warns about alias for function with incompatible types >cc1: error: SSE instruction set disabled, using 387 arithmetics [-Werror] >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: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:6411: found /usr/bin/bash >configure:6424: result: /usr/bin/bash >configure:6435: checking for perl >configure:6471: result: no >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 >cc1: warning: SSE instruction set disabled, using 387 arithmetics >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: warning: /var/tmp/portage/sys-libs/glibc-2.39-r6/temp/ccOAHbnD.o: missing .note.GNU-stack section implies executable stack >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker >configure:6558: result: yes >configure:6565: checking linker support for protected data symbol >configure:6576: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -o conftest.so >cc1: warning: SSE instruction set disabled, using 387 arithmetics >configure:6579: $? = 0 >configure:6586: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -nostdlib -nostartfiles -fno-stack-protector conftest.c -o conftest conftest.so >cc1: warning: SSE instruction set disabled, using 387 arithmetics >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: warning: cannot find entry symbol _start; defaulting to 00001000 >configure:6589: $? = 0 >configure:6597: result: yes >configure:6601: checking linker support for INSERT in linker script >configure:6620: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -Wl,-T,conftest.t -o conftest.so >cc1: warning: SSE instruction set disabled, using 387 arithmetics >/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld: .rela.dyn not found for insert >collect2: error: ld returned 1 exit status >configure:6623: $? = 1 >configure:6630: result: no >configure:6634: checking for broken __attribute__((alias())) >configure:6650: x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe -Werror -S conftest.c -o conftest.s 1>&5 >cc1: error: SSE instruction set disabled, using 387 arithmetics [-Werror] >cc1: all warnings being treated as errors >configure:6653: $? = 1 >configure:6663: result: yes >configure:6666: error: working alias attribute support required > >## ---------------- ## >## Cache variables. ## >## ---------------- ## > >ac_cv_build=i386-unknown-linux-musl >ac_cv_c_compiler_gnu=yes >ac_cv_c_undeclared_builtin_options='none needed' >ac_cv_cxx_compiler_gnu=yes >ac_cv_env_CCC_set= >ac_cv_env_CCC_value= >ac_cv_env_CC_set=set >ac_cv_env_CC_value='x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe ' >ac_cv_env_CFLAGS_set=set >ac_cv_env_CFLAGS_value='-O2 -pipe' >ac_cv_env_CPPFLAGS_set=set >ac_cv_env_CPPFLAGS_value= >ac_cv_env_CPP_set=set >ac_cv_env_CPP_value='x86_64-bootstrap-linux-gnu-gcc -E -m32 -mfpmath=sse -march=i686 -O2 -pipe' >ac_cv_env_CXXFLAGS_set=set >ac_cv_env_CXXFLAGS_value='-O2 -pipe' >ac_cv_env_CXX_set=set >ac_cv_env_CXX_value='x86_64-bootstrap-linux-gnu-g++ -m32 -mfpmath=sse -march=i686 -O2 -pipe' >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=i386-unknown-linux-musl >ac_cv_env_host_alias_set=set >ac_cv_env_host_alias_value=i686-bootstrap-linux-gnu >ac_cv_env_target_alias_set= >ac_cv_env_target_alias_value= >ac_cv_file__dev_ptc=no >ac_cv_file__dev_ptmx=yes >ac_cv_host=i686-bootstrap-linux-gnu >ac_cv_objext=o >ac_cv_path_BASH_SHELL=/usr/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=no >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='x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe ' >ac_cv_prog_LD=/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld >ac_cv_prog_MAKE=gmake >ac_cv_prog_MAKEINFO=/dev/null >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=yes >gl_cv_compiler_check_decl_option=-Werror=implicit-function-declaration >gl_cv_func_getcwd_path_max=yes >libc_cv_aarch64_sve_asm=yes >libc_cv_asm_set_directive=yes >libc_cv_broken_alias_attribute=yes >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_gcc_incompatible_alias=yes >libc_cv_gcc_indirect_function=yes >libc_cv_gnu_retain=no >libc_cv_insert=no >libc_cv_ld_gnu_indirect_function=yes >libc_cv_protected_data=yes >libc_cv_rootsbindir=/sbin >libc_cv_slibdir=/lib >libc_cv_ssp=no >libc_cv_ssp_all=no >libc_cv_ssp_strong=no >libc_cv_textrel_ifunc=no >libc_cv_with_fp=yes >libc_cv_with_lld=no > >## ----------------- ## >## Output variables. ## >## ----------------- ## > >AR='/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ar' >ASFLAGS_config='' >AUTOCONF='no' >AWK='gawk' >BASH_SHELL='/usr/bin/bash' >BISON='bison' >BUILD_CC='gcc' >CC='x86_64-bootstrap-linux-gnu-gcc -m32 -mfpmath=sse -march=i686 -O2 -pipe ' >CFLAGS='-O2 -pipe' >CPP='x86_64-bootstrap-linux-gnu-gcc -E -m32 -mfpmath=sse -march=i686 -O2 -pipe' >CPPFLAGS='' >CXX='' >CXXFLAGS='-O2 -pipe' >CXX_BITS_STD_ABS_H='' >CXX_CMATH_HEADER='' >CXX_CSTDLIB_HEADER='' >CXX_SYSINCLUDES='' >DEFINES='' >DEFS='' >ECHO_C='' >ECHO_N='-n' >ECHO_T='' >GPROF='/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/gprof' >INSTALL_DATA='${INSTALL} -m 644' >INSTALL_INFO='/usr/bin/install-info' >INSTALL_PROGRAM='${INSTALL}' >INSTALL_SCRIPT='${INSTALL}' >LD='/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/ld' >LDFLAGS='' >LIBGD='' >LIBOBJS='' >LIBS='' >LN_S='ln -s' >LTLIBOBJS='' >MAKE='gmake' >MAKEINFO=':' >MSGFMT='msgfmt' >NM='x86_64-bootstrap-linux-gnu-nm' >OBJCOPY='/cross/usr/libexec/gcc/x86_64-bootstrap-linux-gnu/objcopy' >OBJDUMP='/cross/usr/libexec/gcc/x86_64-bootstrap-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='no' >PKGVERSION='(Gentoo 2.39-r6 (patchset 6)) ' >PKGVERSION_TEXI='(Gentoo 2.39-r6 (patchset 6)) ' >PYTHON='python3 -B' >PYTHON_PROG='python3' >READELF='x86_64-bootstrap-linux-gnu-readelf' >RELEASE='' >REPORT_BUGS_TEXI='@uref{https://bugs.gentoo.org/}' >REPORT_BUGS_TO='<https://bugs.gentoo.org/>' >SED='sed' >SHELL='/bin/sh' >SYSINCLUDES='-nostdinc -isystem /cross/usr/lib/gcc/x86_64-bootstrap-linux-gnu/13/include -isystem /gentoo/usr/include' >VERSION='' >ac_ct_CC='' >ac_ct_CXX='' >base_machine='i386' >bindir='${exec_prefix}/bin' >bindnow='yes' >build='i386-unknown-linux-musl' >build_alias='i386-unknown-linux-musl' >build_cpu='i386' >build_nscd='default' >build_os='linux-musl' >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='yes' >enable_timezone_tools='no' >enable_werror='no' >exec_prefix='NONE' >extra_nonshared_cflags='' >force_install='yes' >fortify_source='' >hardcoded_path_in_tests='no' >have_libaudit='' >have_libcap='' >have_selinux='' >host='i686-bootstrap-linux-gnu' >host_alias='i686-bootstrap-linux-gnu' >host_cpu='i686' >host_os='linux-gnu' >host_vendor='bootstrap' >htmldir='${docdir}' >includedir='${prefix}/include' >infodir='$(prefix)/share/info' >ldd_rewrite_script='' >libc_cv_cc_loop_to_function='' >libc_cv_cc_nofma='' >libc_cv_cc_submachine='' >libc_cv_cc_with_libunwind='' >libc_cv_complocaledir='${exec_prefix}/lib/locale' >libc_cv_cxx_thread_local='' >libc_cv_fortify_source='' >libc_cv_fpie='' >libc_cv_gcc_unwind_find_fde='' >libc_cv_has_glob_dat='' >libc_cv_insert='no' >libc_cv_localstatedir='' >libc_cv_mtls_descriptor='' >libc_cv_multidir='' >libc_cv_protected_data='yes' >libc_cv_rootsbindir='/sbin' >libc_cv_rtlddir='' >libc_cv_slibdir='/lib' >libc_cv_ssp='no' >libc_cv_sysconfdir='' >libc_cv_textrel_ifunc='no' >libc_cv_with_fp='yes' >libc_cv_z_execstack='' >libc_extra_cflags='' >libc_extra_cppflags='' >libdir='$(prefix)/lib' >libexecdir='$(libdir)/misc/glibc' >localedir='${datarootdir}/locale' >localstatedir='/var' >mach_interface_list='' >mandir='$(prefix)/share/man' >memory_tagging='no' >multi_arch='no' >no_fortify_source='' >no_stack_protector='' >oldincludedir='/usr/include' >pdfdir='${docdir}' >prefix='/usr' >profile='no' >program_transform_name='s,x,x,' >psdir='${docdir}' >pthread_in_libc='' >rtld_early_cflags='' >runstatedir='${localstatedir}/run' >sbindir='${exec_prefix}/sbin' >shared='yes' >sharedstatedir='${prefix}/com' >stack_protector='-fno-stack-protector' >static='' >static_nss='no' >subdirs=' ' >submachine='' >sysconfdir='/etc' >sysheaders='/gentoo/usr/include' >sysnames=' sysdeps/unix/sysv/linux/i386/i686 sysdeps/i386/i686/nptl sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/i386/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/fpu sysdeps/x86/fpu sysdeps/i386 sysdeps/x86 sysdeps/wordsize-32 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic' >target_alias='' >use_ldconfig='' >use_nscd='no' > >## ----------- ## >## 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 "(Gentoo 2.39-r6 (patchset 6)) " >#define REPORT_BUGS_TO "<https://bugs.gentoo.org/>" >#define TIMEOUTFACTOR 1 >#define BIND_NOW 1 >#define USE_PPC_SCV 1 >#define STACK_PROTECTOR_LEVEL 0 >#define HAVE_ASM_SET_DIRECTIVE 1 > >configure: exit 1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 937637
: 899709 |
899710