ARM: architecture not autodetected properly
On my GTA04 which runs Parabola I have:
# uname -m armv7l
This seem to be picked by pacman, and I'm required to force the architectuer to armv7h in /etc/pacman.conf like that:
Architecture = armv7h
Updated by isacdaavid over 3 years ago
- Status changed from fixed to open
It would cause problems with migrating from ALARM, and it would mean recompiling everything, but isn't the KISS solution to just use "armv7l" as the architecture name in pacman?
Yes, it would be the proper solution if ALARM were to implement it. But I seriously doubt they are more willing to make a change this big than we are. Worth asking them anyway.
I'm uncomfortable marking this bug as fixed because it really isn't. Due to the lack of a better category I think I'll leave it open again.
I've looked again at this bug, and I've got an idea to try:
In Linux, uname -m seem to be set by UTS_MACHINE which seem to be set by ARCH. So it might be worth trying building linux-libre with make [...] ARCH=armv7h
However due I wasn't able to try that because of bug #2102
I tried to workaround other issues as well to build it and at the end this didn't work:
if [ "$CARCH" = "armv7h" ]; then + export ARCH=armv7h make zImage modules dtbs htmldocs
| ==> Starting build()... | Makefile:619: arch/armv7h/Makefile: No such file or directory | make: *** No rule to make target 'arch/armv7h/Makefile'. Stop. | ==> ERROR: A failure occurred in build(). | Aborting...