public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug bootstrap/26066] New: disable-threads causes undefined reference to pthread_kill and pthread_sigmask @ 2006-02-01 19:28 polite at itd dot nrl dot navy dot mil 2006-02-01 19:29 ` [Bug bootstrap/26066] " polite at itd dot nrl dot navy dot mil ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: polite at itd dot nrl dot navy dot mil @ 2006-02-01 19:28 UTC (permalink / raw) To: gcc-bugs I tried to build gcc 4.0.2 on my FC4 machine. I configured it with the following options: ../configure --prefix=/tmp/gccbuildtest/gcc --mandir=/tmp/gccbuildtest/gcc/share/man --infodir=/tmp/gccbuildtest/gcc/share/info --enable-shared --disable-threads --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95,ada --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=i386-redhat-linux When I attempted to 'make bootstrap', it failed with the following errors: ... /tmp/gcctestbuild/gcc-4.0.2/compile/objdir/gcc/gcj -B/tmp/gcctestbuild/gcc-4.0.2/compile/objdir/gcc/ -B/tmp/gcctestbuild/gcc-4.0.2/gcc//i386-redhat-linux/bin/ -B/tmp/gcctestbuild/gcc-4.0.2/gcc//i386-redhat-linux/lib/ -isystem /tmp/gcctestbuild/gcc-4.0.2/gcc//i386-redhat-linux/include -isystem /tmp/gcctestbuild/gcc-4.0.2/gcc//i386-redhat-linux/sys-include -ffloat-store -fno-omit-frame-pointer -g -O2 -o .libs/jv-convert --main=gnu.gcj.convert.Convert -shared-libgcc -L/tmp/gcctestbuild/gcc-4.0.2/compile/objdir/i386-redhat-linux/libjava -L/tmp/gcctestbuild/gcc-4.0.2/compile/objdir/i386-redhat-linux/libjava/.libs ./.libs/libgcj.so -L/tmp/gcctestbuild/gcc-4.0.2/compile/objdir/i386-redhat-linux/libstdc++-v3/src -L/tmp/gcctestbuild/gcc-4.0.2/compile/objdir/i386-redhat-linux/libstdc++-v3/src/.libs -L/tmp/gcctestbuild/gcc-4.0.2/compile/objdir/gcc -lgcc_s -lc -lgcc_s -ldl -lz -lgcc_s -lc -lgcc_s -Wl,--rpath -Wl,/tmp/gcctestbuild/gcc-4.0.2/gcc//lib ./.libs/libgcj.so: undefined reference to `pthread_kill' ./.libs/libgcj.so: undefined reference to `pthread_sigmask' collect2: ld returned 1 exit status make[3]: *** [jv-convert] Error 1 make[3]: Leaving directory `/tmp/gcctestbuild/gcc-4.0.2/compile/objdir/i386-redhat-linux/libjava' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/gcctestbuild/gcc-4.0.2/compile/objdir/i386-redhat-linux/libjava' make[1]: *** [all-target-libjava] Error 2 make[1]: Leaving directory `/tmp/gcctestbuild/gcc-4.0.2/compile/objdir' make: *** [bootstrap] Error 2 -- Summary: disable-threads causes undefined reference to pthread_kill and pthread_sigmask Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: polite at itd dot nrl dot navy dot mil http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26066 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/26066] disable-threads causes undefined reference to pthread_kill and pthread_sigmask 2006-02-01 19:28 [Bug bootstrap/26066] New: disable-threads causes undefined reference to pthread_kill and pthread_sigmask polite at itd dot nrl dot navy dot mil @ 2006-02-01 19:29 ` polite at itd dot nrl dot navy dot mil 2006-04-10 17:25 ` polite at itd dot nrl dot navy dot mil ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: polite at itd dot nrl dot navy dot mil @ 2006-02-01 19:29 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from polite at itd dot nrl dot navy dot mil 2006-02-01 19:29 ------- Created an attachment (id=10770) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10770&action=view) 'make bootstrap' output (warnings, errors, etc.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26066 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/26066] disable-threads causes undefined reference to pthread_kill and pthread_sigmask 2006-02-01 19:28 [Bug bootstrap/26066] New: disable-threads causes undefined reference to pthread_kill and pthread_sigmask polite at itd dot nrl dot navy dot mil 2006-02-01 19:29 ` [Bug bootstrap/26066] " polite at itd dot nrl dot navy dot mil @ 2006-04-10 17:25 ` polite at itd dot nrl dot navy dot mil 2006-06-30 18:23 ` ro at techfak dot uni-bielefeld dot de ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: polite at itd dot nrl dot navy dot mil @ 2006-04-10 17:25 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from polite at itd dot nrl dot navy dot mil 2006-04-10 17:25 ------- I tried the same thing with gcc 4.1.0 and I got the same result. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26066 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/26066] disable-threads causes undefined reference to pthread_kill and pthread_sigmask 2006-02-01 19:28 [Bug bootstrap/26066] New: disable-threads causes undefined reference to pthread_kill and pthread_sigmask polite at itd dot nrl dot navy dot mil 2006-02-01 19:29 ` [Bug bootstrap/26066] " polite at itd dot nrl dot navy dot mil 2006-04-10 17:25 ` polite at itd dot nrl dot navy dot mil @ 2006-06-30 18:23 ` ro at techfak dot uni-bielefeld dot de 2008-12-28 21:26 ` pinskia at gcc dot gnu dot org 2009-01-06 14:39 ` ro at techfak dot uni-bielefeld dot de 4 siblings, 0 replies; 6+ messages in thread From: ro at techfak dot uni-bielefeld dot de @ 2006-06-30 18:23 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from ro at techfak dot uni-bielefeld dot de 2006-06-30 18:03 ------- Subject: Re: disable-threads causes undefined reference to pthread_kill and pthread_sigmask I've noticed the same problem on IRIX 6.5 (which still uses THREADS=single), cf. PR libgcj/21935. Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26066 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/26066] disable-threads causes undefined reference to pthread_kill and pthread_sigmask 2006-02-01 19:28 [Bug bootstrap/26066] New: disable-threads causes undefined reference to pthread_kill and pthread_sigmask polite at itd dot nrl dot navy dot mil ` (2 preceding siblings ...) 2006-06-30 18:23 ` ro at techfak dot uni-bielefeld dot de @ 2008-12-28 21:26 ` pinskia at gcc dot gnu dot org 2009-01-06 14:39 ` ro at techfak dot uni-bielefeld dot de 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2008-12-28 21:26 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-28 21:23 ------- libjava is not designed to run in single threads mode at all. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26066 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/26066] disable-threads causes undefined reference to pthread_kill and pthread_sigmask 2006-02-01 19:28 [Bug bootstrap/26066] New: disable-threads causes undefined reference to pthread_kill and pthread_sigmask polite at itd dot nrl dot navy dot mil ` (3 preceding siblings ...) 2008-12-28 21:26 ` pinskia at gcc dot gnu dot org @ 2009-01-06 14:39 ` ro at techfak dot uni-bielefeld dot de 4 siblings, 0 replies; 6+ messages in thread From: ro at techfak dot uni-bielefeld dot de @ 2009-01-06 14:39 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from ro at techfak dot uni-bielefeld dot de 2009-01-06 14:39 ------- Subject: Re: disable-threads causes undefined reference to pthread_kill and pthread_sigmask pinskia at gcc dot gnu dot org writes: > libjava is not designed to run in single threads mode at all. But wouldn't it be better to reject --disable-threads in configure with an appropriate error message rather than getting link failures far into the build? Rainer -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26066 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-01-06 14:39 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-02-01 19:28 [Bug bootstrap/26066] New: disable-threads causes undefined reference to pthread_kill and pthread_sigmask polite at itd dot nrl dot navy dot mil 2006-02-01 19:29 ` [Bug bootstrap/26066] " polite at itd dot nrl dot navy dot mil 2006-04-10 17:25 ` polite at itd dot nrl dot navy dot mil 2006-06-30 18:23 ` ro at techfak dot uni-bielefeld dot de 2008-12-28 21:26 ` pinskia at gcc dot gnu dot org 2009-01-06 14:39 ` ro at techfak dot uni-bielefeld dot de
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).