This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
getconf bug: wrong CFLAGS for large file support at i586
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: getconf bug: wrong CFLAGS for large file support at i586
- From: Artur Frysiak <wiget at pld dot org dot pl>
- Date: Mon, 27 Sep 1999 15:22:52 +0200
>Submitter-Id: net
>Originator: Artur Frysiak
>Organization: PLD
>
>Confidential: no
>Synopsis: getconf bug: wrong CFLAGS for large file support at i586
>Severity: non-critical
>Priority: medium
>Category: libc
>Class: sw-bug
>Release: libc-2.1.2
>Environment:
i586-pld-linux-gnu
gcc-2.95.1
Host type: i586-pld-linux-gnu
System: Linux wiget 2.2.12 #3 wto wrz 14 10:07:28 CEST 1999 i586 pld
Architecture: i586
Addons: crypt linuxthreads
Build CFLAGS: -O2 -mpentium
Build CC: gcc
Compiler version: 2.95.1 19990816 (release)
Kernel headers: 2.2.12
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio
>Description:
getconf on i586-*-linux-gnu wrote -D_FILE_OFFSET_BITS=64 if I ask for LFS_CFLAGS.
Correct value is -D_FILE_OFFSET_BITS=32 (AI86 can't mmap() more that 2^32 bytes).
>How-To-Repeat:
Run on i586-*-linux:
$ getconf LFS_CFLAGS
>Fix:
No idea.