-
Notifications
You must be signed in to change notification settings - Fork 590
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
Error on cargo build --release #1346
Comments
It seems that my used gcc version is to old.
I found some advice to use a newer version of gcc, so I did:
Running cargo build leads now to
like also mentioned in the COMPILING.md here. Now I end up with the original error (see first post). I can see that build-essentials has installed gcc-9 again. I tried to just remove gcc-9, also does not work. The error on cargo build is now:
|
What has fixed the issue for me:
I missed Maybe it's worth to mention a min. version for gcc in the COMPILING.md? |
I don't think this is realistic. This new gcc requirement comes from a dependency. Downstream projects can't be expected to track this kind of thing. I think if you're building the latest code, you're likely going to need a reasonably recent version of common dev tools like gcc. Ubuntu 20.04 might still be "supported" by Canoncial, but it's two LTS releases behind now and contains software from 4.5 years ago. I think it's fair to say that building latest software isn't what old Ubuntu LTS releases are for. |
Ok. The issue is solved for me at the moment. Regarding "best practice": Who is responsible for closing an issue? The OP? Or should this stay open in case someone else stumbles over the same (whereas can still be found in closed issues)? |
If there's no further action or tracking required then leaving it open isn't necessary and anyone can close. It can easily be reopened later if required. Google will likely bring anyone else here with the same problem, and the workaround should be clear to them. |
I guess the one thing remaining for me here is why it's dragging this dependency in. I thought that aws-lc package was related to nasm support, and surely that's behind a non-default feature flag... |
Cancel thah. I see it's being brought in by hyper's TLS library that's used by |
I think they fixed this in aws-lc-sys v0.21.2 aws/aws-lc-rs#520 |
I'm getting a build error on
cargo build --release
, running Linux Mint 20.3 (based on Ubuntu 20.04 LTS, still supported). What I did so far:Building result in following error:
I'm not facing any build issues for a version older than 3rd of Sept. Next update for me was 7th of Sept. Since 7th of Sept. I cannot build HEAD of dev anymore. Some commit between 3rd and 7th seems to cause this issue.
Any help welcome.
The text was updated successfully, but these errors were encountered: