When building v8, I encounter the following error
./bytecode_builtins_list_generator: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by ./bytecode_builtins_list_generator)
After doing some search, I learn that I have old glibc
GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_2.15
GLIBC_2.16
GLIBC_2.17
GLIBC_2.18
GLIBC_PRIVATE
I know for glibc, I can build from source code from ftp.gnu.org. However I can't find glibc-3.4.21 there.
So I wonder how can I build glibc-3.4.21 from source code?
FOOTNOTE
Using yum
is not ok, because:
- My Centos is too old
- I don't want to replace my original glibc