public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug linuxthreads/674] New: Error compiling linuxthreads in glibc 2.3.4
@ 2005-01-17  7:31 andihartmann at freenet dot de
  2005-01-31 23:12 ` [Bug linuxthreads/674] " nix at esperi dot org dot uk
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: andihartmann at freenet dot de @ 2005-01-17  7:31 UTC (permalink / raw)
  To: glibc-bugs

I'm trying to compile glibc 2.3.4, which I retrieved from cvs with the tag
glibc-2_3-branch on and for an amd athlon XP 2000+.
I used the following options:

../configure --prefix=/usr --enable-add-ons=linuxthreads --disable-static
compiler: gcc 3.3.5
binutils: 2.15.94.0.2
kernel: 2.4.29rc2


I'm getting the following error in linuxthreads:

make[2]: Entering directory `/opt/cd/libc/linuxthreads'
gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs
-Wl,-dynamic-linker=/lib/ld-linux.so.2 -B/opt/cd/libc/compile/linuxthreads/
-B/opt/cd/libc/compile/csu/ -B/opt/cd/libc/compile/linuxthreads/
-Wl,--version-script=/opt/cd/libc/compile/libpthread.map
-Wl,-soname=libpthread.so.0 -Wl,-z,combreloc -Wl,-z,relro
-Wl,--enable-new-dtags,-z,nodelete -Wl,--enable-new-dtags,-z,initfirst
-L/opt/cd/libc/compile -L/opt/cd/libc/compile/math-L/opt/cd/libc/compile/elf
-L/opt/cd/libc/compile/dlfcn -L/opt/cd/libc/compile/nss
-L/opt/cd/libc/compile/nis -L/opt/cd/libc/compile/rt
-L/opt/cd/libc/compile/resolv -L/opt/cd/libc/compile/crypt
-L/opt/cd/libc/compile/linuxthreads
-Wl,-rpath-link=/opt/cd/libc/compile:/opt/cd/libc/compile/math:/opt/cd/libc/compile/elf:/opt/cd/libc/compile/dlfcn:/opt/cd/libc/compile/nss:/opt/cd/libc/compile/nis:/opt/cd/libc/compile/rt:/opt/cd/libc/compile/resolv:/opt/cd/libc/compile/crypt:/opt/cd/libc/compile/linuxthreads
-o /opt/cd/libc/compile/linuxthreads/libpthread.so -T
/opt/cd/libc/compile/shlib.lds /opt/cd/libc/compile/csu/abi-note.o
-Wl,--whole-archive /opt/cd/libc/compile/linuxthreads/libpthread_pic.a
-Wl,--no-whole-archive /opt/cd/libc/compile/elf/interp.os
/opt/cd/libc/compile/libc.so /opt/cd/libc/compile/libc_nonshared.a
/opt/cd/libc/compile/elf/ld.so
/opt/cd/libc/compile/linuxthreads/libpthread_pic.a(pthread.os)(.text+0x1f6): In
function `pthread_initialize':
pthread.c: undefined reference to `_res'
/opt/cd/libc/compile/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xe72): In
function `__pthread_reset_main_thread':
pthread.c: undefined reference to `_errno'
/opt/cd/libc/compile/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xe84):pthread.c:
undefined referenceto `_h_errno'
/opt/cd/libc/compile/linuxthreads/libpthread_pic.a(pthread.os)(.text+0xe90):pthread.c:
undefined referenceto `_res'
/opt/cd/libc/compile/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x1b8):
undefined reference to `_errno'
/opt/cd/libc/compile/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x1c0):
undefined reference to `_h_errno'
/opt/cd/libc/compile/linuxthreads/libpthread_pic.a(pthread.os)(.data.rel+0x1c8):
undefined reference to `_res'
collect2: ld returned 1 exit status
make[2]: *** [/opt/cd/libc/compile/linuxthreads/libpthread.so] Error 1
make[2]: Leaving directory `/opt/cd/libc/linuxthreads'


There are no compile errors, if I'm using the additional configure option
--enable-kernel=2.4.1.

-- 
           Summary: Error compiling linuxthreads in glibc 2.3.4
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: linuxthreads
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: andihartmann at freenet dot de
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686 unknown unknown GNU/Linux
  GCC host triplet: i686 unknown unknown GNU/Linux
GCC target triplet: i686 unknown unknown GNU/Linux


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

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

end of thread, other threads:[~2006-04-26 15:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-17  7:31 [Bug linuxthreads/674] New: Error compiling linuxthreads in glibc 2.3.4 andihartmann at freenet dot de
2005-01-31 23:12 ` [Bug linuxthreads/674] " nix at esperi dot org dot uk
2005-02-01 11:20 ` nix at esperi dot org dot uk
2005-02-01 20:58 ` nix at esperi dot org dot uk
2005-02-02  7:57 ` nix at esperi dot org dot uk
2005-09-16 14:52 ` drepper at redhat dot com
2006-04-25  0:23 ` vapier at gentoo dot org
2006-04-25 23:20 ` vapier at gentoo dot org
2006-04-26 15:13 ` drow at sources dot redhat dot com
2006-04-26 15:37 ` drow at sources dot 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).