You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/10/19 20:33:00 UTC

[jira] [Commented] (IMPALA-15557) Devcontainer Using Incorrect libstdc++

    [ https://issues.apache.org/jira/browse/IMPALA-15557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18128894#comment-18128894 ] 

ASF subversion and git services commented on IMPALA-15557:
----------------------------------------------------------

Commit fb0cfba529252fc618db4306df425d2493754c7a in impala's branch refs/heads/master from jasonmfehr
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=fb0cfba52 ]

IMPALA-15557: Use Toolchain stdlib

The devcontainer image is built on top of Ubuntu 22.04 which contains
a version of libstdc++ that is now too old after the GCC 15 upgrade.

Removes exporting the LD_LIBRARY_PATH env var which causes scripts
and commands to use the toolchain libstdc++.

Testing accomplished by building a devcontainer image with this
change and running a devcontainer using this image.

Change-Id: If0e141ec7b62eaf5d086d29d118d9bef3e570c29
Reviewed-on: http://gerrit.cloudera.org:8080/25125
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Devcontainer Using Incorrect libstdc++
> --------------------------------------
>
>                 Key: IMPALA-15557
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15557
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 5.0.0
>            Reporter: Jason Fehr
>            Assignee: Jason Fehr
>            Priority: Major
>
> The devcontainer sets `LD_LIBRARY_PATH` in the shell environment [here](https://github.com/apache/impala/blob/9bfa999bd9fb4e7d67f3a74aea50ca2f41e167ae/.devcontainer-build/zshrc#L41).  Now that GCC has been upgraded to 15, the Ubuntu 22.04 system provided libstdc++ is too old which causes runtime failures such as:
> {noformat}
> /home/impdev/impala/be/build/debug//service/unifiedbetests: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by /home/impdev/impala/be/build/debug//service/unifiedbetests)
> /home/impdev/impala/be/build/debug//service/unifiedbetests: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /home/impdev/impala/be/build/debug//service/unifiedbetests)
> /home/impdev/impala/be/build/debug//service/unifiedbetests: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by /home/impdev/impala/be/build/debug//service/unifiedbetests)
> /home/impdev/impala/be/build/debug//service/unifiedbetests: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /home/impdev/impala/toolchain/toolchain-packages-gcc15.3.0/kudu-faa920b83/debug/lib/libkudu_client.so.0)
> /home/impdev/impala/be/build/debug//service/unifiedbetests: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by /home/impdev/impala/toolchain/toolchain-packages-gcc15.3.0/kudu-faa920b83/debug/lib/libkudu_client.so.0)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org