This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: systemtap build breaks, if CXXFLAGS="-g -fprofile-arcs -ftest-coverage" is set.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]