This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Why GLIBC requires compiler optimizations to build
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 11 Jun 2018 14:48:55 -0700
- Subject: Re: Why GLIBC requires compiler optimizations to build
- References: <f3ddf6f8-0e4e-df25-2758-826321fb4623@linaro.org>
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.