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.69.  Invocation command line was

  $ ../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin

## --------- ##
## Platform. ##
## --------- ##

hostname = tencent-test
uname -m = x86_64
uname -r = 3.10.0-1160.71.1.el7.x86_64
uname -s = Linux
uname -v = #1 SMP Tue Jun 28 15:37:28 UTC 2022

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/rh/devtoolset-8/root/usr/bin
PATH: /usr/local/sbin
PATH: /root/.nvm/versions/node/v18.13.0/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /alidata/server/mysql/bin
PATH: /alidata/server/httpd/bin
PATH: /alidata/server/php/sbin
PATH: /alidata/server/php/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2218: checking build system type
configure:2232: result: x86_64-pc-linux-gnu
configure:2252: checking host system type
configure:2265: result: x86_64-pc-linux-gnu
configure:2334: checking for gcc
configure:2350: found /opt/rh/devtoolset-8/root/usr/bin/gcc
configure:2361: result: gcc
configure:2590: checking for C compiler version
configure:2599: gcc --version >&5
gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
Copyright (C) 2018 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:2610: $? = 0
configure:2599: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-8/root/usr --mandir=/opt/rh/devtoolset-8/root/usr/share/man --infodir=/opt/rh/devtoolset-8/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-8.3.1-20190311/obj-x86_64-redhat-linux/isl-install --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC) 
configure:2610: $? = 0
configure:2599: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:2610: $? = 1
configure:2599: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:2610: $? = 1
configure:2615: checking for suffix of object files
configure:2637: gcc -c   conftest.c >&5
configure:2641: $? = 0
configure:2662: result: o
configure:2666: checking whether we are using the GNU C compiler
configure:2685: gcc -c   conftest.c >&5
configure:2685: $? = 0
configure:2694: result: yes
configure:2703: checking whether gcc accepts -g
configure:2723: gcc -c -g  conftest.c >&5
configure:2723: $? = 0
configure:2764: result: yes
configure:2884: checking for readelf
configure:2900: found /opt/rh/devtoolset-8/root/usr/bin/readelf
configure:2911: result: readelf
configure:2993: checking for g++
configure:3009: found /opt/rh/devtoolset-8/root/usr/bin/g++
configure:3020: result: g++
configure:3047: checking for C++ compiler version
configure:3056: g++ --version >&5
g++ (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3)
Copyright (C) 2018 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:3067: $? = 0
configure:3056: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-8/root/usr --mandir=/opt/rh/devtoolset-8/root/usr/share/man --infodir=/opt/rh/devtoolset-8/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --with-default-libstdcxx-abi=gcc4-compatible --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-8.3.1-20190311/obj-x86_64-redhat-linux/isl-install --disable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC) 
configure:3067: $? = 0
configure:3056: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:3067: $? = 1
configure:3056: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:3067: $? = 1
configure:3071: checking whether we are using the GNU C++ compiler
configure:3090: g++ -c   conftest.cpp >&5
configure:3090: $? = 0
configure:3099: result: yes
configure:3108: checking whether g++ accepts -g
configure:3128: g++ -c -g  conftest.cpp >&5
configure:3128: $? = 0
configure:3169: result: yes
configure:3194: checking whether g++ can link programs
configure:3217: g++ -o conftest -g -O2   conftest.cpp  >&5
configure:3217: $? = 0
configure:3240: g++ -o conftest -g -O2   -static conftest.cpp  >&5
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lm
/opt/rh/devtoolset-8/root/usr/libexec/gcc/x86_64-redhat-linux/8/ld: cannot find -lc
collect2: error: ld returned 1 exit status
configure:3240: $? = 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 "http://www.gnu.org/software/glibc/"
| #define PKGVERSION "(GNU libc) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
| /* end confdefs.h.  */
| 
| #include <iostream>
| 
| int
| main()
| {
|   std::cout << "Hello, world!";
|   return 0;
| }
| 
configure:3255: result: no
configure:3832: checking for sysdeps preconfigure fragments
configure:9: checking whether gcc compiles in -mx32 mode by default
configure:27: gcc -c -g -O2  conftest.c >&5
conftest.c:13:3: error: #error not x32
 # error not x32
   ^~~~~
