Re: linuxthreads broken?

From: Doug White <dwhite_at_gumbysoft.com>
Date: Sat, 4 Dec 2004 15:13:52 -0800 (PST)
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite_at_gumbysoft.com          |  www.FreeBSD.org
Received on Sat Dec 04 2004 - 22:13:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:23 UTC