This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[Various] Digested Articles



FYI - I do think it's a compiler bug, I don't think we have a bug in
glibc.  Is there any chance to avoid this (except not using
--enable-kernel=2.4.1)?

Andreas

Subject: Topics

Topics:
   libc/2015: Re: libc/2015: Problem compiling glibc-2.2.1 with --enable-kernel=2.4.1
   libc/2015: Problem compiling glibc-2.2.1 with --enable-kernel=2.4.1



The following reply was made to PR libc/2015; it has been noted by GNATS.

From: Andreas Jaeger <aj@suse.de>
To: "Akos Szalkai" <szalkai@2fkft.com>
Cc: bugs@gnu.org
Subject: Re: libc/2015: Problem compiling glibc-2.2.1 with --enable-kernel=2.4.1
Date: 14 Jan 2001 20:09:53 +0100

 >>>>> Akos Szalkai writes:
 
 >> Number:         2015
 >> Category:       libc
 >> Synopsis:       Register spilled when compiling sysdeps/unix/sysv/linux/i386/getdents64.c
 
 I checked the report - and it looks like a bug in gcc 2.95.2.  I get
 the same problem with 2.95.2 but not with the current gcc CVS version.
 
 I fear there's nothing we can do.  Can you please make a complete
 bugreport out of this and send it to the GCC folks?  The guidelines
 for gcc bug submissions are available via http://gcc.gnu.org.
 
 Andreas
 -- 
  Andreas Jaeger
   SuSE Labs aj@suse.de
    private aj@arthur.inka.de
     http://www.suse.de/~aj
 






>Number:         2015
>Category:       libc
>Synopsis:       Register spilled when compiling sysdeps/unix/sysv/linux/i386/getdents64.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    libc-gnats
>State:          open
>Quarter:        
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Sun Jan 14 13:35:01 -0500 2001
>Cases:          
>Originator:     Akos Szalkai
>Release:        libc-2.2.1
>Organization:
2F 2000 Kft.
>Environment:
Linux/AMD K6-II 450, kernel 2.4.1-pre3
Host type: i586-pc-linux-gnu
System: Linux leia 2.4.1-pre3 #3 Szo Jan 13 17:43:55 CET 2001 i586 unknown
Architecture: i586

Addons: linuxthreads
Build CFLAGS: -O2
Build CC: gcc
Compiler version: 2.95.2.1 19991024 (release)
Kernel headers: 2.4.1-pre3
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: no
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio

>How-To-Repeat:
	After configuring with 
	/usr/src/glibc-2.2.1/configure --prefix=/usr --without-cvs --with-headers=/usr/src/linux/include --enable-libio --disable-profile --enable-add-ons --enable-kernel=2.4.1
	and building (make 2.79.1, gcc 2.95.2[.1], binutils 2.10.0.33), make stops at
	getdents64.c with the following error:
	../sysdeps/unix/sysv/linux/getdents.c: In function `__getdents64':
        ../sysdeps/unix/sysv/linux/getdents.c:123: Invalid `asm' statement:
        ../sysdeps/unix/sysv/linux/getdents.c:123: fixed or forbidden register 2 (cx) was spilled for class CREG.

>Fix:
	Well, --enable-kerner=2.4.0 worked, of course.  Otherwise, I have no idea 
	about such things.







-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]