configure:27: $? = 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 "http://www.gnu.org/software/glibc/"
| #define PKGVERSION "(GNU libc) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
| #define HAVE_TUNABLES 1
| /* end confdefs.h.  */
| #ifndef __ILP32__
| # error not x32
| #endif
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:34: result: no
configure:3839: result: 
configure:3869: checking for use of fpu sysdeps directories
configure:3888: result: yes
configure:3892: checking for -fstack-protector
configure:3898: gcc -g -O2  -Werror -fstack-protector -xc /dev/null -S -o /dev/null
configure:3901: $? = 0
configure:3909: result: yes
configure:3912: checking for -fstack-protector-strong
configure:3918: gcc -g -O2  -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null
configure:3921: $? = 0
configure:3929: result: yes
configure:3932: checking for -fstack-protector-all
configure:3938: gcc -g -O2  -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null
configure:3941: $? = 0
configure:3949: result: yes
configure:3992: checking for assembler and linker STT_GNU_IFUNC support

Relocation section '.rela.plt' at offset 0x110 contains 1 entry:
  Offset          Info           Type           Sym. Value    Sym. Name + Addend
000000600128  000000000025 R_X86_64_IRELATIV                    400128
configure:4023: result: yes
configure:4027: checking for gcc attribute ifunc support
configure:4053: result: yes
configure:4058: checking whether the linker supports textrels along with ifunc
configure:4088: gcc -g -O2   -nostartfiles -nostdlib -fno-stack-protector -pie -o conftest conftest.S
configure:4091: $? = 0
configure:4098: result: yes
configure:4103: 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]
 extern __typeof (__redirect_foo) foo_alias __attribute__ ((alias ("foo")));
                                  ^~~~~~~~~
conftest.c:4:28: note: aliased declaration here
 __typeof (__redirect_foo) *foo_impl (void)
                            ^~~~~~~~
cc1: all warnings being treated as errors
configure:4125: result: yes
configure:4163: checking sysdep dirs
configure:4360: result: sysdeps/generic
configure:4380: checking for a BSD-compatible install
configure:4448: result: /bin/install -c
configure:4463: checking whether ln -s works
configure:4467: result: yes
configure:4493: checking whether /usr/bin/as is GNU as
configure:4507: result: yes
configure:4512: checking whether /usr/bin/ld is GNU ld
configure:4526: result: yes
configure:4536: checking for /usr/bin/as
configure:4563: result: /usr/bin/as
configure:4578: checking version of /usr/bin/as
configure:4588: result: 2.27, ok
configure:4666: checking for /usr/bin/ld
configure:4693: result: /usr/bin/ld
configure:4708: checking version of /usr/bin/ld
configure:4718: result: 2.27, ok
configure:4733: checking for gnumake
configure:4763: result: no
configure:4733: checking for gmake
configure:4749: found /bin/gmake
configure:4760: result: gmake
configure:4775: checking version of gmake
configure:4785: result: 4.3, ok
configure:4797: checking for gnumsgfmt
configure:4827: result: no
configure:4797: checking for gmsgfmt
configure:4827: result: no
configure:4797: checking for msgfmt
configure:4813: found /bin/msgfmt
configure:4824: result: msgfmt
configure:4839: checking version of msgfmt
configure:4849: result: 0.19.8.1, ok
configure:4860: checking for makeinfo
configure:4890: result: no
configure:4923: checking for sed
configure:4939: found /bin/sed
configure:4950: result: sed
configure:4965: checking version of sed
configure:4975: result: 4.2.2, ok
configure:4986: checking for gawk
configure:5002: found /bin/gawk
configure:5013: result: gawk
configure:5028: checking version of gawk
configure:5038: result: 4.0.2, ok
configure:5049: checking for bison
configure:5065: found /bin/bison
configure:5076: result: bison
configure:5091: checking version of bison
configure:5101: result: 3.0.4, ok
configure:5109: checking if gcc -B/usr/bin/ is sufficient to build libc
configure:5129: gcc -B/usr/bin/ -c -g -O2  conftest.c >&5
configure:5129: $? = 0
configure:5136: result: yes
configure:5185: checking for nm
configure:5201: found /opt/rh/devtoolset-8/root/usr/bin/nm
configure:5212: result: nm
configure:5310: checking for python3
configure:5326: found /bin/python3
configure:5337: result: python3
configure:5352: checking version of python3
configure:5362: result: 3.6.8, ok
configure:5379: 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:5430: checking LD_LIBRARY_PATH variable
configure:5440: result: ok
configure:5451: checking for bash
configure:5469: found /bin/bash
configure:5482: result: /bin/bash
configure:5493: checking for perl
configure:5511: found /bin/perl
configure:5524: result: /bin/perl
configure:5538: checking for install-info
configure:5557: found /sbin/install-info
configure:5570: result: /sbin/install-info
configure:5579: checking for .set assembler directive
configure:5605: result: yes
configure:5612: checking linker support for protected data symbol
configure:5622: gcc -B/usr/bin/ -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -o conftest.so
configure:5625: $? = 0
configure:5632: gcc -B/usr/bin/ -nostdlib -nostartfiles -fno-stack-protector conftest.c -o conftest conftest.so
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000400370
configure:5635: $? = 0
configure:5643: result: yes
configure:5647: checking linker support for INSERT in linker script
configure:5665: gcc -B/usr/bin/ -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -Wl,-T,conftest.t -o conftest.so
configure:5668: $? = 0
configure:5675: result: yes
configure:5679: checking for broken __attribute__((alias()))
configure:5694: gcc -B/usr/bin/ -Werror -S conftest.c -o conftest.s 1>&5
configure:5697: $? = 0
configure:5707: result: no
configure:5713: checking whether to put _rtld_local into .sdata section
configure:5727: result: no
configure:5734: checking whether to use .ctors/.dtors header and trailer
configure:5751: gcc -B/usr/bin/ -g -O2   -fno-stack-protector -o conftest
		       conftest.c -static -nostartfiles -nostdlib
		       1>&5
