Building gprof was failed because of patched gmake (bundled with OSX). Follow is a patch to disable a builtin suffix rule.
Index: Makefile.am =============================================================== ==== RCS file: /cvs/src/src/gprof/Makefile.am,v retrieving revision 1.26 diff -u -p -r1.26 Makefile.am --- Makefile.am 6 Apr 2006 21:49:33 -0000 1.26 +++ Makefile.am 20 Apr 2006 06:23:23 -0000 @@ -39,6 +39,9 @@ EXTRA_DIST = $(BUILT_SOURCES) bbconv. diststuff: $(BUILT_SOURCES) info $(man_MANS) +# this empry rule is a hack against gmake patched by Apple. +%.o:%.m + .m.c: awk -f $(srcdir)/gen-c-prog.awk > ./$*.c ? FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb ? -- Summary: Failed to build gprof under gmake patched by Apple. Product: binutils Version: 2.18 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gprof AssignedTo: unassigned at sources dot redhat dot com ReportedBy: monaka at monami-software dot com CC: bug-binutils at gnu dot org GCC host triplet: powerpc-apple-darwin8 GCC target triplet: sh-unknown-elf http://sourceware.org/bugzilla/show_bug.cgi?id=2587 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils