systemtap build breaks, if CXXFLAGS="-g -fprofile-arcs -ftest-coverage" is set.
Frank Ch. Eigler
fche@redhat.com
Thu May 29 17:41:00 GMT 2008
Srinivasa DS <srinivasa@in.ibm.com> writes:
> I tried building latest systemtap-20080524 snapshot with CXXFLAGS="-g
> -fprofile-arcs -ftest-coverage" on x86_64 system(problem not seen on
> ppc systems), but build failed with below error message.
>
> Steps
> =======
> 1)./configure --with-elfutils=/home/systemtap/btils/elfutils-0.131/
> CC='gcc -m64' CXX='g++ -m64'
> 2)make CXXFLAGS="-g -fprofile-arcs -ftest-coverage"
This collection of flags conflicts with the default --enable-pie. You
could add "-fpie" to CXXFLAGS. Or you could configure with
--disable-pie. Or you could add a new --enable-coverage flag to
manage it all.
- FChE
More information about the Systemtap
mailing list