This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/78512] New: [7 Regression] r242674 miscompiles Linux kernel


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78512

            Bug ID: 78512
           Summary: [7 Regression] r242674 miscompiles Linux kernel
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: msebor at gcc dot gnu.org
  Target Milestone: ---

Since r242674 the Linux kernel hits a BUG() during boot:

Kernel bug at net/core/skbuff.c:105
invalid opcode 0000
...

Adding -fno-printf-return-value to the CFLAGS "solves" the issue.

Not sure which file gets miscompiled, I only did a quick gcc bisection.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]