Joe McDonnell has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19022
Change subject: IMPALA-11599: Build gdb with the OS compiler ...................................................................... IMPALA-11599: Build gdb with the OS compiler With the switch to a newer GDB that accompanied the GCC 10.4 upgrade, GDB now has a dependency on libstdc++. gdb from the GCC 10.4 toolchain fails on Centos 7 with messages like: gdb: /../lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by gdb) gdb: /../lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by gdb) gdb: /../lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by gdb) Checking the gdb binary, it's RPATH is not setup correctly, so it is not able to find the libstdc++ that ships with GCC 10 and Centos 7's libstdc++ is too old. Since Impala only needs the gdb binary and setting the RPATH is difficult for gdb, this switches to building gdb with the OS compilers / libstdc++. That avoids the need to fix the RPATH. Testing: - Ran build, downloaded the binary on Centos 7, verified it ran properly Change-Id: I0b794f3f28e3932c08ced0952bc1ba342c3dc0f6 --- M buildall.sh M functions.sh M init-compiler.sh 3 files changed, 16 insertions(+), 13 deletions(-) git pull ssh://gerrit.cloudera.org:29418/native-toolchain refs/changes/22/19022/1 -- To view, visit http://gerrit.cloudera.org:8080/19022 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: native-toolchain Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I0b794f3f28e3932c08ced0952bc1ba342c3dc0f6 Gerrit-Change-Number: 19022 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell <joemcdonn...@cloudera.com>