public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39613]  New: gcc 20090331 produces an error at mce64.c in kernel 2.6.29
@ 2009-04-02  5:45 kdebugs at hotmail dot com
  2009-04-02  5:47 ` [Bug c/39613] " kdebugs at hotmail dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: kdebugs at hotmail dot com @ 2009-04-02  5:45 UTC (permalink / raw)
  To: gcc-bugs

Kernel won't compile at mce64.c in directory
/usr/src/zen-sources/arch/x86/kernel/cpu/mcheck.  But it will compile with
gcc-4.3.3.
-----
-----
linux-2.6.29-zen1
gcc svn version 20090331-x86_64
environment variables: export CC="gcc -Wp,-K -Wp,-W0 -save-temps " export
CXX="g++ -Wp,-K -Wp,-W0 -save-temps "
-----
-----
Output of gcc -v:

Using built-in specs.
Target: x86_64-pc-linux
Configured with: ../gcc-20090331/configure --prefix=/usr --libdir=/usr/lib
--enable-shared --enable-bootstrap
--enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix
--enable-checking=release --with-system-zlib --disable-libunwind-exceptions
--enable-__cxa_atexit --disable-libssp --with-gnu-ld --verbose
--disable-multilib --target=x86_64-pc-linux --build=x86_64-pc-linux
--host=x86_64-pc-linux
Thread model: posix
gcc version 4.5.0 20090331 (experimental) (GCC)
-----
-----
Error message:

  CC      arch/x86/kernel/cpu/mcheck/mce_64.o
arch/x86/kernel/cpu/mcheck/mce_64.c: In function 'mce_ioctl':
arch/x86/kernel/cpu/mcheck/mce_64.c:652: error: case label does not reduce to
an integer constant
arch/x86/kernel/cpu/mcheck/mce_64.c:654: error: case label does not reduce to
an integer constant
arch/x86/kernel/cpu/mcheck/mce_64.c:656: error: case label does not reduce to
an integer constant
make[3]: *** [arch/x86/kernel/cpu/mcheck/mce_64.o] Error 1
make[2]: *** [arch/x86/kernel/cpu/mcheck] Error 2
make[1]: *** [arch/x86/kernel/cpu] Error 2
make: *** [arch/x86/kernel] Error 2
-----
-----
Attached mce_64.i


-- 
           Summary: gcc 20090331 produces an error at mce64.c in kernel
                    2.6.29
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kdebugs at hotmail dot com
 GCC build triplet: x86_64-pc-linux
  GCC host triplet: x86_64-pc-linux
GCC target triplet: x86_64-pc-linux


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


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

end of thread, other threads:[~2009-04-09 21:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-02  5:45 [Bug c/39613] New: gcc 20090331 produces an error at mce64.c in kernel 2.6.29 kdebugs at hotmail dot com
2009-04-02  5:47 ` [Bug c/39613] " kdebugs at hotmail dot com
2009-04-02 14:01 ` hjl dot tools at gmail dot com
2009-04-02 14:06 ` hjl dot tools at gmail dot com
2009-04-02 15:36 ` hjl dot tools at gmail dot com
2009-04-02 15:38 ` hjl dot tools at gmail dot com
2009-04-02 15:48 ` hjl dot tools at gmail dot com
2009-04-02 18:24 ` kdebugs at hotmail dot com
2009-04-02 18:26 ` kdebugs at hotmail dot com
2009-04-04 17:26 ` happyarch at gmail dot com
2009-04-07 23:46 ` jsm28 at gcc dot gnu dot org
2009-04-09  0:20 ` jsm28 at gcc dot gnu dot org
2009-04-09  0:21 ` jsm28 at gcc dot gnu dot org
2009-04-09 21:20 ` hjl 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).