This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: gprof doesn't build from cvs


On Wed, Sep 04, 2013 at 06:02:04PM -0700, Mike Stump wrote:
> diff --git a/binutils/gprof/Makefile.am b/binutils/gprof/Makefile.am
> index 97d8c17..cf19cb1 100644
> --- a/binutils/gprof/Makefile.am
> +++ b/binutils/gprof/Makefile.am
> @@ -68,7 +68,7 @@ CONFIG_STATUS_DEPENDENCIES = $(BFDDIR)/configure.in
>  .m.c:
>         awk -f $(srcdir)/gen-c-prog.awk > ./$*.c \
>             FUNCTION=`(echo $*|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
> -           FILE=$*.m $(srcdir)/$*.m
> +           FILE=$*.m $*.m
>  
>  POTFILES = $(sources) $(noinst_HEADERS)
>  po/POTFILES.in: @MAINT@ Makefile

Not OK.  Breaks building with an absolute source dir and make 3.81.

make[2]: Entering directory `/home/alan/build/gas/all/gprof'
awk -f /src/binutils-current/gprof/gen-c-prog.awk > ./flat_bl.c \
	    FUNCTION=`(echo flat_bl|sed -e 's,.*/,,g' -e 's/_bl//')`_blurb \
	    FILE=flat_bl.m flat_bl.m
awk: /src/binutils-current/gprof/gen-c-prog.awk:29: fatal: cannot open file `flat_bl.m' for reading (No such file or directory)


-- 
Alan Modra
Australia Development Lab, IBM


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