public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/312] New: Compile error in elf/dl-runtime.c with gcc 3.4.1
@ 2004-08-08  9:25 jan dot h dot d at swipnet dot se
  2004-08-08 10:37 ` [Bug libc/312] " duncan_roe at acslink dot net dot au
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jan dot h dot d at swipnet dot se @ 2004-08-08  9:25 UTC (permalink / raw)
  To: glibc-bugs

Configure command:
% ../glibc-2.3.3/configure --prefix=/usr --enable-add-ons=nptl --with-tls

% gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/usr --enable-shared
--with-gnu-as --with-gnu-ld --enable-threads
Thread model: posix
gcc version 3.4.1

% ld -v
GNU ld version 2.15.90.0.1.1 20040303
Host type: i686-pc-linux-gnu
System: Linux gaffa 2.6.7 #11 Sat Jul 24 00:06:03 CEST 2004 i686 unknown unknown
GNU/Linux
Architecture: i686

% as -v
GNU assembler version 2.15.90.0.1.1 (i386-redhat-linux-gnu) using BFD version
2.15.90.0.1.1 20040303

% /lib/libc.so.6 
GNU C Library stable release version 2.3.2, by Roland McGrath et al.
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.2.2.
Compiled on a Linux 2.4.19 system on 2003-03-29.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.10 by Xavier Leroy
        BIND-8.2.3-T5B
        libthread_db work sponsored by Alpha Processor Inc
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Report bugs using the `glibcbug' script to <bugs@gnu.org>.

Addons: nptl
Build CFLAGS: -g -O2
Build CC: gcc
Compiler version: 3.4.1
Kernel headers: 2.6.7
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no


Description:
	When compiling I get these errors:

gcc dl-runtime.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g -mpreferred-stack-boundary=2  -fexceptions
-fasynchronous-unwind-tables   -I../include -I. -I/home/jhd/build/obj/elf -I..
-I../libio -I../nptl -I/home/jhd/build/obj -I../sysdeps/i386/elf
-I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv
-I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/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../nptl/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.6.7/build/include -D_LIBC_REENTRANT
-D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o
/home/jhd/build/obj/elf/dl-runtime.o -MD -MP -MF
/home/jhd/build/obj/elf/dl-runtime.o.dt
dl-runtime.c:56: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
dl-runtime.c:56: error: conflicting types for 'fixup'
../sysdeps/i386/dl-machine.h:158: error: previous declaration of 'fixup' was here
dl-runtime.c:141: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 'profile_fixup'
was here
dl-runtime.c:141: error: conflicting types for 'profile_fixup'
../sysdeps/i386/dl-machine.h:161: error: previous declaration of 'profile_fixup'
was here
../sysdeps/i386/dl-machine.h:158: varning: 'fixup' declared `static' but never
defined
../sysdeps/i386/dl-machine.h:161: varning: 'profile_fixup' declared `static' but
never defined
make[2]: *** [/home/jhd/build/obj/elf/dl-runtime.o] Fel 1

-- 
           Summary: Compile error in elf/dl-runtime.c with gcc 3.4.1
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: jan dot h dot d at swipnet dot se
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=312

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/312] Compile error in elf/dl-runtime.c with gcc 3.4.1
  2004-08-08  9:25 [Bug libc/312] New: Compile error in elf/dl-runtime.c with gcc 3.4.1 jan dot h dot d at swipnet dot se
@ 2004-08-08 10:37 ` duncan_roe at acslink dot net dot au
  2004-08-10  4:42 ` drepper at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: duncan_roe at acslink dot net dot au @ 2004-08-08 10:37 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |duncan_roe at acslink dot
                   |                            |net dot au


