busybox --gc-sections thing
Rob Landley
rob at landley.net
Mon Dec 11 08:53:53 PST 2006
On Sunday 10 December 2006 9:58 am, Jason Schoon wrote:
> Well said. There really isn't much of a reason to statically link with
> glibc. If you do, you can live with seeing Busybox spit out some warnings.
Last I checked the warnings didn't actually _fix_ anything, so the resulting
binary is still broken (thanks to glibc's stdio going "boing" with
gc-sections), and when you redirect output it disappears.
Statically linking against uClibc works. With glibc, the only option is to
disable --gc-sections. (And given how bloated statically linking against
glibc already is, the difference in the resulting binary size is a rounding
error.)
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
More information about the busybox
mailing list