# Linux Kernel Module Cheat

#### 26.12.2. Update GCC: GCC not supported by Buildroot

Now it gets fun, but well, guess what, we will try to do the same as Section 26.12.1, “Update GCC: GCC supported by Buildroot” but:

- pick the Buildroot version that comes closest to the GCC you want

- if any `git am` patches don’t apply, skip them

Now, if things fail, you can try:

- if the GCC version is supported by a newer Buildroot version:

  - quick and dirty: see what they are doing differently there, and patch it in here

  - golden star: upgrade our default Buildroot, test it well, and send a pull request!

- otherwise: OK, go and patch Buildroot, time to become a Buildroot dev

Known setups:

- Buildroot 2018.08:

  - GCC 8.3.0: OK

  - GCC 9.2.0: KO https://github.com/cirosantilli/linux-kernel-module-cheat/issues/97