wget https://ftp.gnu.org/gnu/libc/glibc-2.33.tar.xz
升级make4.2
安装python3
tar -Jxvf glibc-2.33.tar.xz mkdir glibc-2.33/build cd glibc-2.33/build LD_LIBRARY_PATH='' ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=x86_64-redhat-linux --enable-kernel=3.10.0 --without-gd --disable-profile --with-selinux make -j sed -i '128i\ && $name ne "nss_test2"' ../scripts/test-installation.pl make install make -j28 localedata/install-locales service crond restart
[root@localhost ~]# ldd --version ldd (GNU libc) 2.33 strings /usr/lib64/libstdc++.so.6 | grep GLIBCXX