-
Notifications
You must be signed in to change notification settings - Fork 643
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
GDB static build result in dynamic binary #2127
Comments
Would you be able to run |
|
Hmm OK so just libc stuff. I take it libc.a and libm.a are available on your machine? |
Yes, it runs without a problem. |
I have a vague feeling that there is some special libtool thing for using a static libc. We might need that in addition to the other flags. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to build a static toolchain (
arm-unknown-linux-gnueabi
), but the resulting gdb binary is still dynamically linked.All other binaries are static.
Here is my config:
.config
Environment is a fedora-toolbox:39 with these packages:
Build log:
build.zip
I guess it is related to #2056
In the build.log i found that only the binutils build uses the "-all-static" option, but gdb apparently only uses "-static"?
crosstool-ng: 1.26.0.69_95a41fb (current main branch)
The text was updated successfully, but these errors were encountered: