On Fri, Dec 03, 2021 at 12:16:56PM +0100, Thomas Koenig wrote:
> > It is part of upstream glibc 2.32 (released Aug 2020) and later, see
> > https://sourceware.org/git/?p=glibc.git;a=commit;h=051be01f6b41a1466b07ae4bd7f5894a8ec5fe67
> > distrowatch says that glibc 2.32 and later is in Ubuntu 21.04 and later.
> 
> So it is not possible to test on the current machine set up for this,
> which has ubuntu 20.04. This makes development rather pointless at
> the moment :-(
> 
> So, what should the path forward be?

glibc is backwards compatible, so if whomever has root on the machine would
just upgrade glibc, that would be enough.
I don't know if ubuntu has something like mock(1) that allows just
installing packages from a newer distro in a new chroot, that would be
another option.
One can also just as a user unpack newer glibc somewhere, configure gcc
against that tree as --with-sysroot= but for running tests one would need to
change dynamic_linker_prefix in specs -
*dynamic_linker_prefix:
/home/user/wherever
in some file and -specs=/that/file
but it would be a pain.
Note, we want to test both building gcc on ppc64le with older glibc
and newer glibc (and that libgfortran will have the same ABI between both
and one can move gcc including libgfortran and libquadmath from the older
glibc setup to newer and make -mabi=ieeelongdouble work in Fortran too).

        Jakub

Reply via email to