Bugzilla – Bug 1029158
CONFIG_ARMV8_DEPRECATED (and related submenu options) should be enabled
Last modified: 2021-07-07 18:45:14 UTC
If one wants to use legacy aarch32 binaries, the CONFIG_COMPAT option needs to be set in the kernel, and today we do this. This in turn allows some aarch32 binaries to run easily. However, there is a large world of software that is "armhf" but rather than being tuned for ARMv7 is tuned for ARMv6 (and the RPi). In order for this to run ARMV8_DEPRECATED and then at least CP15_BARRIER_EMULATION needs to be enabled (the other 2 options would also likely be helpful). The real-world example here is that at least today, the Docker "armhf" scratch builds (and in turn lots of stuff is based on this) do not just run and you will get for example: [ 1961.636326] python[3661]: undefined instruction: pc=00000000f6965dbc [ 1961.636336] Code: e5821060 e3a01000 e5821064 e5821068 (ee070fba) (this is also true of busybox). And then with the options enabled: [ 37.605796] "ls" (1464) uses deprecated CP15 Barrier instruction at 0xc95dc ... [ 72.888570] "python" (1881) uses deprecated CP15 Barrier instruction at 0xf6ab4dbc
merged into the kernel, it might take some days to show up
Fix queued for master branch now.