Re: clang compile error with latest kernel

2023-02-18 Thread Michael Hennebry
On Sat, 18 Feb 2023, Barry Scott wrote: On 16 Feb 2023, at 18:42, Jeffrey Walton wrote: I think some of the kernel devs are the biggest problem. Some of the developers feel GCC is the only compiler to support. They rely on GCC-isms, and don't care about things like undefined behavior since

Re: clang compile error with latest kernel

2023-02-18 Thread Barry Scott
> On 16 Feb 2023, at 18:42, Jeffrey Walton wrote: > > I think some of the kernel devs are the biggest problem. Some of the > developers feel GCC is the only compiler to support. They rely on > GCC-isms, and don't care about things like undefined behavior since it > "works for me using GCC." I'v

Re: clang compile error with latest kernel

2023-02-17 Thread Chung Chung
Thank you for all the suggestions. I am going to try a few and let you guys know. Thanks again!!! Chung ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct:

Re: clang compile error with latest kernel

2023-02-16 Thread Michael Hennebry
On Thu, 16 Feb 2023, Chung Chung wrote: Hi, I am wondering if anyone has successfully compiled latest kernel using clang, I have been having problem with it for the last few month, and here is the error that I have: In file included from drivers/tty/tty_io.c:103: ./include/linux/termios_intern

Re: clang compile error with latest kernel

2023-02-16 Thread Jeffrey Walton
On Thu, Feb 16, 2023 at 12:18 PM Chung Chung wrote: > > Hi, I am wondering if anyone has successfully compiled latest kernel using > clang, I have not tried to build a kernel with Clang. However the LLVM devs have done it in the past. Also see https://docs.kernel.org/kbuild/llvm.html . There ar

Re: clang compile error with latest kernel

2023-02-16 Thread Jeffrey Walton
On Thu, Feb 16, 2023 at 1:02 PM Barry wrote: > > > On 16 Feb 2023, at 17:18, Chung Chung wrote: > > > > Hi, I am wondering if anyone has successfully compiled latest kernel using > > clang, I have been having problem with it for the last few month, > > and here is the error that I have: > > > >

Re: clang compile error with latest kernel

2023-02-16 Thread Barry
> On 16 Feb 2023, at 17:18, Chung Chung wrote: > >  > Hi, I am wondering if anyone has successfully compiled latest kernel using > clang, I have been having problem with it for the last few month, > and here is the error that I have: > > In file included from drivers/tty/tty_io.c:103: > ./i

Re: clang compile error with latest kernel

2023-02-16 Thread stan via users
On Thu, 16 Feb 2023 17:18:36 - "Chung Chung" wrote: > Hi, I am wondering if anyone has successfully compiled latest kernel > using clang, I have been having problem with it for the last few > month, and here is the error that I have: > > In file included from drivers/tty/tty_io.c:103: > ./in

clang compile error with latest kernel

2023-02-16 Thread Chung Chung
Hi, I am wondering if anyone has successfully compiled latest kernel using clang, I have been having problem with it for the last few month, and here is the error that I have: In file included from drivers/tty/tty_io.c:103: ./include/linux/termios_internal.h:37:5: error: conflicting types for