This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/16248] [3.5 Regression] recent concurrence.h chanes breaks mingw bootstrap


------- Additional Comments From aaronavay62 at aaronwl dot com  2004-07-01 03:07 -------
> This compiles for me, both thread versions. Sorry about the previous rush.

I tried this patch out tonight on head on a i686-pc-mingw bootstrap, and it 
did not work:

/aaronwl/cs/compilers/gcc/build/mingw-head/gcc/xgcc -shared-libgcc -
B/aaronwl/cs/compilers/gcc/build/mingw-head/gcc/ -nostdinc++ -
L/aaronwl/cs/compilers/gcc/build/mingw-head/i686-pc-mingw32/libstdc++-v3/src -
L/aaronwl/cs/compilers/gcc/build/mingw-head/i686-pc-mingw32/libstdc++-
v3/src/.libs -B/aaronwl/cs/env/mingw-head-head-head/i686-pc-mingw32/bin/ -
B/aaronwl/cs/env/mingw-head-head-head/i686-pc-mingw32/lib/ -
isystem /aaronwl/cs/env/mingw-head-head-head/i686-pc-mingw32/include -
isystem /aaronwl/cs/env/mingw-head-head-head/i686-pc-mingw32/sys-include -
I/aaronwl/cs/compilers/gcc/build/mingw-head/i686-pc-mingw32/libstdc++-
v3/include/i686-pc-mingw32 -I/aaronwl/cs/compilers/gcc/build/mingw-head/i686-
pc-mingw32/libstdc++-v3/include -
I/aaronwl/cs/compilers/gcc/src/cvs/head/gcc/libstdc++-v3/libsupc++ -O2 -g -O2 -
g -O2 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
Werror -fdiagnostics-show-location=once -
c ../../../../../src/cvs/head/gcc/libstdc++-v3/src/allocator.cc -o allocator.o
In file included from /aaronwl/cs/compilers/gcc/build/mingw-head/i686-pc-
mingw32/libstdc++-v3/include/ext/pool_allocator.h:54,
                 from ../../../../../src/cvs/head/gcc/libstdc++-
v3/src/allocator.cc:37:
/aaronwl/cs/compilers/gcc/build/mingw-head/i686-pc-mingw32/libstdc++-
v3/include/bits/concurrence.h: In constructor `__gnu_cxx::lock::lock
(__gthread_mutex_t&)':
/aaronwl/cs/compilers/gcc/build/mingw-head/i686-pc-mingw32/libstdc++-
v3/include/bits/concurrence.h:76: error: `device_once' was not declared in 
this scope
/aaronwl/cs/compilers/gcc/build/mingw-head/i686-pc-mingw32/libstdc++-
v3/include/bits/concurrence.h:76: error: `device_init' was not declared in 
this scope
/aaronwl/cs/compilers/gcc/build/mingw-head/i686-pc-mingw32/libstdc++-
v3/include/bits/concurrence.h:76: warning: unused variable 'device_once'
/aaronwl/cs/compilers/gcc/build/mingw-head/i686-pc-mingw32/libstdc++-
v3/include/bits/concurrence.h:76: warning: unused variable 'device_init'
../../../../../src/cvs/head/gcc/libstdc++-v3/src/allocator.cc: At global scope:
../../../../../src/cvs/head/gcc/libstdc++-v3/src/allocator.cc:54: error: 
expected constructor, destructor, or type conversion before '&' token
../../../../../src/cvs/head/gcc/libstdc++-v3/src/allocator.cc:54: error: 
expected `,' or `;' before '&' token

Sorry I don't have time to analyze it in detail right now.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16248


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]