Bug#1023690: gcc-11 should not be shipped in bookworm
Hi,
On 2025-09-01 08:07, Helmut Grohne wrote:
> Hi Matthias,
>
> On Mon, Sep 01, 2025 at 07:49:51AM +0200, Matthias Klose wrote:
> > 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.
>
> I was not aware of the ppc64el aspect and expecting the shim part. Do
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
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://aurel32.net
Reply to: