genodelabs/genode — Issue #120: run/lx_hybrid_ctors fails on Linux 64bit
Author: chelmuth
Created: 2012-02-16 08:37:00+00:00
State: open
Labels: bug

Running 'make run/lx_hybrid_ctors' on Linux/64bit produces the following error. It seems the static constructor in the host library is not executed.

```
[init -> test-lx_hybrid_ctors] Global static constructor of Genode application called
[init -> test-lx_hybrid_ctors] --- lx_hybrid global static constructor test ---
[init -> test-lx_hybrid_ctors] --- returning from main ---
[init] virtual void Genode::Child_policy::exit(int): child exited with exit value 0

Line 0 of output is unexpected
expected: '[init -> test-lx_hybrid_ctors] Global static constructor of host library called.'
got: '[init -> test-lx_hybrid_ctors] Global static constructor of Genode application called'

Line 1 of output is unexpected
expected: '[init -> test-lx_hybrid_ctors] Global static constructor of Genode application called'
got: '[init -> test-lx_hybrid_ctors] --- lx_hybrid global static constructor test ---'

Line 2 of output is unexpected
expected: '[init -> test-lx_hybrid_ctors] --- lx_hybrid global static constructor test ---'
got: '[init -> test-lx_hybrid_ctors] --- returning from main ---'

Line 3 of output is unexpected
expected: '[init -> test-lx_hybrid_ctors] --- returning from main ---'
got: ''
Error: Test failed, 4 unexpected lines of output
make: *** [run/lx_hybrid_ctors] Error 255
```