Re: clang compile error with latest kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 16, 2023 at 12:18 PM Chung Chung <ctwo0002@xxxxxxxxx> 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 are helpful
links at the bottom of the page.

> 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 'user_termio_to_kernel_termios'
> int user_termio_to_kernel_termios(struct ktermios *, struct termio __user *);
>     ^
> ./include/asm-generic/termios.h:20:19: note: previous definition is here
> static inline int user_termio_to_kernel_termios(struct ktermios *termios,

It does not look like this issue has been reported in the LLVM kernel
issue tracker at https://github.com/ClangBuiltLinux/linux/issues .

Jeff
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux