Re: [RFC PATCH] Remove Intel compiler support
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Masahiro Yamada" <masahiroy@xxxxxxxxxx>, "Linus Torvalds" <torvalds@xxxxxxxxxxxxxxxxxxxx>, "Thomas Gleixner" <tglx@xxxxxxxxxxxxx>, "Ingo Molnar" <mingo@xxxxxxxxxx>, "Borislav Petkov" <bp@xxxxxxxxx>, "Dave Hansen" <dave.hansen@xxxxxxxxxxxxxxx>, x86@xxxxxxxxxx, "H. Peter Anvin" <hpa@xxxxxxxxx>
- Subject: Re: [RFC PATCH] Remove Intel compiler support
- From: "Arnd Bergmann" <arnd@xxxxxxxx>
- Date: Tue, 11 Oct 2022 17:18:10 +0200
- Cc: "Greg Kroah-Hartman" <gregkh@xxxxxxxxxxxxxxxxxxx>, linux-ia64@xxxxxxxxxxxxxxx, "Nick Desaulniers" <ndesaulniers@xxxxxxxxxx>, "Miguel Ojeda" <ojeda@xxxxxxxxxx>, "Len Brown" <lenb@xxxxxxxxxx>, "Nathan Chancellor" <nathan@xxxxxxxxxx>, "Nick Terrell" <terrelln@xxxxxx>, "Rafael J. Wysocki" <rafael.j.wysocki@xxxxxxxxx>, "Robert Moore" <robert.moore@xxxxxxxxx>, "Tom Rix" <trix@xxxxxxxxxx>, devel@xxxxxxxxxx, linux-acpi@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, llvm@xxxxxxxxxxxxxxx
- Feedback-id: i56a14606:Fastmail
- In-reply-to: <20221011031843.960217-1-masahiroy@kernel.org>
- References: <20221011031843.960217-1-masahiroy@kernel.org>
- User-agent: Cyrus-JMAP/3.7.0-alpha0-1015-gaf7d526680-fm-20220929.001-gaf7d5266
On Tue, Oct 11, 2022, at 5:18 AM, Masahiro Yamada wrote:
> include/linux/compiler-intel.h had no update in the past 3 years.
>
> We often forget about the third C compiler to build the kernel.
>
> For example, commit a0a12c3ed057 ("asm goto: eradicate CC_HAS_ASM_GOTO")
> only mentioned GCC and Clang.
>
> init/Kconfig defines CC_IS_GCC and CC_IS_CLANG but not CC_IS_ICC,
> and nobody has reported any issue.
>
> I guess the Intel Compiler support is broken, and nobody is caring
> about it.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> I am sending this to Linus and the x86 maintainers with RFC.
> If somebody is still using ICC, please speak up!
Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
I had the same thought a while back and tried to show that it as
already broken, but I never managed to actually download the compiler
at the time.
It appears that in the meantime, Intel have completely dropped their
old codebase and moved to using LLVM[1], so my guess is that with the
current releases it will behave the same as clang. It might help
to verify that this is indeed the case if you want to add that
to the changelog text.
Arnd
[1] https://www.intel.com/content/www/us/en/developer/articles/technical/adoption-of-llvm-complete-icx.html
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]