ARMv4 (not v4t) marked obsolete in gcc-6

Arnd Bergmann arnd at arndb.de
Tue Mar 15 08:14:28 PDT 2016


On Friday 11 March 2016 00:49:20 Dmitry Eremin-Solenikov wrote:
> > How long do you think you need for your systems?
> > Do you still ship new products, or are these all legacy devices that
> > will have a failing battery or flash at some point in the future?
> 
> I'm using several old PDAs with StrongARM CPU. They have CF cards
> and battery life isn't that important for me. I really see no point in dropping
> support for them just because GCC folks told us so.

The question for now is whether it's ok for you if gcc-7 stops shipping
with support for -march-armv4. If you can either keep using your platforms
with -march=armv4t and --fix-v4bx, or stop upgrading the toolchain after
gcc-6, I think everything is fine from the platform point of view.

> And BTW: I'm using EABI with that v4bx trick both in kernel and userspace.

Do you have a patch for the kernel for this? I believe we never pass
--fix-v4bx today, but we should probably start doing that on all
linkers that understand it, so we don't get surprised by bugs when
the compiler starts requiring it.

	Arnd



More information about the linux-arm-kernel mailing list