[Bug c/36359] New: [Regression] compile error in linux-kernel 2.6.26-rc4 with -O2

2008-05-28 Thread mt-ml at gmx dot de
FIRMED 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

[Bug c/36359] [Regression] compile error in linux-kernel 2.6.26-rc4 with -O2

2008-05-28 Thread mt-ml at gmx dot de
--- Comment #1 from mt-ml at gmx dot de 2008-05-28 22:14 --- Created an attachment (id=15695) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15695&action=view) kernel config-file to reproduce error -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36359

[Bug c/36359] [Regression] compile error in linux-kernel 2.6.26-rc4 with -O2

2008-05-28 Thread mt-ml at gmx dot de
--- Comment #4 from mt-ml at gmx dot de 2008-05-28 23:08 --- (In reply to comment #2) > This sounds like a kernel bug. At least we need preprocessed source of the > source file in drivers/usb/core/usbcore.ko that generates the reference > to ilog2_NaN. > Can you advi

[Bug c/36359] [Regression] compile error in linux-kernel 2.6.26-rc4 with -O2

2008-05-31 Thread mt-ml at gmx dot de
--- Comment #5 from mt-ml at gmx dot de 2008-05-31 13:58 --- Created an attachment (id=15707) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15707&action=view) preprocessed sources of urb.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36359

[Bug c/36359] [Regression] compile error in linux-kernel 2.6.26-rc4 with -O2

2008-05-31 Thread mt-ml at gmx dot de
--- Comment #6 from mt-ml at gmx dot de 2008-05-31 13:59 --- I was able to find the function in which the error occurs. It's usb_submit_urb in drivers/usb/core/urb.c I think. The command: $ gcc -c -save-temps drivers/usb/core/urb.c -I include executed in the linux-kernel main dire

[Bug c/36359] [Regression] compile error in linux-kernel 2.6.26-rc4 with -O2

2008-06-07 Thread mt-ml at gmx dot de
--- Comment #8 from mt-ml at gmx dot de 2008-06-08 00:17 --- I've been able to identify the code where ilog2 is called. If I do not choose usbcore as a module I get the following error: drivers/built-in.o: In function `usb_submit_urb': (.text+0xc247f): undefined re