-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Description
Description
If you go start a fresh ubuntu 18.04 machine you should have the following:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
However on your machine we got:
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28
GLIBCXX_3.4.29
with GLIBCXX_3.4.29
-> https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html -> break abi forcing end user that download a app that have been build on github actions to have gcc 11.1.0 installed
due to strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep "GLIBCXX"
Please do not force such intruisive behaviour by default, every appimage that build on your VM 18.04 force user to atleast have gcc 11.1.0 or ubuntu hirsute
for infos: https://packages.ubuntu.com/bionic/libstdc++6 -> gcc 8.4.0 not gcc 11.1.0, if user want the last gcc, they should use the last ubuntu image, not the 18.04
Area for Triage:
Question, Bug, or Feature?:
Bug
Virtual environments affected
- Ubuntu 16.04
- Ubuntu 18.04
- Ubuntu 20.04
- macOS 10.15
- macOS 11
- Windows Server 2016 R2
- Windows Server 2019
Expected behavior
strings /usr/lib/x86_64-linux-gnu/libstdc++.so.6 | grep "GLIBCXX"
should return GLIBCXX_3.4.25 GLIBCXX_3.4.26
Maximum, not GLIBCXX_3.4.29
Actual behavior
A simple appimage build on 18.04 will produce the following behaviour:
smk762@pig:~/Downloads/atomicdex-desktop-ubuntu-qt-5-15-2-dc34150.zip/atomicdex-desktop-linux-dc34150/AntaraAtomicDexAppDir/usr/bin$ ./atomicdex-desktop
./atomicdex-desktop: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ./atomicdex-desktop)
./atomicdex-desktop: /lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.13' not found (required by ./atomicdex-desktop)
Repro steps
Build an appimage with last version of clang using libstdc++ will produce the above error