public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: pthread related breakage (mainline)
@ 2003-12-08 18:24 Giovanni Bajo
  2003-12-08 18:24 ` Paolo Carlini
  0 siblings, 1 reply; 25+ messages in thread
From: Giovanni Bajo @ 2003-12-08 18:24 UTC (permalink / raw)
  To: Paolo Carlini; +Cc: gcc, Gerald Pfeifer, Andreas Jaeger

Giovanni Bajo <giovannibajo@libero.it> wrote:

>> 2003-10-09  Nathanael Nerode  <neroden@gcc.gnu.org>
>>
>>     * config.gcc: Remove redundant thread_file setting clauses for
>>     various *-*-linux* targets.
>
> I reverted this patch and I'm bootstrapping now. For reference, it's:
> http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00715.html
> cvs diff -u -r 1.394 -r 1.395 config.gcc | patch -R
>
> Let's see if it helps.

Alas it doesn't. I also reverted this:

2003-10-08  Nathanael Nerode  <neroden@gcc.gnu.org>

    * config.gcc: Don't accept --enable-threads=pthreads.  Clean
    up related case statements.
    * configure.in: Don't accept --enable-threads=pthreads,
    decosf1, mach, or os2 (none of which work anyway).  Alphabetize
    supported thread files in case clause.
    * configure: Regenerate.

and bootstrap is still broken. I'll try reverting also the third Paolo
suggested now.

Giovanni Bajo


^ permalink raw reply	[flat|nested] 25+ messages in thread
* pthread related breakage (mainline)
@ 2003-12-08 10:20 Gerald Pfeifer
  2003-12-08 10:34 ` Eric Christopher
  0 siblings, 1 reply; 25+ messages in thread
From: Gerald Pfeifer @ 2003-12-08 10:20 UTC (permalink / raw)
  To: gcc, libstdc++

On i686-pc-linux-gnu (SUSE Linux 9.0) I'm getting the following bootstrap
failure for --enable-languages=c,c++,objc,java --disable-checking:

  ranlib libv3test.a
  `/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/scripts/testsuite_flags --build-cxx` -DHAVE_CONFIG_H -I. -I/cvs/gcc/libstdc++-v3/testsuite -I..  -I/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/include -I/cvs/gcc/libstdc++-v3/libsupc++ -O2 -g -O2  -g -O2 -D_GNU_SOURCE -c -o abi_check.o /cvs/gcc/libstdc++-v3/testsuite/abi_check.cc
  LD_RUN_PATH=${LD_RUN_PATH:+$LD_RUN_PATH:}/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/src/.libs /bin/sh ../libtool --tag=CXX --mode=link `/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/scripts/testsuite_flags --build-cxx`  -g -O2 -D_GNU_SOURCE  -o abi_check  abi_check.o  -lm 
  mkdir .libs
  /tmp/OBJ-1208-0937/gcc/g++ -shared-libgcc -B/tmp/OBJ-1208-0937/gcc/ -nostdinc++ -B/suse/gp/gcc/i686-pc-linux-gnu/bin/ -B/suse/gp/gcc/i686-pc-linux-gnu/lib/ -isystem /suse/gp/gcc/i686-pc-linux-gnu/include -isystem /suse/gp/gcc/i686-pc-linux-gnu/sys-include -include bits/stdc++.h -g -O2 -D_GNU_SOURCE -o abi_check abi_check.o  -L/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/src -L/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm
  /tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so: undefined reference to `pthread_create'
  /tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so: undefined reference to `pthread_getspecific'
  /tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so: undefined reference to `pthread_once'
  /tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so: undefined reference to `pthread_key_create'
  /tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so: undefined reference to `pthread_setspecific'
  collect2: ld returned 1 exit status
  gmake[4]: *** [abi_check] Error 1
  gmake[4]: Leaving directory `/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3/testsuite'
  gmake[3]: *** [all-recursive] Error 1
  gmake[3]: Leaving directory `/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3'
  gmake[2]: *** [all] Error 2
  gmake[2]: Leaving directory `/tmp/OBJ-1208-0937/i686-pc-linux-gnu/libstdc++-v3'
  gmake[1]: *** [all-target-libstdc++-v3] Error 2
  gmake[1]: Leaving directory `/tmp/OBJ-1208-0937'
  gmake: *** [bootstrap-lean] Error 2

On i386-unknown-freebsd4.8 build suceeds, similar problems arise during use:

  % cat x.cc
  #include <vector>

  using namespace std;

  main() {
    vector<int> i;
    }
  % gccvs x.cc
 /sw/freebsd4/gcc-current/bin/../lib/gcc/i386-unknown-freebsd4.8/3.4/../../../libstdc++.so: undefined reference to `pthread_create'
 /sw/freebsd4/gcc-current/bin/../lib/gcc/i386-unknown-freebsd4.8/3.4/../../../libstdc++.so: undefined reference to `pthread_getspecific'
 /sw/freebsd4/gcc-current/bin/../lib/gcc/i386-unknown-freebsd4.8/3.4/../../../libstdc++.so: undefined reference to `pthread_once'
 /sw/freebsd4/gcc-current/bin/../lib/gcc/i386-unknown-freebsd4.8/3.4/../../../libstdc++.so: undefined reference to `pthread_key_create'
 /sw/freebsd4/gcc-current/bin/../lib/gcc/i386-unknown-freebsd4.8/3.4/../../../libstdc++.so: undefined reference to `pthread_mutex_unlock'
 /sw/freebsd4/gcc-current/bin/../lib/gcc/i386-unknown-freebsd4.8/3.4/../../../libstdc++.so: undefined reference to `pthread_mutex_lock'
 /sw/freebsd4/gcc-current/bin/../lib/gcc/i386-unknown-freebsd4.8/3.4/../../../libstdc++.so: undefined reference to `pthread_setspecific'
 collect2: ld returned 1 exit status

Gerald

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

end of thread, other threads:[~2003-12-09 19:09 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-08 18:24 pthread related breakage (mainline) Giovanni Bajo
2003-12-08 18:24 ` Paolo Carlini
2003-12-08 18:48   ` Paolo Carlini
2003-12-08 18:59     ` Paolo Carlini
2003-12-08 19:25       ` Janis Johnson
2003-12-08 19:39         ` Culprits... (Re: pthread related breakage (mainline)) Paolo Carlini
2003-12-08 20:47           ` Andreas Jaeger
2003-12-09  6:46             ` Andreas Jaeger
  -- strict thread matches above, loose matches on Subject: below --
2003-12-08 10:20 pthread related breakage (mainline) Gerald Pfeifer
2003-12-08 10:34 ` Eric Christopher
2003-12-08 12:12   ` Gerald Pfeifer
2003-12-08 12:47     ` Paolo Carlini
2003-12-08 12:57       ` Gerald Pfeifer
2003-12-08 13:02         ` Paolo Carlini
2003-12-08 13:16           ` Giovanni Bajo
2003-12-08 13:25             ` Paolo Carlini
2003-12-08 14:43               ` Giovanni Bajo
2003-12-08 23:15             ` Jason Merrill
2003-12-08 23:17               ` Jason Merrill
2003-12-09  4:05                 ` Giovanni Bajo
2003-12-09  5:08                   ` Jason Merrill
2003-12-09 19:09                     ` Giovanni Bajo
2003-12-09 20:11                       ` Jason Merrill
2003-12-08 23:31               ` Paolo Carlini
2003-12-09  1:48                 ` Gabriel Dos Reis

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