Can't use cxx::Thread

Björn Döbel doebel at os.inf.tu-dresden.de
Sun Jun 2 12:07:02 CEST 2013


Am 02.06.2013 10:29, schrieb BogDan:
> Hello,
> 
>   I tried to create a very simple application that uses cxx::Thread, but I have some link problems:
>   ... Compiling main.o
>   ==> Linking test_cxx_thread
> main.o:(.rodata._ZTI10TestThread[_ZTI10TestThread]+0x8): undefined reference to `typeinfo for cxx::Thread'

Note, cxx::thread != std::thread.

How about simply using pthread_create() and co?

Also, the next release of L4Re is supposed to add support for C++11's
std::thread. It's unfortunately broken right now due to tooling issues.

Bjoern




More information about the l4-hackers mailing list