From owner-freebsd-current@FreeBSD.ORG Thu Dec 2 20:25:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77EFD16A4CE for ; Thu, 2 Dec 2004 20:25:44 +0000 (GMT) Received: from mail.crypta.net (mail.crypta.net [83.136.131.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CF6743D2D for ; Thu, 2 Dec 2004 20:25:43 +0000 (GMT) (envelope-from ah@crypta.net) Received: by mail.crypta.net (Postfix, from userid 1001) id 1D9B5ECD434; Thu, 2 Dec 2004 21:25:41 +0100 (CET) Date: Thu, 2 Dec 2004 21:25:41 +0100 From: Andy Hilker To: current@freebsd.org Message-ID: <20041202202541.GA52937@mail.crypta.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-PGP-Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xEC6E1071 X-PGP-Fingerprint: 9B2E 5892 AD93 D5C5 FB8E 3912 35D6 951B EC6E 1071 Organization: cryptobank - Andy Hilker Subject: linuxthreads broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2004 20:25:44 -0000 Hi, i am running mysqld 4.1 with linuxthreads since i experience more stability and performance than without linuxthreads before a few months. now linuxthreads port is broken (see below). do someone has a patch or knows how to fix it? btw. does mysqld 4.1 runs now good on smp machines with current? maybe i will give a new try on this... bye, Andy -- cd /usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_16/libstdc++ ; /usr/bin/env USING_GCC3=true SHELL=/bin/sh PORTOBJFORMAT=elf PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe -DKVA_PAGES=640 -march=pentium4" CXXFLAGS="-O -pipe -DKVA_PAGES=640 -march=pentium4" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" make Warning: Object directory not changed from original /usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_16/libstdc++ c++ -O -pipe -DKVA_PAGES=640 -march=pentium4 -D_PTHREADS -I../ -I../sysdeps/i386 -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H -I/usr/src/gnu/lib/libstdc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/libsupc++ -I/usr/src/gnu/lib/libstdc++/../../../contrib/gcc -I/usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/include -fno-implicit-templates -ffunction-sections -fdata-sections -Wno-deprecated -c /usr/src/gnu/lib/libstdc++/../../../contrib/libstdc++/src/allocator.cc In file included from /usr/include/c++/3.3/bits/stl_alloc.h:91, from /usr/include/c++/3.3/memory:55, from /usr/src/contrib/libstdc++/src/allocator.cc:35: /usr/src/contrib/libstdc++/include/bits/atomicity.h:33:30: bits/atomic_word.h: No such file or directory In file included from /usr/include/c++/3.3/bits/stl_alloc.h:91, from /usr/include/c++/3.3/memory:55, from /usr/src/contrib/libstdc++/src/allocator.cc:35: /usr/src/contrib/libstdc++/include/bits/atomicity.h:39: error: syntax error before `(' token /usr/src/contrib/libstdc++/include/bits/atomicity.h:43: error: syntax error before `*' token In file included from /usr/include/c++/3.3/memory:55, from /usr/src/contrib/libstdc++/src/allocator.cc:35: /usr/include/c++/3.3/bits/stl_alloc.h:353: error: syntax error before `;' token /usr/include/c++/3.3/bits/stl_alloc.h:382: error: syntax error before `;' token /usr/include/c++/3.3/bits/stl_alloc.h:452: error: syntax error before `<' token /usr/include/c++/3.3/bits/stl_alloc.h:452: error: `__threads' was not declared in this scope /usr/include/c++/3.3/bits/stl_alloc.h:452: error: `__inst' was not declared in this scope /usr/include/c++/3.3/bits/stl_alloc.h:452: error: template argument 1 is invalid /usr/include/c++/3.3/bits/stl_alloc.h:452: error: template argument 2 is invalid /usr/include/c++/3.3/bits/stl_alloc.h:601: error: syntax error before `<' token /usr/include/c++/3.3/bits/stl_alloc.h:601: error: `__threads' was not declared in this scope /usr/include/c++/3.3/bits/stl_alloc.h:601: error: `__inst' was not declared in this scope /usr/include/c++/3.3/bits/stl_alloc.h:601: error: template argument 1 is invalid /usr/include/c++/3.3/bits/stl_alloc.h:601: error: template argument 2 is invalid /usr/include/c++/3.3/bits/stl_alloc.h:602: error: braces around scalar initializer for `int' /usr/include/c++/3.3/bits/stl_alloc.h:602: error: ignoring extra initializers for `int' In file included from /usr/src/contrib/libstdc++/src/allocator.cc:37: /usr/src/contrib/libstdc++/include/ext/pool_allocator.h:122: error: syntax error before `;' token /usr/src/contrib/libstdc++/include/ext/pool_allocator.h:184: error: syntax error before `<' token /usr/src/contrib/libstdc++/include/ext/pool_allocator.h:184: error: `_Tp' was not declared in this scope /usr/src/contrib/libstdc++/include/ext/pool_allocator.h:184: error: template argument 1 is invalid /usr/src/contrib/libstdc++/include/ext/pool_allocator.h:184: error: ISO C++ forbids declaration of `_S_force_new' with no type *** Error code 1 Stop in /usr/ports/devel/linuxthreads/work/linuxthreads-2.2.3_16/libstdc++. *** Error code 1