public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/36359]  New: [Regression] compile error in linux-kernel 2.6.26-rc4 with -O2
@ 2008-05-28 22:13 mt-ml at gmx dot de
  2008-05-28 22:15 ` [Bug c/36359] " mt-ml at gmx dot de
                   ` (24 more replies)
  0 siblings, 25 replies; 27+ messages in thread
From: mt-ml at gmx dot de @ 2008-05-28 22:13 UTC (permalink / raw)
  To: gcc-bugs

Hi
I've tested gcc-4.4 with the current developer kernel 2.6.26-rc4 and got the
following compile error:

...
Setup is 12236 bytes (padded to 12288 bytes).
System is 2521 kB
CRC 735d1682
Kernel: arch/x86/boot/bzImage is ready  (#62)
  Building modules, stage 2.
  MODPOST 222 modules
ERROR: "____ilog2_NaN" [drivers/usb/core/usbcore.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

This can be avoided when switching on the OPTIMIZE_SIZE kconfig option which in
fact replaces the standard -O2 option with -Os, so I think there must be
something wrong in what -O2 does. 
This happens only with gcc-4.4 not with gcc-4.3 and before (I've also tested
gcc-4.1). The latest gcc-4.4 version I tested was 20080526.

I compiled gcc without any options to ./configure.

I'll try to attach my config file so you might be able to reproduce the error.

This has been reported to lkml. The discussion can be read here:
http://lkml.org/lkml/2008/5/25/169.

Thanks
Mirco


-- 
           Summary: [Regression] compile error in linux-kernel 2.6.26-rc4
                    with -O2
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mt-ml at gmx dot de
 GCC build triplet: none
  GCC host triplet: ubuntu linux 8.10 (dev)
GCC target triplet: x86_64


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36359


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

end of thread, other threads:[~2009-01-26 10:22 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-28 22:13 [Bug c/36359] New: [Regression] compile error in linux-kernel 2.6.26-rc4 with -O2 mt-ml at gmx dot de
2008-05-28 22:15 ` [Bug c/36359] " mt-ml at gmx dot de
2008-05-28 22:21 ` rguenth at gcc dot gnu dot org
2008-05-28 22:52 ` pinskia at gcc dot gnu dot org
2008-05-28 23:09 ` mt-ml at gmx dot de
2008-05-31 13:59 ` mt-ml at gmx dot de
2008-05-31 14:00 ` mt-ml at gmx dot de
2008-05-31 15:46 ` rguenth at gcc dot gnu dot org
2008-06-08  0:18 ` mt-ml at gmx dot de
2008-06-08  0:33   ` Andrew Pinski
2008-06-08  0:34 ` pinskia at gmail dot com
2008-06-10 10:12 ` bunk at stusta dot de
2008-06-10 10:29 ` bunk at stusta dot de
2008-06-10 11:08 ` aldot at gcc dot gnu dot org
2008-06-10 11:21 ` aldot at gcc dot gnu dot org
2008-11-15  0:30 ` pinskia at gcc dot gnu dot org
2008-11-15  0:32 ` [Bug middle-end/36359] missed optimization in some cases with PRE VRP and other passes combined together pinskia at gcc dot gnu dot org
2008-11-15  0:36 ` pinskia at gcc dot gnu dot org
2008-11-24 18:35 ` edwintorok at gmail dot com
2008-12-17 20:10 ` linuxl4 at sohu dot com
2009-01-25 19:25 ` gcc at spatium dot org
2009-01-25 21:10 ` rguenth at gcc dot gnu dot org
2009-01-25 22:00 ` bunk at stusta dot de
2009-01-25 22:05 ` bunk at stusta dot de
2009-01-25 22:18 ` rguenth at gcc dot gnu dot org
2009-01-26  0:49 ` bunk at stusta dot de
2009-01-26 10:22 ` rguenth at gcc dot gnu dot 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).