http://sources.redhat.com/bugzilla/show_bug.cgi?id=312

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/312] Compile error in elf/dl-runtime.c with gcc 3.4.1
  2004-08-08  9:25 [Bug libc/312] New: Compile error in elf/dl-runtime.c with gcc 3.4.1 jan dot h dot d at swipnet dot se
  2004-08-08 10:37 ` [Bug libc/312] " duncan_roe at acslink dot net dot au
@ 2004-08-10  4:42 ` drepper at redhat dot com
  2004-08-10 13:50 ` duncan_roe at acslink dot net dot au
  2004-08-10 14:22 ` jan dot h dot d at swipnet dot se
  3 siblings, 0 replies; 5+ messages in thread
From: drepper at redhat dot com @ 2004-08-10  4:42 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2004-08-10 04:42 -------
I'm using 3.4.1 all the time and see no problems.  This is with the current CVS.
 If you use anything else stop doing that and use the CVS code.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


http://sources.redhat.com/bugzilla/show_bug.cgi?id=312

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/312] Compile error in elf/dl-runtime.c with gcc 3.4.1
  2004-08-08  9:25 [Bug libc/312] New: Compile error in elf/dl-runtime.c with gcc 3.4.1 jan dot h dot d at swipnet dot se
  2004-08-08 10:37 ` [Bug libc/312] " duncan_roe at acslink dot net dot au
  2004-08-10  4:42 ` drepper at redhat dot com
@ 2004-08-10 13:50 ` duncan_roe at acslink dot net dot au
  2004-08-10 14:22 ` jan dot h dot d at swipnet dot se
  3 siblings, 0 replies; 5+ messages in thread
From: duncan_roe at acslink dot net dot au @ 2004-08-10 13:50 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From duncan_roe at acslink dot net dot au  2004-08-10 13:49 -------
(In reply to comment #1)
> I'm using 3.4.1 all the time and see no problems.  This is with the current CVS.
>  If you use anything else stop doing that and use the CVS code.
Ok I tried that.
Compile failed initially but I fixed it:

--- libio/bits/stdio.h.bu       2004-08-10 14:38:00.000000000 +1000
+++ libio/bits/stdio.h  2004-08-10 22:58:35.000000000 +1000
@@ -167,7 +167,7 @@
                      || (__builtin_constant_p (n) && (size_t) (n) == 0))     \
                        /* Evaluate all parameters once.  */                  \
                     ? ((void) (ptr), (void) (stream), (void) (size),         \
-                       (size_t) n)                                           \
+                       (size_t) (n))                                         \
                     : fwrite_unlocked (ptr, size, n, stream))))
 #endif

Now "make check" fails in internationalisation but I forced it past that bit
so will see how it goes. Do you want the failure report?

I am a little uneasy about using some random CVS snapshot when there was a
release (2.3.3) so recently - what gcc version was the release built with?

nptl/tst-clock2 just failed: output is:

clock_gettime round 0 failed

Is that serious?



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=312

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug libc/312] Compile error in elf/dl-runtime.c with gcc 3.4.1
  2004-08-08  9:25 [Bug libc/312] New: Compile error in elf/dl-runtime.c with gcc 3.4.1 jan dot h dot d at swipnet dot se
                   ` (2 preceding siblings ...)
  2004-08-10 13:50 ` duncan_roe at acslink dot net dot au
@ 2004-08-10 14:22 ` jan dot h dot d at swipnet dot se
  3 siblings, 0 replies; 5+ messages in thread
From: jan dot h dot d at swipnet dot se @ 2004-08-10 14:22 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jan dot h dot d at swipnet dot se  2004-08-10 14:22 -------
I filed bug 316 for the stdio.h error.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=312

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2004-08-10 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-08  9:25 [Bug libc/312] New: Compile error in elf/dl-runtime.c with gcc 3.4.1 jan dot h dot d at swipnet dot se
2004-08-08 10:37 ` [Bug libc/312] " duncan_roe at acslink dot net dot au
2004-08-10  4:42 ` drepper at redhat dot com
2004-08-10 13:50 ` duncan_roe at acslink dot net dot au
2004-08-10 14:22 ` jan dot h dot d at swipnet dot se

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