I use gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4 with Eclipse CDT Version: Luna Service Release 2 (4.4.2).
My program does not use any library, not pthread and neighter gthread. It uses the C++11 standard, which is set with the dialect drop down menu in C++-Compiler options.
The GCC Linker for g++ produces the following error:
./src/main.o:(.rodata+0x1e8): undefined reference to `__gthrw___pthread_key_create(unsigned int*, void ()(void))'
I already searched about how to disable weak symbol references, but wasn't lucky.
Can anyone give some advise?