-
Notifications
You must be signed in to change notification settings - Fork 397
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
Use custom gcc version for dockcross/linux-arm64-full
#663
Comments
I'm thinking maybe downgrading the GLIBC version, unfortunately it is not possible to change some GLIBC options (Like version...) with buildroot, it is possible crosstool-ng, I'll look into it when I have time. I can advise you to use buildroot (Vers. Buildroot 2021.08) rather than modifying directly in the configuration file, but otherwise: There are several other lines to change to go back to GCC 9.3: dockcross/linux-arm64-full/buildroot.config Lines 247 to 262 in 6dd95fc
dockcross/linux-arm64-full/buildroot.config Lines 363 to 366 in 6dd95fc
There may be other lines to change and possible compatibility issues with other software in buildroot, going through buildroot GUI is easier to configure the toolchain. I hope this will help you, |
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
As an aside, it would be helpful for the versions of C/C++ compilers that are shipped with the images to be documented. My use case: I'm using C++20 and the exact features of this new dialect of the language that are available depends on the compiler version. |
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue is still valid |
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue is still valid |
Yes, I agree. If the version of gcc is tagged into image name, we can identify which image is suitable for download. |
My raspbian gcc version is :
Apprently the latest image of |
Finally I found |
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days. |
Hello,
I'm trying to compile an application with the dockcross/linux-arm64-full for a raspberry-pi4. But compiling with the default configuration it uses gcc 11.2.0 version of the compiler and when I run the compiled code in the raspberry I get the message:
The
ldd
version on raspberry is:ubuntu@ubuntu:~$ ldd --version ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31
The
os-release
is:Is it possible to get
dockcross/linux-arm64-full
withgcc 9.3
?I tried to recompile the image modifying the
BR2_GCC_VERSION
parameter ofbuildroot.config
file but it fails :(An other solution would be to use the
dockcross/linux-arm64-lts
image but i need the qt5-core qt5-network dependencies and i failed to compile them for the image.Thank for your help.
The text was updated successfully, but these errors were encountered: