[PATCH] Configure GCC with --enable-initfini-array [BZ #27945]
Joseph Myers
joseph@codesourcery.com
Wed Jun 9 20:52:55 GMT 2021
On Wed, 9 Jun 2021, H.J. Lu via Libc-alpha wrote:
> See:
>
> https://gitlab.com/hjl.tools/x86-64-linux-toolchain
That looks like it has different scope and goals from
build-many-glibcs.py.
As another example, build-many-glibcs.py doesn't build GCC with ISL -
because that's not relevant to testing different glibc configurations, so
adding ISL to the build would just add extra irrelevant complications.
As another example closer to the present case, you're using
--enable-gnu-indirect-function. That option can definitely be relevant to
the glibc build - but we also want glibc to be able to build with GCC
versions not defaulting to enabling that option on all relevant
architectures, and adding that option in build-many-glibcs.py on relevant
architectures would both reduce test coverage and lead to extra duplicated
knowledge in build-many-glibcs.py about which architectures that option is
relevant on.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list