public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/12044] New: GLIBC compiling with ERR
@ 2003-08-24  7:54 lshulov at arabellasw dot com
  2003-08-24 13:57 ` [Bug other/12044] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: lshulov at arabellasw dot com @ 2003-08-24  7:54 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-12-21 20:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-24  7:54 [Bug other/12044] New: GLIBC compiling with ERR lshulov at arabellasw dot com
2003-08-24 13:57 ` [Bug other/12044] " pinskia at gcc dot gnu dot org
2003-08-25  6:43 ` aj at gcc dot gnu dot org
2003-08-25  8:32 ` lshulov at arabellasw dot com
2003-11-06 20:26 ` pinskia at gcc dot gnu dot org
2003-12-20 14:27 ` giulivo at linuxmail dot org
2003-12-21 20:26 ` giulivo at linuxmail dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).