Announcement

Collapse
No announcement yet.

Linux 5.15 Raises Its GCC Compiler Version Requirement

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CommunityMember
    replied
    Originally posted by tildearrow View Post
    What about OpenRazer, it87 (which was fired from mainline) and the like?
    AFAIK there is nothing stopping you from building your own kernel with whatever drivers you like with whatever compiler you wish to use. It is what I did for nearly a decade when I had the need for out of tree drivers (without needing dkms or akmod or whatever else was the flavor of the month). I have more recently chosen to select hardware platforms for which all drivers are in-tree, or do without the specific hardware capabilities that those drivers would enable. Everyone has a choice to make. I recommend you choose wisely.

    Leave a comment:


  • tildearrow
    replied
    Originally posted by CommunityMember View Post

    Well, DKMS is not a kernel issue, it is a DKMS issue (and there are many people who would prefer DKMS not have to exist, although we all know why it does exist, and will not disappear any time soon (thank you nvidia)).
    As if NVIDIA was the only meaningful DKMS module.
    What about OpenRazer, it87 (which was fired from mainline) and the like?

    Leave a comment:


  • CommunityMember
    replied
    Originally posted by tildearrow View Post
    DKMS broke in GCC 10
    Well, DKMS is not a kernel issue, it is a DKMS issue (and there are many people who would prefer DKMS not have to exist, although we all know why it does exist, and will not disappear any time soon (thank you nvidia)).

    Leave a comment:


  • CommunityMember
    replied
    Originally posted by uid313 View Post
    Can't they just raise it to GCC 11?
    Of course they could. But what specific feature are you suggesting the kernel start to use, or to drop, to make that a requirement?

    Almost every GCC release provides new diagnostics and identifies additional potential issues, but the CI being done (across many orgs) already identifies such issues so that they can be addressed without requiring raising the minimal GCC level of the compiler itself.

    Leave a comment:


  • tildearrow
    replied
    Originally posted by uid313 View Post

    Yeah, but is that a problem?
    Can't the distro maintainers just build a new kernel on a new machine and distribute compiled kernels to older systems with older versions of GCC or without GCC?
    Yes, it is. And no, that can't happen. DKMS broke in GCC 10, which means that you could not build kernel modules for a GCC 9-built kernel with GCC 10, and probably vice-versa.

    Leave a comment:


  • uid313
    replied
    Originally posted by tildearrow View Post

    Not every distro ships GCC 11 yet (you particularly forgot about LTS ones). I don't understand why
    Yeah, but is that a problem?
    Can't the distro maintainers just build a new kernel on a new machine and distribute compiled kernels to older systems with older versions of GCC or without GCC?

    Leave a comment:


  • tildearrow
    replied
    Originally posted by uid313 View Post
    Can't they just raise it to GCC 11?
    Not every distro ships GCC 11 yet (you particularly forgot about LTS ones). I don't understand why do
    Last edited by tildearrow; 15 September 2021, 02:26 PM.

    Leave a comment:


  • Vorpal
    replied
    Originally posted by linner View Post

    Are you talking about my post? The first part was responding to the comment above mine talking about using gcc 11 and the second part was talking about C11 mentioned in the article posted.
    Yeah, sorry misread as just a reply to the comment above. Wasn't entirely clear that that wasn't the case.

    Leave a comment:


  • CommunityMember
    replied
    Originally posted by szymon_g View Post
    can it be compiled with the different compiler, like the one from intel?
    The Linux kernel has had support for Intel icc for a long time. However, it should be noted that Intel is moving future icc versions to being llvm based, so options/capabilities that work for compiling the kernel with clang are likely to be good for icx (icx is the name of the new llvm based Intel compiler) moving forward.

    Leave a comment:


  • FireBurn
    replied
    Originally posted by szymon_g View Post
    can it be compiled with the different compiler, like the one from intel?
    I compile with Clang here

    Leave a comment:

Working...
X