gcc-11 should not be shipped in bookworm.
Maybe it is okay for the gcc-11 packages that cannot move to gcc-12 to go back to gcc-10? I guess, gcc-10 is not as easy to get out because of the gcc-plugin and gnat stuff that is not replaceable by gcc-11 or gcc-12. Then we can aim for gcc-10 and gcc-12 in bookworm.
The complete list of packages in bookworm still using gcc-10 is: - grub2 - shim - simde (fixed in unstable) cu Adrian
It appears that nothing besides the gcc-11-cross* packages (Build-)Depends on gcc-11 in trixie and unstable. I guess we should reassign the bug to ftp.debian.org for package removal? Regards Aurelien
please keep it still in unstable, it's already removed in testing.
Do we really need to keep 6 GCC versions in the archive? Regards Aurelien
does it personally hurt you? 11 and 12 are the versions which were shipped in stable, and apparently people still use these packages for backports.
Hi Matthias, Versions 11 and 12 (predating gcc-for-host) include a lot of cross-architecture undeclared file conflicts. Doing archive wide conflict analysis is dominated by these two packages and poses a significant additional cost on that work. Yes, just keeping them poses a cost. Now it s up to you and me how to deal with that. I see three possible routes forward: * Delete them from the archive * Fix the undeclared file conflicts * Exclude them from conflict analysis I hope you can see how I find the first option most attractive, but then I'm probably missing parts of the bigger picture. Helmut
it's too early for the first solution. We still need 11 for bootstrapping libgphobos on ppc64el, and we need to address the issue about a "stable" compiler for shim. Matthias
Hi Matthias, I was not aware of the ppc64el aspect and expecting the shim part. Do note that opinions on the bootstrapping aspect vary. In theory, we'd need every major version of rustc to bootstrap rustc as each of them requires the previous one. Yet, that's not what we're doing. We'd also need gcc-4.0 in principle as that could be built without a C++ compiler. There may be other compromises here, but implementing them may not be worth the effort. How about deleting gcc-11 and gcc-12 based cross toolchains but keeping the native ones then? Do we need either of those cross toolchains for the aforementioned use cases? Removing them without also removing gcc-11 and gcc-12 would be sufficient to make most of the undeclared file conflicts go away. Helmut
Hi, For shim considering an old compiler as stable might be a mistake. Indeed a new version of binutils can change the binary output (see for example the x86 NOP changes that broke valgrind in binutils 2.42), and we might be forced to do GCC even in stable for security reason (see for instance gcc-12 12.2.0-14+deb12u1 even if that version had no impact on shim). IMHO, the best way to have a stable compiler would be to pickup an upstream binutils and gcc version, include them at part of the shim sources and build them with the package. Building a simple binutils and GCC, for only the C and C++ backends, without bootstrap and without profile builds is relatively fast and should be sufficient. Regards Aurelien