Test framework does not run under ubuntu-gcc4.8 (their bug)

Issue #571 new
Bart Bogaerts created an issue

On a fresh ubuntu install, after configuring everything. I get an error

terminate called after throwing an instance of 'std::system_error'

what(): Enable multithreading to use std::thread: Operation not permitted

Aborted (core dumped)

This error seams to come from a lack of the option -lpthread for the compiler. However, cmakefiles seem to be adding this option.

I tried to add it manually with -DCMAKE_CXX_FLAGS=" -lpthread " but that did not work either.

Comments (9)

  1. Broes De Cat

    Excuses, ik kende de bug al, maar dacht dat er niet meteen iemand anders op gcc 4.8 ging beginnen werken (dus had hem nog niet gefiled). Dit is een gekende bug in ubuntu / gcc 4.8, dus wachten op hun fix.

    Meer gedetailleerd: er is een optimalisatie toegevoegd/aangepast die libraries niet linkt als de compiler/ubuntu denkt dat ze niet nodig zijn, zelfs als ze in de linker flags staan. Die detectie is dus verkeerd :)

  2. Bart Bogaerts reporter

    added a temporary fix for the problem with compiling on new ubuntu

    See #571. This commit should be reverted as soon as g++ or ubuntu fixes their bug.

    → <<cset fcf0587219ab>>

  3. Bart Bogaerts reporter

    Fix is in branch ubuntufix.

    As soon as ubuntu/gcc fixes their bug, merge branch ubuntufix_revert.

  4. Bart Bogaerts reporter

    added a temporary fix for the problem with compiling on new ubuntu

    See #571. This commit should be reverted as soon as g++ or ubuntu fixes their bug.

    → <<cset 53abdea23f12>>

  5. Log in to comment