[PATCH] D156286: [docs] Bump minimum GCC version to 7.5

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 29 21:14:17 PDT 2023


MaskRay added a comment.

In D156286#4534968 <https://reviews.llvm.org/D156286#4534968>, @aaron.ballman wrote:

> There's a mention on the RFC thread that Ubuntu 18.04 still ships with GCC 7.3. That's an LTS release but it EOLed just last month, so it's not clear how disruptive this would be. (To be clear, I'm not saying I'm opposed to the changes.)

The entire 16.x releases `LLVMAnalysis` cannot be built with GCC 7.3, so this CMake change shouldn't be a larger disruption to any GCC <= 7.3 user.
And we should get the GCC bump patch into 17.x so that users will not get confused by the supportness.

The question is whether we bump to 7.4 or 7.5. I'd prefer 7.5, as there appears to be more users on 7.5 and can verify that 7.5 works reliably.

There is a user who prefers 7.4 but 7.5 works for them.
https://discourse.llvm.org/t/require-gcc-7-5-as-gcc-7-3-cannot-build-llvm-16-x-or-main/72310/29 says that Ubuntu 18.04 (End of Standard Support in June 2023) gets GCC 7.5 updates.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156286/new/

https://reviews.llvm.org/D156286



More information about the cfe-commits mailing list