configure:5754: $? = 0
configure:5780: result: no
configure:5787: checking for libunwind-support in compiler
configure:5804: result: no
configure:5813: checking whether --noexecstack is desirable for .S files
configure:5823: gcc -B/usr/bin/ -g -O2 
		   -S -o conftest.s conftest.c 1>&5
configure:5826: $? = 0
configure:5831: gcc -B/usr/bin/  -Wa,--noexecstack
		      -c -o conftest.o conftest.s 1>&5
configure:5834: $? = 0
configure:5843: result: yes
configure:5850: checking for -z combreloc
configure:5864: gcc -B/usr/bin/ -g -O2  
			-fPIC -shared -fno-stack-protector -o conftest.so conftest.c
			-nostdlib -nostartfiles
			-Wl,-z,combreloc 1>&5
configure:5867: $? = 0
configure:5880: result: yes
configure:5888: checking for linker that supports -z execstack
configure:5901: gcc -B/usr/bin/ -g -O2   -fno-stack-protector
				-Wl,-z,execstack -nostdlib -nostartfiles
				-fPIC -shared -o conftest.so conftest.c
				1>&5
configure:5904: $? = 0
configure:5917: result: yes
configure:5921: checking for linker that supports --no-dynamic-linker
configure:5934: gcc -B/usr/bin/ -g -O2   -fno-stack-protector
				-Wl,--no-dynamic-linker -nostdlib -nostartfiles
				-fPIC -shared -o conftest.so conftest.c
				1>&5
configure:5937: $? = 0
configure:5950: result: yes
configure:5955: checking for -static-pie
configure:5961: gcc -B/usr/bin/ -static-pie -xc /dev/null -S -o /dev/null
configure:5964: $? = 0
configure:5972: result: yes
configure:5977: checking for -fpie
configure:5983: gcc -B/usr/bin/ -fpie -xc /dev/null -S -o /dev/null
configure:5986: $? = 0
configure:5994: result: yes
configure:5999: checking for --hash-style option
configure:6010: gcc -B/usr/bin/ -g -O2   -fno-stack-protector
			    -fPIC -shared -o conftest.so conftest.c
			    -Wl,--hash-style=both -nostdlib 1>&5
configure:6013: $? = 0
configure:6022: result: yes
configure:6030: checking for sufficient default -shared layout
configure:6049:   gcc -B/usr/bin/  -shared -o conftest.so conftest.s 1>&5
configure:6052: $? = 0
nono from:

