On 2017-02-04 09:50 +0800, Xi Ruoyao wrote: > On 2017-02-02 14:59 +0100, Sven Eppler wrote: > > > Currently we use Ubuntu 16.04. with: > > - gcc v5.4 > > - lcov & genhtml v1.12 > > I don't have GCC 5.4 installed. But it's unlikely that only GCC 5.4 > had > this ``bug". I suggest to checkout lcov v1.13 and try it. Some strange GCC configure options in Ubuntu distro may also caused the issue. If lcov v1.13 doesn't work, you may try to compile GCC yourself. My GCC was configured with: ../configure --prefix=/usr --with-system-zlib \ --enable-languages=c,c++,fortran,go,objc,obj-c++ \ --program-suffix=-6.3 --libdir=/usr/lib64 \ --libexecdir=/usr/lib64 -- Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx> School of Aerospace Science and Technology, Xidian University