This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems with the --gc-sections flags for ld


Hello.

I am having troubles using the --gc-sections flag with ld. It causes a
bug in the compiler I use (see
https://github.com/mozilla/rust/issues/8647 .) It makes sense that it
would cause the Rust compiler to bug out because the Rust compiler is
still in 0.8. I would still like to diagnose, and fix the problem
though. Does anyone have any ideas on how Rust could miscommunicate
with ld, and cause it to strip out the metadata that Rust attaches to
a library?

Thank you very much,
Steven Stewart-Gallus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]