NOTE .note.gnu.build-i
GNU_HASH .gnu.hash
DYNSYM .dynsym
STRTAB .dynstr
VERSYM .gnu.version
VERNEED .gnu.version_r
RELA .rela.dyn
RELA .rela.plt
PROGBITS .init
PROGBITS .plt
PROGBITS .text
PROGBITS .fini
NOTE .note.a
NOTE .note.b
PROGBITS .eh_frame
INIT_ARRAY .init_array
FINI_ARRAY .fini_array
PROGBITS .data.rel.ro
DYNAMIC .dynamic
PROGBITS .got
PROGBITS .got.plt
NOBITS .bss
PROGBITS .comment
SYMTAB .symtab
STRTAB .strtab
STRTAB .shstrtab
configure:6084: result: no
configure:6089: checking for GLOB_DAT reloc
configure:6102: gcc -B/usr/bin/ -g -O2  
			-fPIC -shared -o conftest.so conftest.c
			-nostdlib -nostartfiles -fno-stack-protector
			1>&5
configure:6105: $? = 0
configure:6118: result: yes
configure:6122: checking linker output format
configure:6136: result: elf64-x86-64
configure:6140: checking for -fno-toplevel-reorder -fno-section-anchors
configure:6150: gcc -B/usr/bin/ -g -O2  -S -fno-toplevel-reorder -fno-section-anchors
			    conftest.c 1>&5
configure:6153: $? = 0
configure:6162: result: yes
configure:6171: checking for -mtls-dialect=gnu2
configure:6185: gcc -B/usr/bin/ -g -O2  -S -fPIC -mtls-dialect=gnu2
		   conftest.c 1>&5
configure:6188: $? = 0
configure:6197: result: yes
configure:6203: checking whether cc puts quotes around section names
configure:6224: result: no
configure:6231: checking for __builtin_memset
configure:6243: gcc -B/usr/bin/ -O3 -S conftest.c -o - | grep -F memset > /dev/null
configure:6246: $? = 1
configure:6255: result: yes
configure:6262: checking for redirection of built-in functions
configure:6275: gcc -B/usr/bin/ -O3 -S conftest.c -o - | grep -F my_strstr > /dev/null
configure:6278: $? = 0
configure:6287: result: yes
configure:6293: checking for compiler option to disable generation of FMA instructions
configure:6301: gcc -B/usr/bin/ -ffp-contract=off -xc /dev/null -S -o /dev/null
configure:6304: $? = 0
configure:6310: result: -ffp-contract=off
configure:6343: checking if gcc -B/usr/bin/ accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))
configure:6356: gcc -B/usr/bin/ -g -O2  -c conftest.c
configure:6359: $? = 0
configure:6366: result: yes
configure:6374: checking for libgd
configure:6394: gcc -B/usr/bin/ -o conftest -g -O2     conftest.c  -lgd -lpng -lz -lm >&5
conftest.c:20:10: fatal error: gd.h: No such file or directory
 #include <gd.h>
          ^~~~~~
compilation terminated.
configure:6394: $? = 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 "http://www.gnu.org/software/glibc/"
| #define PKGVERSION "(GNU libc) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
| #define HAVE_TUNABLES 1
| #define HAVE_CC_NO_STACK_PROTECTOR 1
| #define STACK_PROTECTOR_LEVEL 0
| #define USE_MULTIARCH 1
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_Z_COMBRELOC 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| /* end confdefs.h.  */
| #include <gd.h>
| int
| main ()
| {
| gdImagePng (0, 0)
|   ;
|   return 0;
| }
configure:6407: result: no
configure:6416: checking for is_selinux_enabled in -lselinux
configure:6441: gcc -B/usr/bin/ -o conftest -g -O2   conftest.c -lselinux   >&5
configure:6441: $? = 0
configure:6450: result: yes
configure:6471: checking for audit_log_user_avc_message in -laudit
configure:6496: gcc -B/usr/bin/ -o conftest -g -O2   conftest.c -laudit   >&5
/usr/bin/ld: cannot find -laudit
collect2: error: ld returned 1 exit status
configure:6496: $? = 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 "http://www.gnu.org/software/glibc/"
| #define PKGVERSION "(GNU libc) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
| #define HAVE_TUNABLES 1
| #define HAVE_CC_NO_STACK_PROTECTOR 1
| #define STACK_PROTECTOR_LEVEL 0
| #define USE_MULTIARCH 1
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_Z_COMBRELOC 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| #define HAVE_SELINUX 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.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char audit_log_user_avc_message ();
| int
| main ()
| {
| return audit_log_user_avc_message ();
|   ;
|   return 0;
| }
configure:6505: result: no
configure:6521: checking for cap_init in -lcap
configure:6546: gcc -B/usr/bin/ -o conftest -g -O2   conftest.c -lcap   >&5
/usr/bin/ld: cannot find -lcap
collect2: error: ld returned 1 exit status
configure:6546: $? = 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 "http://www.gnu.org/software/glibc/"
| #define PKGVERSION "(GNU libc) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
| #define HAVE_TUNABLES 1
| #define HAVE_CC_NO_STACK_PROTECTOR 1
| #define STACK_PROTECTOR_LEVEL 0
| #define USE_MULTIARCH 1
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_Z_COMBRELOC 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| #define HAVE_SELINUX 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.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char cap_init ();
| int
| main ()
| {
| return cap_init ();
|   ;
|   return 0;
| }
configure:6555: result: no
configure:6573: checking for _FORTIFY_SOURCE predefine
configure:6592: gcc -B/usr/bin/ -c -g -O2  conftest.c >&5
configure:6592: $? = 0
configure:6599: result: no
configure:6609: checking whether the linker provides working __ehdr_start
configure:6632: gcc -B/usr/bin/ -o conftest -g -O2 -fPIC   -nostdlib -nostartfiles -shared -fno-stack-protector conftest.c  >&5
configure:6632: $? = 0
configure:6648: result: yes
configure:6658: checking for __builtin_trap with no external dependencies
configure:6675: gcc -B/usr/bin/ -c -g -O2  conftest.c >&5
configure:6675: $? = 0
libc_undefs=''
configure:6689: result: yes
configure:6703: checking whether the C++ compiler supports thread_local
configure:6731:  -c -g -O2 -std=gnu++11  conftest.cpp >&5
../configure: line 1638: -c: command not found
configure:6731: $? = 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 "http://www.gnu.org/software/glibc/"
| #define PKGVERSION "(GNU libc) "
| #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
| #define HAVE_TUNABLES 1
| #define HAVE_CC_NO_STACK_PROTECTOR 1
| #define STACK_PROTECTOR_LEVEL 0
| #define USE_MULTIARCH 1
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define NO_CTORS_DTORS_SECTIONS 1
| #define HAVE_Z_COMBRELOC 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
| #define HAVE_SELINUX 1
| #define HAVE_EHDR_START 1
| #define HAVE_BUILTIN_TRAP 1
| /* end confdefs.h.  */
| 
| #include <thread>
| 
| // 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:6740: result: no
configure:6770: result: running configure fragment for sysdeps/unix/sysv/linux/x86_64/64
configure:6770: result: running configure fragment for sysdeps/unix/sysv/linux/x86_64
configure:6770: result: running configure fragment for sysdeps/unix/sysv/linux
configure:9: checking installed Linux kernel header files
configure:28: gcc -B/usr/bin/ -c -g -O2  -nostdinc -isystem /opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8/include -isystem /usr/include conftest.c >&5
configure:28: $? = 0
configure:35: result: 3.2.0 or later
configure:69: checking for kernel header at least 3.2.0
configure:87: gcc -B/usr/bin/ -c -g -O2  -nostdinc -isystem /opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8/include -isystem /usr/include conftest.c >&5
configure:87: $? = 0
configure:93: result: ok
configure:142: checking for symlinks in /usr/include
configure:159: result: ok
configure:6770: result: running configure fragment for sysdeps/gnu
configure:6770: result: running configure fragment for sysdeps/x86_64
configure:4: checking for AVX512DQ support in assembler
configure:13: gcc -B/usr/bin/ -c  conftest.s 1>&5
configure:16: $? = 0
configure:24: result: yes
configure:31: checking for AVX512 support
configure:37: gcc -B/usr/bin/ -mavx512f -xc /dev/null -S -o /dev/null
configure:40: $? = 0
configure:48: result: yes
configure:57: checking for Intel MPX support
configure:66: gcc -B/usr/bin/ -c  conftest.s 1>&5
configure:69: $? = 0
configure:77: result: yes
configure:6770: result: running configure fragment for sysdeps/x86
configure:6831: checking whether -fPIC is default
configure:6847: result: no
configure:6851: checking whether -fPIE is default
configure:6867: result: no
configure:7021: 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.69.  Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on tencent-test

