[Buildroot] [PATCH v2 0/2] Add and workaround gcc bug 83143

Giulio Benetti giulio.benetti at benettiengineering.com
Tue Aug 31 17:37:58 UTC 2021


This patchset add gcc bug 83143 and work it around for package ruby with
a more specific CFLAG instead of the classic -O0. The work around has been
suggested here[1] and saves lot of memory since here ruby is the package
affected by this bug and it's pretty big.

[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143#c15

V1->V2:
* fixed bug gcc version condition
* introduce this bug for BR2_sh and not only for BR2_sh4

Giulio Benetti (2):
  toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_83143
  package/ruby: fix build failure due to gcc bug 83143

 package/ruby/ruby.mk | 8 ++++++++
 toolchain/Config.in  | 9 +++++++++
 2 files changed, 17 insertions(+)

-- 
2.25.1



More information about the buildroot mailing list