Your message dated Tue, 06 Apr 2010 03:42:17 +0200
with message-id <4bba9179.3060...@debian.org>
and subject line Re: Bug#576485: libstdc++: std::thread completely broken
has caused the Debian Bug report #576485,
regarding libstdc++: std::thread completely broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
576485: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576485
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libstdc++6
Version: 4.5-20100227-1
Severity: normal
File: libstdc++
The following program:
#include <iostream>
#include <thread>
int g = 0;
void f ()
{
g++;
}
int main ()
{
std::thread t (f);
t.join ();
std::cout << "after joing, g = " << g << std::endl;
return 0;
}
Dies with an exception:
$ g++-4.5 --version
g++-4.5 (Debian 4.5-20100227-1) 4.5.0 20100227 (experimental) [trunk
revision 157109]
$ g++-4.5 -std=c++0x -o t t.cc
$ ./t
terminate called after throwing an instance of 'std::system_error'
what():
Aborted
Thanks,
-Miles
-- System Information:
Debian Release: squeeze/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (50,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libstdc++6 depends on:
ii gcc-4.5-base 4.5-20100227-1 The GNU Compiler Collection (base
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.5-20100227-1 GCC support library
libstdc++6 recommends no packages.
libstdc++6 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On 05.04.2010 05:43, Miles Bader wrote:
Dies with an exception:
$ g++-4.5 --version
g++-4.5 (Debian 4.5-20100227-1) 4.5.0 20100227 (experimental) [trunk
revision 157109]
$ g++-4.5 -std=c++0x -o t t.cc
$ ./t
terminate called after throwing an instance of 'std::system_error'
what():
Aborted
need to build with -pthread.
--- End Message ---