public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/66083] New: Linux kernel fails to boot with O3 optimization
@ 2015-05-09  4:39 bobby.prani at gmail dot com
  2015-05-09  4:41 ` [Bug c/66083] " bobby.prani at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bobby.prani at gmail dot com @ 2015-05-09  4:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 66083
           Summary: Linux kernel fails to boot with O3 optimization
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bobby.prani at gmail dot com
  Target Milestone: ---

Created attachment 35507
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35507&action=edit
Enable O3 optimization

Linux kernel 4.1-rc1 fails to boot with O3 optimization. Patch to enable O3 and
config file attached.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/66083] Linux kernel fails to boot with O3 optimization
  2015-05-09  4:39 [Bug c/66083] New: Linux kernel fails to boot with O3 optimization bobby.prani at gmail dot com
@ 2015-05-09  4:41 ` bobby.prani at gmail dot com
  2015-05-09  4:53 ` trippels at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bobby.prani at gmail dot com @ 2015-05-09  4:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Pranith Kumar <bobby.prani at gmail dot com> ---
Created attachment 35508
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35508&action=edit
config file


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/66083] Linux kernel fails to boot with O3 optimization
  2015-05-09  4:39 [Bug c/66083] New: Linux kernel fails to boot with O3 optimization bobby.prani at gmail dot com
  2015-05-09  4:41 ` [Bug c/66083] " bobby.prani at gmail dot com
@ 2015-05-09  4:53 ` trippels at gcc dot gnu.org
  2015-05-09  4:56 ` bobby.prani at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-05-09  4:53 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-05-09
                 CC|                            |trippels at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
There is not enough information in your bug report to be useful.
Which specific file gets miscompiled? Which function in that file?
What is the exact compiler invocation? 
See: http://gcc.gnu.org/bugs/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/66083] Linux kernel fails to boot with O3 optimization
  2015-05-09  4:39 [Bug c/66083] New: Linux kernel fails to boot with O3 optimization bobby.prani at gmail dot com
  2015-05-09  4:41 ` [Bug c/66083] " bobby.prani at gmail dot com
  2015-05-09  4:53 ` trippels at gcc dot gnu.org
@ 2015-05-09  4:56 ` bobby.prani at gmail dot com
  2015-05-09  5:01 ` trippels at gcc dot gnu.org
  2015-07-21 11:22 ` mpolacek at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: bobby.prani at gmail dot com @ 2015-05-09  4:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Pranith Kumar <bobby.prani at gmail dot com> ---
The kernel fails to boot. It works using 4.7/4.8 but 4.9 does not work. Not
sure what you mean which file. How do I pin point that?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/66083] Linux kernel fails to boot with O3 optimization
  2015-05-09  4:39 [Bug c/66083] New: Linux kernel fails to boot with O3 optimization bobby.prani at gmail dot com
                   ` (2 preceding siblings ...)
  2015-05-09  4:56 ` bobby.prani at gmail dot com
@ 2015-05-09  5:01 ` trippels at gcc dot gnu.org
  2015-07-21 11:22 ` mpolacek at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-05-09  5:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Pranith Kumar from comment #3)
> The kernel fails to boot. It works using 4.7/4.8 but 4.9 does not work. Not
> sure what you mean which file. How do I pin point that?

You could start with the failing kernel and replace object files with 
good ones until it boots (or vice versa). 
Once you have pinpoint the file in question you can use 
__attribute__((optimize(O2)) to narrow the issue down to a single function.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/66083] Linux kernel fails to boot with O3 optimization
  2015-05-09  4:39 [Bug c/66083] New: Linux kernel fails to boot with O3 optimization bobby.prani at gmail dot com
                   ` (3 preceding siblings ...)
  2015-05-09  5:01 ` trippels at gcc dot gnu.org
@ 2015-07-21 11:22 ` mpolacek at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-21 11:22 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
No feedback coming.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-07-21 11:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-09  4:39 [Bug c/66083] New: Linux kernel fails to boot with O3 optimization bobby.prani at gmail dot com
2015-05-09  4:41 ` [Bug c/66083] " bobby.prani at gmail dot com
2015-05-09  4:53 ` trippels at gcc dot gnu.org
2015-05-09  4:56 ` bobby.prani at gmail dot com
2015-05-09  5:01 ` trippels at gcc dot gnu.org
2015-07-21 11:22 ` mpolacek at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).