This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/12044] New: GLIBC compiling with ERR
- From: "lshulov at arabellasw dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2003 07:54:16 -0000
- Subject: [Bug other/12044] New: GLIBC compiling with ERR
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12044
Summary: GLIBC compiling with ERR
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lshulov at arabellasw dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686, Debian Linux 3.0
GCC target triplet: mips
I do folowing:
step1: Compailing BINUTIL
step2: Compiling GCC
step3: Compiling GLIBC with following configuration:
CC=mips-linux-gcc /home/GNU/glibc-2.3.2/glibc-2.3.2/configure \
--build=i686-pc-linux-gnu --host=mips-linux \
--prefix=/opt/Arabella/mips-linux --enable-add-ons \
--with-headers=/home/GNU/kernel-2.4.21/include
Log file of MAKE:
...........
make -C stdio-common subdir_lib
make[2]: Entering directory `/home/GNU/glibc-2.3.2/glibc-2.3.2/stdio-common'
mips-linux-gcc -M -MP sscanf.c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g -I../include -I. -I/home/GNU/obj/glibc/stdio-common -I..
-I../libio -I/home/GNU/obj/glibc -I../sysdeps/mips/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/mips
-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/mips
-I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv -I../sysdeps/unix/mips -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/mips/fpu -I../sysdeps/mips
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc
-isystem /opt/Arabella/lib/gcc-lib/mips-linux/3.3.1/include -isystem
/home/GNU/kernel-2.4.21/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -D_IO_MTSAFE_IO | sed -e
's,sscanf\.o,/home/GNU/obj/glibc/stdio-common/sscanf.o
/home/GNU/obj/glibc/stdio-common/sscanf.os
/home/GNU/obj/glibc/stdio-common/sscanf.op
/home/GNU/obj/glibc/stdio-common/sscanf.og
/home/GNU/obj/glibc/stdio-common/sscanf.ob
/home/GNU/obj/glibc/stdio-common/sscanf.oS
/home/GNU/obj/glibc/stdio-common/sscanf.d,' -e 's@ /home/GNU/obj/glibc/@
$(common-objpfx)@g' -e 's@^/home/GNU/obj/glibc/@$(common-objpfx)@g' >
/home/GNU/obj/glibc/stdio-common/sscanf.T
mv -f /home/GNU/obj/glibc/stdio-common/sscanf.T
/home/GNU/obj/glibc/stdio-common/sscanf.d
make[2]: Leaving directory `/home/GNU/glibc-2.3.2/glibc-2.3.2/stdio-common'
make[2]: Entering directory `/home/GNU/glibc-2.3.2/glibc-2.3.2/stdio-common'
mips-linux-gcc sscanf.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g -I../include -I. -I/home/GNU/obj/glibc/stdio-common -I..
-I../libio -I/home/GNU/obj/glibc -I../sysdeps/mips/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/mips
-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/mips
-I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv -I../sysdeps/unix/mips -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/mips/fpu -I../sysdeps/mips
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc
-isystem /opt/Arabella/lib/gcc-lib/mips-linux/3.3.1/include -isystem
/home/GNU/kernel-2.4.21/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DPIC -D_IO_MTSAFE_IO -o
/home/GNU/obj/glibc/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
make[2]: *** [/home/GNU/obj/glibc/stdio-common/sscanf.o] Error 1
make[2]: Leaving directory `/home/GNU/glibc-2.3.2/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/home/GNU/glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2make -C stdio-common subdir_lib
make[2]: Entering directory `/home/GNU/glibc-2.3.2/glibc-2.3.2/stdio-common'
mips-linux-gcc -M -MP sscanf.c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g -I../include -I. -I/home/GNU/obj/glibc/stdio-common -I..
-I../libio -I/home/GNU/obj/glibc -I../sysdeps/mips/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/mips
-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/mips
-I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv -I../sysdeps/unix/mips -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/mips/fpu -I../sysdeps/mips
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc
-isystem /opt/Arabella/lib/gcc-lib/mips-linux/3.3.1/include -isystem
/home/GNU/kernel-2.4.21/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -D_IO_MTSAFE_IO | sed -e
's,sscanf\.o,/home/GNU/obj/glibc/stdio-common/sscanf.o
/home/GNU/obj/glibc/stdio-common/sscanf.os
/home/GNU/obj/glibc/stdio-common/sscanf.op
/home/GNU/obj/glibc/stdio-common/sscanf.og
/home/GNU/obj/glibc/stdio-common/sscanf.ob
/home/GNU/obj/glibc/stdio-common/sscanf.oS
/home/GNU/obj/glibc/stdio-common/sscanf.d,' -e 's@ /home/GNU/obj/glibc/@
$(common-objpfx)@g' -e 's@^/home/GNU/obj/glibc/@$(common-objpfx)@g' >
/home/GNU/obj/glibc/stdio-common/sscanf.T
mv -f /home/GNU/obj/glibc/stdio-common/sscanf.T
/home/GNU/obj/glibc/stdio-common/sscanf.d
make[2]: Leaving directory `/home/GNU/glibc-2.3.2/glibc-2.3.2/stdio-common'
make[2]: Entering directory `/home/GNU/glibc-2.3.2/glibc-2.3.2/stdio-common'
mips-linux-gcc sscanf.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g -I../include -I. -I/home/GNU/obj/glibc/stdio-common -I..
-I../libio -I/home/GNU/obj/glibc -I../sysdeps/mips/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/mips
-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/mips
-I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv -I../sysdeps/unix/mips -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/mips/fpu -I../sysdeps/mips
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc
-isystem /opt/Arabella/lib/gcc-lib/mips-linux/3.3.1/include -isystem
/home/GNU/kernel-2.4.21/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h -DPIC -D_IO_MTSAFE_IO -o
/home/GNU/obj/glibc/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
make[2]: *** [/home/GNU/obj/glibc/stdio-common/sscanf.o] Error 1
make[2]: Leaving directory `/home/GNU/glibc-2.3.2/glibc-2.3.2/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/home/GNU/glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2
Best regards
Leonid