This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c/7418: Build of glibc2.2.5 fails with gcc-3.1.1


>Number:         7418
>Category:       c
>Synopsis:       Build of glibc2.2.5 fails with gcc-3.1.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 27 08:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alex Davis
>Release:        gcc-3.1.1
>Organization:
>Environment:
linux 2.4.19pre2
>Description:
When trying to build glibc 2.2.5 with gcc 3.1.1, I get the following error:

/usr/gcc3.1/bin/gcc ../sysdeps/unix/sysv/linux/errlist.c -c -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g   -fPIC    -I../include -I. -I/update/glibc-build/stdio-common -I.. -I../libio  -I/update/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/i686 -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   -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED   -D_IO_MTSAFE_IO -o /update/glibc-build/stdio-common/errlist.os
../sysdeps/unix/sysv/linux/errlist.c:41: weak declaration of `_old_sys_nerr' must precede definition
make[2]: *** [/update/glibc-build/stdio-common/errlist.os] Error 1
make[2]: Leaving directory `/update/glibc-2.2.5/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/update/glibc-2.2.5'
make: *** [all] Error 2
>How-To-Repeat:
export CC=/usr/gcc-3.1/bin/gcc
configure --prefix=/usr --enable-kernel=2.4.0 --enable-add-ons=linuxthreads
make

configure and make are done as a non-root user.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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