public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "andihartmann at freenet dot de" <sourceware-bugzilla@sources.redhat.com> To: glibc-bugs@sources.redhat.com Subject: [Bug linuxthreads/674] New: Error compiling linuxthreads in glibc 2.3.4 Date: Mon, 17 Jan 2005 07:31:00 -0000 [thread overview] Message-ID: <20050117073135.674.andihartmann@freenet.de> (raw) 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.
next reply other threads:[~2005-01-17 7:31 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-01-17 7:31 andihartmann at freenet dot de [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20050117073135.674.andihartmann@freenet.de \ --to=sourceware-bugzilla@sources.redhat.com \ --cc=glibc-bugs@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).