Hi, guys, I want to install glibc 2.37 for 32-bit applications. However, there are some errors occurred and please see below for details. I enter the following command in the build directory: build_glibc ../glibc-2.37/configure --prefix=/usr/glibc2.37 CC="gcc -m32" CFLAGS="-O3" The following is the outputs: ...................................... ...................................... gcc -m32 -Wl,-rpath-link=/home/dingjun/glibc-2.37/build_glibc:/home/dingjun/glibc-2.37/build_glibc/math:/home/dingjun/glibc-2.37/build_glibc/elf:/home/dingjun/glibc-2.37/build_glibc/dlfcn:/home/dingjun/glibc-2.37/build_glibc/nss:/home/dingjun/glibc-2.37/build_glibc/nis:/home/dingjun/glibc-2.37/build_glibc/rt:/home/dingjun/glibc-2.37/build_glibc/resolv:/home/dingjun/glibc-2.37/build_glibc/mathvec:/home/dingjun/glibc-2.37/build_glibc/support:/home/dingjun/glibc-2.37/build_glibc/crypt:/home/dingjun/glibc-2.37/build_glibc/nptl -o /home/dingjun/glibc-2.37/build_glibc/support/links-dso-program -pie -Wl,-z,pack-relative-relocs -Wl,-O1 -nostdlib -nostartfiles -Wl,-z,relro /home/dingjun/glibc-2.37/build_glibc/csu/Scrt1.o /home/dingjun/glibc-2.37/build_glibc/csu/crti.o `gcc -m32 --print-file-name=crtbeginS.o` /home/dingjun/glibc-2.37/build_glibc/support/links-dso-program.o -lstdc++ -lgcc -lgcc_s -Wl,-dynamic-linker=/usr/glibc2.37/lib/ld-linux.so.2 /home/dingjun/glibc-2.37/build_glibc/libc.so.6 /home/dingjun/glibc-2.37/build_glibc/libc_nonshared.a -Wl,--as-needed /home/dingjun/glibc-2.37/build_glibc/elf/ld.so -Wl,--no-as-needed -lgcc `gcc -m32 --print-file-name=crtendS.o` /home/dingjun/glibc-2.37/build_glibc/csu/crtn.o /usr/bin/ld: i386:x86-64 architecture of input file `/home/dingjun/glibc-2.37/build_glibc/support/links-dso-program.o' is incompatible with i386 output /usr/bin/ld: /home/dingjun/glibc-2.37/build_glibc/support/links-dso-program.o: in function `main': links-dso-program.cc:(.text.startup+0x4f): undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/32/libstdc++.so: undefined reference to `__ctzdi2@GCC_3.4' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/32/libstdc++.so: undefined reference to `__divmoddi4@GCC_7.0.0' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/32/libstdc++.so: undefined reference to `__popcountsi2@GCC_3.4' /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/32/libstdc++.so: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0' collect2: error: ld returned 1 exit status make[2]: *** [../Rules:230: /home/dingjun/glibc-2.37/build_glibc/support/links-dso-program] Error 1 make[2]: Leaving directory '/home/dingjun/glibc-2.37/glibc-2.37/support' make[1]: *** [Makefile:484: support/others] Error 2 make[1]: Leaving directory '/home/dingjun/glibc-2.37/glibc-2.37' make: *** [Makefile:9: all] Error 2 Thanks & regards, Dingjun Dingjun Chen | Software Developer [Geotech Airborne Geophysical Surveys] Geotech Ltd. dba Geotech Airborne | 270 INDUSTRIAL PKY S | AURORA ON CA | L4G 3T9 T: +1 905 841 5004 | Dingjun.Chen@xxxxxxxxxxxxxxxxxxx<mailto:Dingjun.Chen@xxxxxxxxxxxxxxxxxxx> | www.geotechairborne.com<www.geotech.ca> P Please consider the environment before printing this email This message may contain PRIVILEGED AND PROPRIETARY INFORMATION intended solely for the use of the addressee (s) named above. Any disclosure, distribution, copying, or use of the information by others is strictly prohibited. If you have received this message in error, please advise the sender by immediate reply and delete the original message.