Package: g++-4.8
Version: 4.8.3-1
Severity: normal
Control: found -1 gcc-4.9/4.9.0-2

Ubuntu bug #1228201 affects hurd.

    https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1228201

On hurd

$ wget 
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/1228201/+attachment/3831609/+files/thread.cpp
$ g++ thread.cpp -pthread -std=c++11 -o thread
$ ./thread 
terminate called after throwing an instance of 'std::system_error'
  what():  Enable multithreading to use std::thread: Operation not permitted
Aborted

on linux it builds and runs fine

$ ./thread 
1307674368000
355687428096000


-- 
To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140526003127.GA31710@jessie01

Reply via email to