Why GLIBC requires compiler optimizations to build

H.J. Lu hjl.tools@gmail.com
Mon Jun 11 21:49:00 GMT 2018


On Mon, Jun 11, 2018 at 2:38 PM, Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
> It has been some time since I tried to build glibc without optimization
> as an exercise and I can't really recall what exactly has prevented me
> to accomplish it.  So the question is if it is make sense to add such
> requirement and if it is the case whether it would be a useful options
> and what prevents us to do so?

The main issue is to bootstrap ld.so to prevent dynamic relocations
before it is ready.

-- 
H.J.



More information about the Libc-alpha mailing list