Announcement

Collapse
No announcement yet.

Linux 5.15 Raises Its GCC Compiler Version Requirement

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

  • #11
    can it be compiled with the different compiler, like the one from intel?

    Comment


    • #12
      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

      Comment


      • #13
        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.

        Comment


        • #14
          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.

          Comment


          • #15
            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.

            Comment


            • #16
              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?

              Comment


              • #17
                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.

                Comment


                • #18
                  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.

                  Comment


                  • #19
                    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)).

                    Comment


                    • #20
                      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?

                      Comment

                      Working...
                      X