[PATCH] elf: Add tests with a local IFUNC resolver [BZ #23937]

Rafal Luzynski digitalfreak@lingonborough.com
Mon Mar 11 11:16:00 GMT 2019


4.03.2019 10:47 Rafal Luzynski <digitalfreak@lingonborough.com> wrote:
> 
> 2.03.2019 17:54 "H.J. Lu" <hjl.tools@gmail.com> wrote:
> > 
> > [...]
> > GCC 6.4.1 and binutils 2.31 branch work for me on x86-64.
> 
> Still the same failure.
> 
> I've also checked a similar virtual machine on another physical
> machine and again the same failure which confirms that it is not
> anything specific to one CPU model.
> 
> Does it maybe matter that all my tests are performed in virtual
> machines controlled by VirtualBox?

I've made several more tests during the weekend and it seems that
it's GCC version what matters.  Just to summarize: my basic test
environment is Fedora 24 (yes, I know, it is old) but I am able to
install packages from newer versions.  I definitely have not tested
every single version of GCC but 7.2.1-2 and everything newer worked
fine while 7.1.1-3 and everything older failed at these tests.
I did not touch binutils during these tests so I assume that its
version does not matter.

Thoughts?  Should we state that GCC 7.2 is a minimum required version
to build Glibc?  Should these tests have additional checks and XFAIL
in some versions of GCC?  Should we assume that the failures are
correct and Glibc may be compiled with that particular version of GCC
but only if GCC has some patches fixing any known bugs?

Also, it's likely that it's not GCC what is problematic but some
other package pulled by GCC, for example libtool.

Please help.

Regards,

Rafal



More information about the Libc-alpha mailing list