This seems to be due to a toolchain-problem. While investigating the problem I recompiled with "-g" instead of the default "-O2" and this version works fine. I'm using i386 by the way...