This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/16248] [3.5 Regression] recent concurrence.h chanes breaks mingw bootstrap
- From: "per at bothner dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jun 2004 21:21:48 -0000
- Subject: [Bug libstdc++/16248] [3.5 Regression] recent concurrence.h chanes breaks mingw bootstrap
- References: <20040628163801.16248.bothner@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From per at bothner dot com 2004-06-30 21:21 -------
Subject: Re: [3.5 Regression] recent concurrence.h chanes
breaks mingw bootstrap
bkoz at gcc dot gnu dot org wrote:
> ------- Additional Comments From bkoz at gcc dot gnu dot org 2004-06-30 21:06 -------
>
>
> Aggh, yes, of course. I've changed it to a struct. I'm assuming that will work,
> but I will wait for confirmation that this revised patch works before I check
> this in.
Nope:
/home/bothner/GNU/MinGW/build/crossgcc_build/gcc/xgcc -shared-libgcc
-B/home/bothner/GNU/MinGW/build/crossgcc_build/gcc/ -nostdinc++
-L/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/src
-L/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/src/.libs
-B/home/bothner/GNU/MinGW/build/crossgcc/i686-pc-mingw32/bin/
-B/home/bothner/GNU/MinGW/build/crossgcc/i686-pc-mingw32/lib/ -isystem
/home/bothner/GNU/MinGW/build/crossgcc/i686-pc-mingw32/include -isystem
/home/bothner/GNU/MinGW/build/crossgcc/i686-pc-mingw32/sys-include
-I/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/i686-pc-mingw32
-I/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include
-I/home/bothner/GNU/MinGW/gcc/libstdc++-v3/libsupc++ -O2 -g -g
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -c
/home/bothner/GNU/MinGW/gcc/libstdc++-v3/src/allocator-inst.cc -o
allocator-inst.o
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/ext/pool_allocator.h:
In member function `_Tp* __gnu_cxx::__pool_alloc<_Tp>::allocate(size_t,
const void*) [with _Tp = char]':
/home/bothner/GNU/MinGW/gcc/libstdc++-v3/src/allocator-inst.cc:49:
instantiated from here
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/ext/pool_allocator.h:213:
error: no matching function for call to
`__gnu_cxx::lock::lock(__gthread_mutex_t&)'
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/bits/concurrence.h:89:
note: candidates are: __gnu_cxx::lock::lock(const __gnu_cxx::lock&)
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/bits/concurrence.h:82:
note: __gnu_cxx::lock::lock(__gnu_cxx::mutex_type&)
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/ext/pool_allocator.h:
In member function `void __gnu_cxx::__pool_alloc<_Tp>::deallocate(_Tp*,
size_t) [with _Tp = char]':
/home/bothner/GNU/MinGW/gcc/libstdc++-v3/src/allocator-inst.cc:49:
instantiated from here
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/ext/pool_allocator.h:246:
error: no matching function for call to
`__gnu_cxx::lock::lock(__gthread_mutex_t&)'
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/bits/concurrence.h:89:
note: candidates are: __gnu_cxx::lock::lock(const __gnu_cxx::lock&)
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/bits/concurrence.h:82:
note: __gnu_cxx::lock::lock(__gnu_cxx::mutex_type&)
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/ext/pool_allocator.h:
In member function `_Tp* __gnu_cxx::__pool_alloc<_Tp>::allocate(size_t,
const void*) [with _Tp = wchar_t]':
/home/bothner/GNU/MinGW/gcc/libstdc++-v3/src/allocator-inst.cc:50:
instantiated from here
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/ext/pool_allocator.h:213:
error: no matching function for call to
`__gnu_cxx::lock::lock(__gthread_mutex_t&)'
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/bits/concurrence.h:89:
note: candidates are: __gnu_cxx::lock::lock(const __gnu_cxx::lock&)
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/bits/concurrence.h:82:
note: __gnu_cxx::lock::lock(__gnu_cxx::mutex_type&)
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/ext/pool_allocator.h:
In member function `void __gnu_cxx::__pool_alloc<_Tp>::deallocate(_Tp*,
size_t) [with _Tp = wchar_t]':
/home/bothner/GNU/MinGW/gcc/libstdc++-v3/src/allocator-inst.cc:50:
instantiated from here
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/ext/pool_allocator.h:246:
error: no matching function for call to
`__gnu_cxx::lock::lock(__gthread_mutex_t&)'
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/bits/concurrence.h:89:
note: candidates are: __gnu_cxx::lock::lock(const __gnu_cxx::lock&)
/home/bothner/GNU/MinGW/build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/include/bits/concurrence.h:82:
note: __gnu_cxx::lock::lock(__gnu_cxx::mutex_type&)
make[3]: *** [allocator-inst.lo] Error 1
make[3]: Leaving directory
`/misc/GNU/MinGC.build/crossgcc_build/i686-pc-mingw32/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/misc/GNU/MinGC.build/crossgcc_build/i686-pc-mingw32/libstdc++-v3'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/misc/GNU/MinGC.build/crossgcc_build/i686-pc-mingw32/libstdc++-v3'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16248