https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115628
--- Comment #4 from sadineniharish8446 at gmail dot com --- we ate trying to take coverage for libstdc++, I have tried following configuration options but getting same error. ../configure --enable-languages=c,c++ - --disable-bootstrap --disable-multilib CFLAGS="-ftest-coverage -fprofile-arcs" CXXFLAGS="-ftest-coverage -fprofile-arcs " LDFLAGS="--coverage" can you please let me know which configuration will work. thanks, Harish