From owner-freebsd-current@FreeBSD.ORG Sat Dec 4 23:13:54 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 D37C116A4CE for ; Sat, 4 Dec 2004 23:13:54 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9491C43D4C for ; Sat, 4 Dec 2004 23:13:54 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 7D77872DD4; Sat, 4 Dec 2004 15:13:52 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 78D9872DCB; Sat, 4 Dec 2004 15:13:52 -0800 (PST) Date: Sat, 4 Dec 2004 15:13:52 -0800 (PST) From: Doug White To: Andy Hilker In-Reply-To: <20041202202541.GA52937@mail.crypta.net> Message-ID: <20041204151311.E434@carver.gumbysoft.com> References: <20041202202541.GA52937@mail.crypta.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: current@freebsd.org Subject: Re: 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: Sat, 04 Dec 2004 23:13:54 -0000 On Thu, 2 Dec 2004, Andy Hilker wrote: > > 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... This appears to be missing an include path. atomic_word.h is found in src/contrib/libstdc++/config/cpu/generic/atomic_word.h, and that path isn't in the compile command line. > > 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 > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org