-
Notifications
You must be signed in to change notification settings - Fork 3.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
linux: Linker error for remote_server when using script/install-linux
#24880
Comments
Looks like a failure to build aws-lc-sys (which is an absolute pain to build to be fair). https://aws.github.io/aws-lc-rs/requirements/linux.html has the dependencies it needs. What's missing from your system so we can add it to |
I have the same issue and I have made sure to install all zed deps & aws-lc-rs deps, and it still fails, my suspicion is the musl C library as when I compile it with the gnu C lib(by forcing the target) |
I have tried the same with |
Weird. We were able to get it compiling for our CI with |
Hmm, I got it to build on Kubuntu 24.10 by... installing |
Go is installed. (btw. it's my main language) |
FWIW
|
Hm, now it again didn't work. Maybe I just forgot to clear out |
yeah it looks like it, (GCC =>14 specifically) It seems to me, that it could be caused by this bug in aws-lc-rs FIPS fails to build with GCC >= 14 & GCC-14 - build failure for FIPS module I have now looking at the aws-lc-rs it seems we can override the CC only for that, if we use gcc-13/clang(haven't fully tested, but should work too) with |
Great! Do you want to add a note to the linux development docs?
…On Thu, Feb 20, 2025 at 12:23 PM, Michael Kaplan ***@***.***> wrote:
Weird. We were able to get it compiling for our CI with export CC=$(which
clang), maybe it's the combination of musl + gcc ?
yeah it looks like it, (GCC =>14 specifically)
It seems to me, that it could be caused by this bug in aws-lc-rs FIPS
fails to build with GCC >= 14
<aws/aws-lc-rs#569> & GCC-14 - build failure
for FIPS module <aws/aws-lc#2010>
I have gcc version 14.2.1 20250110 (Red Hat 14.2.1-7) (GCC) and it fails
on that(without the target change)
now looking at the aws-lc-rs it seems we can override the CC only for
that, if we use gcc-13/clang(haven't fully tested, but should work too)
with export AWS_LC_FIPS_SYS_CC=gcc-13; script/install-linux it also
compiles fine.
—
Reply to this email directly, view it on GitHub
<#24880 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAXAQGBTKAOYHTYDS26IOL2QYTTJAVCNFSM6AAAAABXE3OH46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZSGQ3DKOBWGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
[image: kaplan-michael]*kaplan-michael* left a comment (zed-industries/
zed#24880)
<#24880 (comment)>
Weird. We were able to get it compiling for our CI with export CC=$(which
clang), maybe it's the combination of musl + gcc ?
yeah it looks like it, (GCC =>14 specifically)
It seems to me, that it could be caused by this bug in aws-lc-rs FIPS
fails to build with GCC >= 14
<aws/aws-lc-rs#569> & GCC-14 - build failure
for FIPS module <aws/aws-lc#2010>
I have gcc version 14.2.1 20250110 (Red Hat 14.2.1-7) (GCC) and it fails
on that(without the target change)
now looking at the aws-lc-rs it seems we can override the CC only for
that, if we use gcc-13/clang(haven't fully tested, but should work too)
with export AWS_LC_FIPS_SYS_CC=gcc-13; script/install-linux it also
compiles fine.
—
Reply to this email directly, view it on GitHub
<#24880 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAXAQGBTKAOYHTYDS26IOL2QYTTJAVCNFSM6AAAAABXE3OH46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNZSGQ3DKOBWGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Summary
linux: Linker error for remote_server when using
script/install-linux
Steps to trigger the problem:
After fresh
git pull
Actual Behavior:
Linker errors: look at https://discord.com/channels/869392257814519848/1204679850208657418/1339566403497365596
Expected Behavior:
no linker errors
Zed Version and System Specs
Ubuntu 24.04.01
The text was updated successfully, but these errors were encountered: