Bug 134563 - Fails to build with 'ccache'
Fails to build with 'ccache'
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: valgrind (Show other bugs)
2
All Linux
medium Severity low
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-04 13:23 EDT by Enrico Scholz
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: valgrind-2.2.0-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-05 05:00:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2004-10-04 13:23:44 EDT
Description of problem:

valgrind fails to rebuild when ccache (http://ccache.samba.org/) is
activated:

| if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../../coregrind -I../../coregrind -I../../include -I../../include   -Winline -Wall -Wshadow -O -fomit-frame-pointer -g -Wno-unused -MT cplus-dem.o -MD -MP -MF ".deps/cplus-dem.Tpo" -c -o cplus-dem.o cplus-dem.c; \
| then mv -f ".deps/cplus-dem.Tpo" ".deps/cplus-dem.Po"; else rm -f ".deps/cplus-dem.Tpo"; exit 1; fi
| make[4]: *** [cplus-dem.o] Error 1


This is caused by the 'env - ' trick which works around a bug in
make<3.80. With recent make version this is not required
anymore. Alternatively, a not so intrusive

| unset CFLAGS

could be used (CFLAGS was the responsible variable).



Version-Release number of selected component (if applicable):

valgrind-2.2.0-2
make-3.80-4

Note You need to log in before you can comment on or make changes to this bug.