config.status:954: creating config.make
config.status:954: creating Makefile
config.status:954: creating config.h
config.status:1128: executing default commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_audit_audit_log_user_avc_message=no
ac_cv_lib_cap_cap_init=no
ac_cv_lib_selinux_is_selinux_enabled=yes
ac_cv_objext=o
ac_cv_path_BASH_SHELL=/bin/bash
ac_cv_path_INSTALL_INFO=/sbin/install-info
ac_cv_path_PERL=/bin/perl
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AS=/usr/bin/as
ac_cv_prog_AWK=gawk
ac_cv_prog_BISON=bison
ac_cv_prog_LD=/usr/bin/ld
ac_cv_prog_MAKE=gmake
ac_cv_prog_MSGFMT=msgfmt
ac_cv_prog_PYTHON_PROG=python3
ac_cv_prog_SED=sed
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_NM=nm
ac_cv_prog_ac_ct_READELF=readelf
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
libc_cv_as_noexecstack=yes
libc_cv_asm_avx512dq=yes
libc_cv_asm_mpx=yes
libc_cv_asm_set_directive=yes
libc_cv_broken_alias_attribute=no
libc_cv_builtin_trap=yes
libc_cv_cc_avx512=yes
libc_cv_cc_loop_to_function=yes
libc_cv_cc_nofma=-ffp-contract=off
libc_cv_cc_pie_default=no
libc_cv_cc_with_libunwind=no
libc_cv_compiler_ok=yes
libc_cv_complocaledir='${exec_prefix}/lib/locale'
libc_cv_ctors_header=no
libc_cv_cxx_link_ok=no
libc_cv_cxx_thread_local=no
libc_cv_ehdr_start=yes
libc_cv_fno_toplevel_reorder=yes
libc_cv_fpie=yes
libc_cv_gcc_builtin_memset=yes
libc_cv_gcc_builtin_redirection=yes
libc_cv_gcc_incompatible_alias=yes
libc_cv_gcc_indirect_function=yes
libc_cv_gcc_unwind_find_fde=no
libc_cv_has_glob_dat=yes
libc_cv_hashstyle=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=yes
libc_cv_linux320='3.2.0 or later'
libc_cv_localstatedir=/var
libc_cv_mtls_dialect_gnu2=yes
libc_cv_multidir=.
libc_cv_no_dynamic_linker=yes
libc_cv_nss_crypt=no
libc_cv_output_format=elf64-x86-64
libc_cv_pic_default=no
libc_cv_pie_default=no
libc_cv_predef_fortify_source=no
libc_cv_prog_as_gnu=yes
libc_cv_prog_ld_gnu=yes
libc_cv_protected_data=yes
libc_cv_rootsbindir=/sbin
libc_cv_rtlddir=/lib64
libc_cv_slibdir=/lib64
libc_cv_ssp=yes
libc_cv_ssp_all=yes
libc_cv_ssp_strong=yes
libc_cv_static_nss_crypt=no
libc_cv_static_pie=yes
libc_cv_sysconfdir=/etc
libc_cv_textrel_ifunc=yes
libc_cv_use_default_link=no
libc_cv_with_fp=yes
libc_cv_x32=no
libc_cv_z_combreloc=yes
libc_cv_z_execstack=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR='/usr/bin/ar'
AS='/usr/bin/as'
ASFLAGS_config=' -Wa,--noexecstack'
AUTOCONF='no'
AWK='gawk'
BASH_SHELL='/bin/bash'
BISON='bison'
BUILD_CC=''
CC='gcc -B/usr/bin/'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CPPUNDEFS=''
CXX=''
CXXFLAGS='-g -O2'
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='/usr/bin/gprof'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO='/sbin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LD='/usr/bin/ld'
LDFLAGS=''
LIBGD='no'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='gmake'
MAKEINFO=':'
MSGFMT='msgfmt'
NM='nm'
OBJCOPY='/usr/bin/objcopy'
OBJDUMP='/usr/bin/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='http://www.gnu.org/software/glibc/'
PACKAGE_VERSION='(see version.h)'
PATH_SEPARATOR=':'
PERL='/bin/perl'
PKGVERSION='(GNU libc) '
PKGVERSION_TEXI='(GNU libc) '
PYTHON='python3 -B'
PYTHON_PROG='python3'
READELF='readelf'
RELEASE='stable'
REPORT_BUGS_TEXI='@uref{http://www.gnu.org/software/libc/bugs.html}'
REPORT_BUGS_TO='<http://www.gnu.org/software/libc/bugs.html>'
SED='sed'
SHELL='/bin/sh'
SYSINCLUDES='-nostdinc -isystem /opt/rh/devtoolset-8/root/usr/lib/gcc/x86_64-redhat-linux/8/include -isystem /usr/include'
VERSION='2.29'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
all_warnings=''
base_machine='x86_64'
bindir='${exec_prefix}/bin'
bindnow='no'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_crypt='yes'
build_nscd='yes'
build_obsolete_nsl='no'
build_os='linux-gnu'
build_pt_chown='no'
build_vendor='pc'
cross_compiling='no'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
enable_timezone_tools='yes'
enable_werror='yes'
exec_prefix='${prefix}'
experimental_malloc='yes'
extra_nonshared_cflags=''
fno_unit_at_a_time='-fno-toplevel-reorder -fno-section-anchors'
force_install='yes'
hardcoded_path_in_tests='no'
have_libaudit='no'
have_libcap='no'
have_selinux='yes'
have_tunables='yes'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
ldd_rewrite_script='sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed'
libc_cv_cc_loop_to_function='yes'
libc_cv_cc_nofma='-ffp-contract=off'
libc_cv_cc_pie_default='no'
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_fpie='yes'
libc_cv_gcc_unwind_find_fde='no'
libc_cv_has_glob_dat='yes'
libc_cv_hashstyle='yes'
libc_cv_insert='yes'
libc_cv_localstatedir='/var'
libc_cv_mtls_dialect_gnu2='yes'
libc_cv_multidir='.'
libc_cv_nss_crypt='no'
libc_cv_output_format='elf64-x86-64'
libc_cv_pic_default='no'
libc_cv_pie_default='no'
libc_cv_protected_data='yes'
libc_cv_rootsbindir='/sbin'
libc_cv_rtlddir='/lib64'
libc_cv_slibdir='/lib64'
libc_cv_ssp='yes'
libc_cv_static_nss_crypt='no'
libc_cv_sysconfdir='/etc'
libc_cv_textrel_ifunc='yes'
libc_cv_with_fp='yes'
libc_cv_z_combreloc='yes'
libc_cv_z_execstack='yes'
libc_extra_cflags=''
libc_extra_cppflags=''
libdir='${exec_prefix}/lib64'
libexecdir='${exec_prefix}/libexec'
link_obsolete_rpc='no'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mach_interface_list=''
mandir='${datarootdir}/man'
multi_arch='default'
no_stack_protector='-fno-stack-protector -DSTACK_PROTECTOR_LEVEL=0'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
profile='no'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
stack_protector='-fno-stack-protector'
static=''
static_nss='no'
subdirs=' '
submachine=''
sysconfdir='${prefix}/etc'
sysheaders='/usr/include'
sysnames=' sysdeps/unix/sysv/linux/x86_64/64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86 sysdeps/x86/nptl sysdeps/unix/sysv/linux/wordsize-64 sysdeps/x86_64/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/x86_64 sysdeps/unix sysdeps/posix sysdeps/x86_64/64 sysdeps/x86_64/fpu/multiarch sysdeps/x86_64/fpu sysdeps/x86/fpu sysdeps/x86_64/multiarch sysdeps/x86_64 sysdeps/x86 sysdeps/ieee754/float128 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/wordsize-64 sysdeps/ieee754 sysdeps/generic'
target_alias=''
use_default_link='no'
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 "http://www.gnu.org/software/glibc/"
#define PKGVERSION "(GNU libc) "
#define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
#define HAVE_TUNABLES 1
#define HAVE_CC_NO_STACK_PROTECTOR 1
#define STACK_PROTECTOR_LEVEL 0
#define USE_MULTIARCH 1
#define HAVE_ASM_SET_DIRECTIVE 1
#define NO_CTORS_DTORS_SECTIONS 1
#define HAVE_Z_COMBRELOC 1
#define HAVE_BUILTIN_MEMSET 1
#define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
#define HAVE_SELINUX 1
#define HAVE_EHDR_START 1
#define HAVE_BUILTIN_TRAP 1
#define __LINUX_KERNEL_VERSION (3 * 65536 + 2 * 256 + 0)
#define __ABI_TAG_VERSION 3,2,0
#define HAVE_INLINED_SYSCALLS 1
#define HAVE_AVX512DQ_ASM_SUPPORT 1
#define HAVE_AVX512_SUPPORT 1
#define HAVE_MPX_SUPPORT 1
#define PI_STATIC_AND_HIDDEN 1
#define HAVE_IFUNC 1
#define HAVE_GCC_IFUNC 1
#define USE_NSCD 1
#define USE_LDCONFIG 1

configure: exit 0