From: Philippe E. <ph...@us...> - 2004-02-23 06:10:52
|
Update of /cvsroot/oprofile/oprofile/daemon In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29125/daemon Modified Files: Makefile.am Log Message: a bit subtle: force daemon build with frame pointer. If daemon is built w/o frame pointer we get random arc, some of them go in the vma used by an existing mmaped sample file, so cookie lookup return a sample filename which is used as a from or to component, this break pptools by creating invalid filename. Note this doesn't protect agaisnt a make CFLAGS=-fomit-frame-pointer. Index: Makefile.am =================================================================== RCS file: /cvsroot/oprofile/oprofile/daemon/Makefile.am,v retrieving revision 1.27 retrieving revision 1.28 diff -u -p -d -r1.27 -r1.28 --- Makefile.am 27 Oct 2003 02:27:25 -0000 1.27 +++ Makefile.am 23 Feb 2004 05:57:30 -0000 1.28 @@ -31,7 +31,8 @@ AM_CPPFLAGS = \ -I ${top_srcdir}/libop \ -I ${top_srcdir}/libdb -AM_CFLAGS = @OP_CFLAGS@ +# -fno-omit-frame-pointer needed for daemon build: see ChangeLog 2004-02-23 +AM_CFLAGS = @OP_CFLAGS@ -fno-omit-frame-pointer bin_PROGRAMS = oprofiled |