-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 1.7.0 (insiders) of extension now requires an OS with glibc 2.27 or newer #8192
Comments
Got same issue with v1.7.0-insiders on CentOS 7:
I downgraded it to v1.6.0 and disabled the extension auto-update, it works fine now. |
same issue with v1.7.0-insiders on Debian 9 /home/????/.vscode-server/extensions/ms-vscode.cpptools-1.7.0-insiders/bin/cpptools: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/????/.vscode-server/extensions/ms-vscode.cpptools-1.7.0-insiders/bin/cpptools) |
How to set it to find libs according to the configured path, Rather than the system default? Since our develop environment has multiple sets of compilation environments, I specified |
same issue in CentOS 7. Could you please keep the compatibility to gdbc <= 2.24? It's hard to upgrade glibc.
I have to downgraded it to v1.6.0. |
I also downgrade the version back to 1.60. Upgrade glibc for the system may result in the disability of boot process... so if it is possible please check the compatibility of the glibc of the cpp extension. |
How do I disable auto update of the extension? I download and install v1.6 but then it auto updates to v1.7 |
@jhsterling It's here: |
@lixin-wei |
Same problem for me.
|
There was a build change for version 1.7.0 because Azure Ubuntu 16 build pool is no longer available. Because of the build change, version 1.7.0 of the extension now requires an OS with glibc 2.27 or newer. Sorry we failed to communicate this requirement as we were not sure if it would be an actual issue. To continue to use version 1.6.0 of the extension without auto-updating to 1.7.0, disable the setting A request to add back the Azure Ubuntu 16 image build pool can be filed at https://github.com/actions/virtual-environments. |
Same on Oracle Linux 7 |
The root cause is from actions/runner-images#3287 (we haven't yet found a way to keep the older glibc dependency when building on Ubuntu 18). |
Thanks for the answers. I checked with objdump -T and it seems to be the powf() function in cpptools that needs glibc 2.27. Maybe I misinterpret the output from objdump or dont understand .so versioning on Linux, but if it happens to be just powf() usage maybe one could roll one’s own power function to keep backward compatibility with older distros? Or maybe there is a way to add glibc 2.27 on my CentOs 7 devcontainer? (Yes, I’m running cpptools 1.6.0 for now but I’m eager to use the latest preview builds since it always improve and becoming better) |
So, anyone can answer my question?....How to set it to find libs according to the configured path, rather than use system default? Since our develop environment has multiple sets of compilation environments, I specified C_Cpp.compilePath, but it obviously didn't take effect. |
@perrog Yes, you are correct -- the powf is the cause of the 2.27 requirement and without that it would drop to 2.17. It was on my TODO list to check that via @nolongerwait I'm not sure what you're asking. The compilerPath is for configuring IntelliSense and is unrelated to this glibc issue. |
@sean-mcmanus How you fixed this? By using your own power function? |
@lixin-wei Yes...we only call it in the simple pow(float, int) case. |
@sean-mcmanus Which config setting is related to this GLIBC issue? I mean that there are multiple compilation environments in my development environment, and there are different versions. I want to know whether I could use the configuration of vscode-cpptools to make it find the correct |
@nolongerwait No config setting is related to the glibc issue -- it's an issue with the cpptools binary. We'll be releasing a fix with 1.7.0-insiders2 tomorrow. |
Thanks a lot. |
1.7.0-insiders2 is now available with a fix for this issue. https://github.com/microsoft/vscode-cpptools/releases/tag/1.7.0-insiders2 |
Since this was a regression only in a previous insiders release, closing this issue. |
Get it, Thanks for your reply.😁 |
Bug type: Language Service
Describe the bug
After the update of 1.7.0-insider extension this afternoon, the language server of C/C++ extension continues to crash and it notifies that "version `GLIBC_2.27' not found", I assume this comes with the compatibility with the Ubuntu 16.04 system
Expected behavior
The IntelliSense stops to work after the crash of the language server
The text was updated successfully, but these errors were encountered: