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

* [Bug other/12044] GLIBC compiling with ERR
  2003-08-24  7:54 [Bug other/12044] New: GLIBC compiling with ERR lshulov at arabellasw dot com
@ 2003-08-24 13:57 ` pinskia at gcc dot gnu dot org
  2003-08-25  6:43 ` aj at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-24 13:57 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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-24 13:57 -------
Can you provide the preprocessed source?


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

* [Bug other/12044] GLIBC compiling with ERR
  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
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: aj at gcc dot gnu dot org @ 2003-08-25  6:43 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


aj at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From aj at gcc dot gnu dot org  2003-08-25 06:43 -------
This is a bug in glibc triggered by newer GCCs:

scanf.c: In function `sscanf':
sscanf.c:37: error: `va_start' used in function with fixed args

Change the declaration of stdio-common/sscanf.c to:
int
sscanf (const char *s, const char *format, ...)

This is fixed in the development version of glibc already but the latest
release (2.3.2) has this bug.

Closing since this is not a GCC bug.


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

* [Bug other/12044] GLIBC compiling with ERR
  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
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: lshulov at arabellasw dot com @ 2003-08-25  8:32 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



------- Additional Comments From lshulov at arabellasw dot com  2003-08-25 08:32 -------
Subject: Re:  GLIBC compiling with ERR

aj at gcc dot gnu dot org wrote:

>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
>
>
>aj at gcc dot gnu dot org changed:
>
>           What    |Removed                     |Added
>----------------------------------------------------------------------------
>             Status|WAITING                     |RESOLVED
>         Resolution|                            |INVALID
>
>
>------- Additional Comments From aj at gcc dot gnu dot org  2003-08-25 06:43 -------
>This is a bug in glibc triggered by newer GCCs:
>
>scanf.c: In function `sscanf':
>sscanf.c:37: error: `va_start' used in function with fixed args
>
>Change the declaration of stdio-common/sscanf.c to:
>int
>sscanf (const char *s, const char *format, ...)
>
>This is fixed in the development version of glibc already but the latest
>release (2.3.2) has this bug.
>
>Closing since this is not a GCC bug.
>
>
>
>------- You are receiving this mail because: -------
>You reported the bug, or are watching the reporter.
>
>  
>
Thank you. It's work
Leonid


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

* [Bug other/12044] GLIBC compiling with ERR
  2003-08-24  7:54 [Bug other/12044] New: GLIBC compiling with ERR lshulov at arabellasw dot com
                   ` (2 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-06 20:26 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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bbooth at redhat dot com


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-06 20:26 -------
*** Bug 12927 has been marked as a duplicate of this bug. ***


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

* [Bug other/12044] GLIBC compiling with ERR
  2003-08-24  7:54 [Bug other/12044] New: GLIBC compiling with ERR lshulov at arabellasw dot com
                   ` (3 preceding siblings ...)
  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
  5 siblings, 0 replies; 7+ messages in thread
From: giulivo at linuxmail dot org @ 2003-12-20 14:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giulivo at linuxmail dot org  2003-12-20 13:39 -------
(In reply to comment #3)
> Subject: Re:  GLIBC compiling with ERR
> aj at gcc dot gnu dot org wrote:
> 
> >This is a bug in glibc triggered by newer GCCs:
> >
> >scanf.c: In function `sscanf':
> >sscanf.c:37: error: `va_start' used in function with fixed args
> >
> >Change the declaration of stdio-common/sscanf.c to:
> >int
> >sscanf (const char *s, const char *format, ...)
> >
> >This is fixed in the development version of glibc already but the latest
> >release (2.3.2) has this bug.
> >
> >Closing since this is not a GCC bug.
> >
> Thank you. It's work
> Leonid

hmm ... it works on x86 hardware, but on my ppc (G3) with this patch the problem
is not solved... i receive same error!

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12044


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

* [Bug other/12044] GLIBC compiling with ERR
  2003-08-24  7:54 [Bug other/12044] New: GLIBC compiling with ERR lshulov at arabellasw dot com
                   ` (4 preceding siblings ...)
  2003-12-20 14:27 ` giulivo at linuxmail dot org
@ 2003-12-21 20:26 ` giulivo at linuxmail dot org
  5 siblings, 0 replies; 7+ messages in thread
From: giulivo at linuxmail dot org @ 2003-12-21 20:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giulivo at linuxmail dot org  2003-12-21 20:24 -------
(In reply to comment #5)
> hmm ... it works on x86 hardware, but on my ppc (G3) with this patch the problem
> is not solved... i receive same error!

sorry for my erroneus report... probably there was a mistake in my base system,
now i can compile successfully glibc 2.3.2 whit this pathc on my Apple G3

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12044


^ 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).