[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Problem compiling glibc-2.3.2

From: Joseph D. Wagner
Subject: RE: Problem compiling glibc-2.3.2
Date: Fri, 24 Oct 2003 22:43:43 -0500

You're right.  The distribution is broken for newer versions of gcc, but you'll 
never get those lazy @$$ bastards who run glibc to care.  They told me to 
download the CVS version (read: experimental/beta) and that the problem will be 
fixed in the next release, whenever that is.

Attached is a uniform context diff patch that will correct the problem, which 
they stubbornly refuse to post on their website even though it would cut down 
on many emails like these.

> -----Original Message-----
> From: Torbjörn Gannholm [mailto:address@hidden
> Sent: Friday, October 24, 2003 12:55 PM
> To: address@hidden
> Subject: Problem compiling glibc-2.3.2
> Downloaded the tarball from ftp.gnu.org/gnu/glibc/glibc-2.3.2.tar.gz
> ../stdio-common/_itoa.h:40: warning: inlining failed in call to
> `_itoa_word'
> ../stdio-common/_itoa.h:76: warning: called from here
> gcc sscanf.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
> -Wwrite-strings -g      -I../include -I.
> -I/usr/src/other/glibc-build/stdio-common -I.. -I../libio
> -I/usr/src/other/glibc-build -I../sysdeps/i386/elf
> -I../linuxthreads/sysdeps/unix/sysv/linux/i386
> -I../linuxthreads/sysdeps/unix/sysv/linux
> -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
> -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
> -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386
> -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
> -I../sysdeps/unix/sysv -I../sysdeps/unix/i386
> -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu
> -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu
> -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
> -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -I
> /lib/modules/2.4.18-xfs/build/include -D_LIBC_REENTRANT -include
> ../include/libc-symbols.h       -D_IO_MTSAFE_IO -o
> /usr/src/other/glibc-build/stdio-common/sscanf.o
> sscanf.c:31: warning: conflicting types for built-in function `sscanf'
> sscanf.c: In function `sscanf':
> sscanf.c:37: error: `va_start' used in function with fixed args
> ../stdio-common/_itoa.h: At top level:
> ../stdio-common/_itoa.h:40: warning: inlining failed in call to
> `_itoa_word'
> ../stdio-common/_itoa.h:76: warning: called from here
> make[2]: *** [/usr/src/other/glibc-build/stdio-common/sscanf.o] Error 1
> make[2]: Leaving directory `/usr/src/other/glibc-2.3.2/stdio-common'
> make[1]: *** [stdio-common/subdir_lib] Error 2
> make[1]: Leaving directory `/usr/src/other/glibc-2.3.2'
> make: *** [all] Error 2
> The prototype in stdio-common/sscanf.c can be fixed but it makes me
> worried that the distribution is broken in some way.
> /tobe
> _______________________________________________
> Bug-glibc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-glibc

Attachment: sscanf.c.diff
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]