fails to build on arm 32-bit with GCC 9, because armv5 support has been dropped

Bug #1839783 reported by Sébastien Villemot on 2019-08-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

Dear SBCL maintainers,

Support for ARMv5 has been removed in GCC 9 (see [1]).

As a consequence, it is no longer possible to build SBCL on GNU/Linux for ARM 32-bit, because src/runtime/Config.arm-linux adds the “-march=armv5”.

On Debian, the solution that I implemented consists in removing the ARM-specific flags from the GCC command line (so that the binary automatically aligns with the baseline for the ARM port). Ubuntu rather chose to use “-march=armv7-a” (see [2] for the discussion).

Best,

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b232e6b58e3766bc66fe08fdb7bcba1bdadda8a2
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931795

Actually the “-marm” flag should not be dropped, it is needed. I have put it back on Debian.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers