Skip to content
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

[bug] musl packages created by Release Automation failed with /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38 not found #1431

Closed
fukusuket opened this issue Oct 9, 2024 · 3 comments · Fixed by #1436
Assignees
Labels
bug Something isn't working

Comments

@fukusuket
Copy link
Collaborator

#1430 (comment)

@fukusuket fukusuket added the bug Something isn't working label Oct 9, 2024
@fukusuket fukusuket added this to the 2.18.0 Sector Release milestone Oct 9, 2024
@fukusuket fukusuket self-assigned this Oct 9, 2024
@fukusuket fukusuket changed the title [bug] musl packages created by Release Automation failed with /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38' not found` [bug] musl packages created by Release Automation failed with /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.38 not found Oct 9, 2024
@YamatoSecurity
Copy link
Collaborator

Humm, this is weird. MUSL binaries should not be using GLIBC so it looks like it is not being correctly compiled to MUSL

@fukusuket
Copy link
Collaborator Author

fukusuket commented Oct 10, 2024

I see... it still doesn't seem to compile to the expected binary... :(

I am compiling with x86_64-unknown-linux-musl specified below, but this does not seem to be working.
I will try it on my local Ubuntu!

The following issues could have the same cause ... ? 🤔

@fukusuket
Copy link
Collaborator Author

I was able to create musl binaries in local, so it may be an actions issue ...

Ubuntu 22.04 LTS local build

$ rustup target add x86_64-unknown-linux-musl
$ cargo build --target=x86_64-unknown-linux-musl --release
$ ldd hayabusa
	statically linked

Ubuntu 22.04 LTS Actions build

 $ ldd hayabusa-2.18.0-lin-intel-x64-musl
./hayabusa-2.18.0-lin-intel-x64-musl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.39' not found (required by ./hayabusa-2.18.0-lin-intel-x64-musl)
./hayabusa-2.18.0-lin-intel-x64-musl: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./hayabusa-2.18.0-lin-intel-x64-musl)
	linux-vdso.so.1 (0x00007ffd052c9000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007faae5a0a000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007faae59ea000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007faae5903000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faae56da000)
	/lib64/ld-linux-x86-64.so.2 (0x00007faae68ab000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants