3 ms·
would've been nice to see a whole copy of the actual GCC binary in question :( edit: looks like it dies in this: https://github.com/gcc-mirror/gcc/blob/master/
by eigenform 3y ago
would've been nice to see a whole copy of the actual GCC binary in question :(
edit: looks like it dies in this: https://github.com/gcc-mirror/gcc/blob/master/gcc/tree-switch-conversion.cc#L1851 https://github.com/gcc-mirror/gcc/blob/master/gcc/tree-switc...
edit2: it also would've been nice to see the actual bytes being decoded when it faults, maybe it ends up spuriously writing over .text
edit3: on the LKML https://lore.kernel.org/lkml/D99589F4-BC5D-430B-87B2-72C20370CF57@exactcode.com/ https://lore.kernel.org/lkml/D99589F4-BC5D-430B-87B2-72C2037...
- Levitating 3y agoYou can see his complete test environment here: https://www.youtube.com/channel/UCJLLl6AraX1POemgLfhirwg/community?lb=Ugkxs3zhxt5nJOPTcp58KHQuHfssv4xo5Kai https://www.youtube.com/channel/UCJLLl6AraX1POemgLfhirwg/com...
- eigenform 3y agoOh, I didn't see that `cc1` is in the initrd image! Thanks! Seems like there's already a potential answer to this on the LKML - looks like it has something to do with BTB state being shared between threads? https://lore.kernel.org/lkml/20231010083956.GEZSUN3OKuYSyU182V@fat_crate.local/ https://lore.kernel.org/lkml/20231010083956.GEZSUN3OKuYSyU18...