This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove ioperm etc. support for arm
Hi,
On Wed, May 29, 2019 at 08:46:43PM +0200, Florian Weimer wrote:
> > On Wed, May 29, 2019 at 04:53:46PM +0200, Florian Weimer wrote:
> >> For libc.so.6 on arm-linux-gnueabi (as built by build-many-glibcs.py),
> >> readelf shows this:
> >>
> >> Attribute Section: aeabi
> >> File Attributes
> >> Tag_CPU_name: "5T"
> >> Tag_CPU_arch: v5T
> >
> > Doesn't this depend on what is the default in the toolchain (GCC)
> > being used?
>
> Yes, I think so.
>
> > Looking at this script it enforces arch for some variants, but not for
> > plain arm-linux-gnueabi.
>
> Has GCC ever changed default here?
Interesting, it seems that v5t is indeed what GCC defaults to. I thought
it would have been the lowest one currently supported (v4t).
> Maybe we used to test ARMv4, and GCC changed under us without us
> noticing?
Don't know if they have ever changed that, but it would probably make
sense to add flags to build-many-glibcs.py to build for the lowest
supported arch level.
ARMv4 is already deprecated in GCC, so probably it's OK to remove this
stuff from glibc. Personally I'm concerned about armv4t support as I'm
running such systems still with modern glibc.
A.