[Buildroot] [PATCH for-master] package/gcc: 11.3.0: fix glibc crash on G4 ppc cpus

Peter Korsgaard peter at korsgaard.com
Sun Sep 18 08:55:37 UTC 2022


>>>>> "Romain" == Romain Naour <romain.naour at gmail.com> writes:

 > gcc 11.3.0 contains a backported patch [1] that introduce
 > a regression for old powerpc cpus like the powerpc 7400 (G4).

 > The glibc crash the init process due to a wrong asm machine
 > directive (.machine).

 > Run /sbin/init as init process
 > init[1]: segfault (11) at 7369693e nip 6f6e08 lr 6f6a68 code 1 in libc.so.6[690000+18f000]
 > init[1]: code: 280a000c 41c1ffe0 811edb80 554a103a 7d48502e 7d4a4214 7d4903a6 4e800420
 > init[1]: code: 2c08007a 4bffffbc 89290000 5529103a <7d2a482e> 2c090000 41c2ff78 7fe4fb78
 > Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

 > Backport two patches from the gcc-11 stable branch (the upcoming gcc
 > 11.4.0).

 > [1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=3cb53c10831be59d967d9dce8e7980fee4703500

 > Fixes:
 > https://gitlab.com/kubu93/buildroot/-/jobs/2976071284

 > Signed-off-by: Romain Naour <romain.naour at gmail.com>
 > Cc: Joel Stanley <joel at jms.id.au>

Committed to 2022.05.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list