public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/313] New: Link error for glibc 2.3.3 with gcc 3.4.1
@ 2004-08-08  9:32 jan dot h dot d at swipnet dot se
  2004-08-08 11:55 ` [Bug libc/313] " duncan_roe at acslink dot net dot au
  2004-08-10  4:43 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jan dot h dot d at swipnet dot se @ 2004-08-08  9:32 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 -nostdlib -nostartfiles -o /home/jhd/build/obj/iconv/iconvconfig  -Wl,-dynam
ic-linker=/lib/ld-linux.so.2   -Wl,-z,combreloc /home/jhd/build/obj/csu/crt1.o /
home/jhd/build/obj/csu/crti.o `gcc --print-file-name=crtbegin.o` /home/jhd/build
/obj/iconv/iconvconfig.o /home/jhd/build/obj/iconv/strtab.o /home/jhd/build/obj/
iconv/xmalloc.o /home/jhd/build/obj/iconv/hash-string.o  -Wl,-rpath-link=/home/j
hd/build/obj:/home/jhd/build/obj/math:/home/jhd/build/obj/elf:/home/jhd/build/ob
j/dlfcn:/home/jhd/build/obj/nss:/home/jhd/build/obj/nis:/home/jhd/build/obj/rt:/
home/jhd/build/obj/resolv:/home/jhd/build/obj/crypt:/home/jhd/build/obj/nptl /ho
me/jhd/build/obj/libc.so.6 /home/jhd/build/obj/libc_nonshared.a -lgcc -lgcc_eh `
gcc --print-file-name=crtend.o` /home/jhd/build/obj/csu/crtn.o
/home/jhd/build/obj/csu/crtn.o(.text+0x0): In function `dummy':
/home/jhd/build/obj/csu/crtn.S:14: multiple definition of `dummy'
/home/jhd/build/obj/csu/crti.o(.text+0x0):/home/jhd/build/obj/csu/crti.S:33: fir
st defined here
/home/jhd/build/obj/csu/crtn.o(.text+0x14): In function `_init':
/home/jhd/build/obj/csu/crtn.S:28: multiple definition of `_init'
/home/jhd/build/obj/csu/crti.o(.text+0x24):/home/jhd/build/obj/csu/crti.S:61: fi
rst defined here
/home/jhd/build/obj/csu/crtn.o(.init+0x8): In function `_fini':
/home/jhd/build/obj/csu/crtn.S:69: multiple definition of `_fini'
/home/jhd/build/obj/csu/crti.o(.init+0x4):/home/jhd/build/obj/csu/crti.S:36: fir
st defined here
/home/jhd/build/obj/csu/crti.o(.init+0x16): In function `_fini':
/home/jhd/build/obj/csu/crti.S:43: undefined reference to `i_am_not_a_leaf'
/home/jhd/build/obj/csu/crtn.o(.init+0x2b): In function `_fini':
/home/jhd/build/obj/csu/crtn.S:37: undefined reference to `i_am_not_a_leaf'
/home/jhd/build/obj/csu/crtn.o(.init+0x30):/home/jhd/build/obj/csu/crtn.S:39: un
defined reference to `i_am_not_a_leaf'
collect2: ld returned 1 exit status
make[2]: *** [/home/jhd/build/obj/iconv/iconvconfig] Error 1

-- 
           Summary: Link error for glibc 2.3.3 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=313

------- 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] 3+ messages in thread

* [Bug libc/313] Link error for glibc 2.3.3 with gcc 3.4.1
  2004-08-08  9:32 [Bug libc/313] New: Link error for glibc 2.3.3 with gcc 3.4.1 jan dot h dot d at swipnet dot se
@ 2004-08-08 11:55 ` duncan_roe at acslink dot net dot au
  2004-08-10  4:43 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: duncan_roe at acslink dot net dot au @ 2004-08-08 11:55 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=313

------- 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] 3+ messages in thread

* [Bug libc/313] Link error for glibc 2.3.3 with gcc 3.4.1
  2004-08-08  9:32 [Bug libc/313] New: Link error for glibc 2.3.3 with gcc 3.4.1 jan dot h dot d at swipnet dot se
  2004-08-08 11:55 ` [Bug libc/313] " duncan_roe at acslink dot net dot au
@ 2004-08-10  4:43 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2004-08-10  4:43 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2004-08-10 04:43 -------
As for bug #312, works fine here with the current cvs sources.  Nobody.

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


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

------- 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] 3+ messages in thread

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-08  9:32 [Bug libc/313] New: Link error for glibc 2.3.3 with gcc 3.4.1 jan dot h dot d at swipnet dot se
2004-08-08 11:55 ` [Bug libc/313] " duncan_roe at acslink dot net dot au
2004-08-10  4:43 ` drepper at redhat dot com

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