[Bug c/39613] gcc 20090331 produces an error at mce64.c in kernel 2.6.29

2009-04-02 Thread kdebugs at hotmail dot com


--- Comment #6 from kdebugs at hotmail dot com  2009-04-02 18:26 ---
Created an attachment (id=17579)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17579&action=view)
Result of gcc -c mce_64.i -o mce_64.o -O0


-- 


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



[Bug c/39613] gcc 20090331 produces an error at mce64.c in kernel 2.6.29

2009-04-02 Thread kdebugs at hotmail dot com


--- Comment #5 from kdebugs at hotmail dot com  2009-04-02 18:24 ---
(In reply to comment #3)
> (In reply to comment #1)
> > Created an attachment (id=17578)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17578&action=view) [edit]
> > mce_64.i preprocessed file from kernel 2.6.29-zen
> > 
> 
> Please show how to reproduce the bug with mce_64.i.
> 

I did not find a mce_64.o.cmd in the entire kernel source.

But I just ran the following command for you:
gcc -c mce_64.i -o mce_64.o -O0

Attaching the result of that command as mceError.txt


-- 


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



[Bug c/39613] gcc 20090331 produces an error at mce64.c in kernel 2.6.29

2009-04-01 Thread kdebugs at hotmail dot com


--- Comment #1 from kdebugs at hotmail dot com  2009-04-02 05:47 ---
Created an attachment (id=17578)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17578&action=view)
mce_64.i preprocessed file from kernel 2.6.29-zen

To create this file I used these environment variables in my /etc/profile:
export CC="gcc -Wp,-K -Wp,-W0 -save-temps " export CXX="g++ -Wp,-K -Wp,-W0
-save-temps "


-- 


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



[Bug c/39613] New: gcc 20090331 produces an error at mce64.c in kernel 2.6.29

2009-04-01 Thread kdebugs at hotmail dot com
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



[Bug c/39394] gcc 4.4.0 20090306 segfaults at argp-help.c in glibc 2.7 and 2.9

2009-03-08 Thread kdebugs at hotmail dot com


--- Comment #1 from kdebugs at hotmail dot com  2009-03-08 09:18 ---
I don't know if these lines (from my memory) might be useful:

In fuction 'print_header'
argp-help.c:1024


-- 


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



[Bug c/39394] New: gcc 4.4.0 20090306 segfaults at argp-help.c in glibc 2.7 and 2.9

2009-03-06 Thread kdebugs at hotmail dot com
gcc 4.4.0 20090307 segfaults at argp-help.c in glibc 2.7 and 2.9

cpu: athlon64
gcc version 4.4.0 20090307
-march=native and athlon64 used

This is my first post.  I have read http://gcc.gnu.org/bugs.html and I cannot
or am still ingnorant of how to get a preprocessed file.  I added -v
-save-temps to my cflags and I get:

command line option "-.i" not recognized...

I entered cc -v -save-temps ../argp/argp-help.c argp-help.o and got the
following:

In file included from ../argp/argp-help.c:85:
../argp/argp-namefrob.h:80:21: error: mempcpy.h: No such file or directory
../argp/argp-namefrob.h:81:21: error: strcase.h: No such file or directory
../argp/argp-namefrob.h:82:23: error: strchrnul.h: No such file or directory
../argp/argp-namefrob.h:83:21: error: strndup.h: No such file or directory
../argp/argp-help.c:1717:4: warning: #warning No reasonable value to return

gcc segfaults at argp-help.c

It has been like that for about two weeks.  This machine attempts to compile
gcc-svn and glibc daily.  Sometimes it works sometimes not.

I tested with glibc 2.9 and gcc appears to still segfault.


-- 
   Summary: gcc 4.4.0 20090306 segfaults at argp-help.c in glibc 2.7
and 2.9
   Product: gcc
   Version: 4.4.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: pentium2-slackware-linux-gnu
  GCC host triplet: pentium2-slackware-linux-gnu
GCC target triplet: pentium2-slackware-linux-gnu


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