- Package:
- src:gcc-snapshot
- Source:
- src:gcc-snapshot
- Submitter:
- John Paul Adrian Glaubitz
- Date:
- 2026-08-05 09:19:02 UTC
- Severity:
- normal
- Tags:
Hi, after one of the last show stoppers for switching the m68k backend to the new LRA register allocator was resolved yesterday [1], I think we should finally take the leap now and enable LRA on m68k. The attached patch does exactly that and applies against the gcc-snapshot package cleanly. Can you please include it for the next gcc-snapshot upload? Thanks, Adrian
Apparently this was applied against gcc-16: https://tracker.debian.org/news/1776755/accepted-gcc-16-1610-3-source-into-unstable/ * Enable LRA by default on m68k for snapshot builds (Adrian Glaubitz). Addresses: #1142039. https://buildd.debian.org/status/fetch.php?pkg=gcc-16&arch=m68k&ver=16.1.0-3&stamp=1785220565&raw=0 Applying patch m68k-lra-enable.diff patching file src/gcc/config/m68k/m68k.opt I suspect this might be the reason why gcc-16 16.1.0-3 started to FTBFS on m68k. cu Adrian
Hi Adrian, Yes, LRA doesn't work for gcc-16 on m68k. It should be enabled for gcc-17 only. Adrian