[PATCH 4/7] Add --early-cflags configure option

Florian Weimer fweimer@redhat.com
Fri Jan 14 14:29:34 GMT 2022


* H. J. Lu:

>> +@item --with-early-cflags=@var{cflags}
>> +Use additional compiler flags @var{cflags} to build the early startup
>> +code of the dynamic linker.  These flags can be used to enable early
>> +dynamic linker diagnostics to run on CPUs which are not compatible with
>> +the rest of @theglibc{}, for example, due to compiler flags which target
>> +a later instruction set architecture (ISA).
>
> Isn't it limited to rtld?  If yes, I prefer --with-early-rtld-cflags

It's currently restricted to ld.so.  But we might enhance it to cover
static linking in the future, too.

Thanks,
Florian



More information about the Libc-alpha mailing list