|
From: Richard R. <ri...@pa...> - 2003-05-15 02:50:20
|
Although I can compile Valgrind on RH7.3 and RH8.0, on
Red Hat 9 I am getting the following error (both with
the Red Hat supplied gcc 3.2.2 and the gcc 3.2.3 that
I built):
valgrind-1.9.6]$ ./configure
--prefix=/usr/local/valgrind --with-x
...
Using the following suppressions by default:
glibc-2.2.supp xfree-4.supp xfree-3.supp
...
make
...
make[3]: Entering directory
`/dev/shm/valgrind-1.9.6/coregrind'
source='vg_clientfuncs.c' object='vg_clientfuncs.o'
libtool=no \
depfile='.deps/vg_clientfuncs.Po'
tmpdepfile='.deps/vg_clientfuncs.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
/usr/local/gcc/bin/gcc -DHAVE_CONFIG_H -I. -I. -I..
-I./demangle -I../include -DVG_LIBDIR="\"/us
r/local/valgrind/lib"\" -Winline -Wall -Wshadow -O
-fomit-frame-pointer -mpreferred-stack-boundary=2
-g -fno-omit-frame-pointer -c `test -f
'vg_clientfuncs.c' || echo './'`vg_clientfuncs.c
make: expand.c:489: allocated_variable_append:
Assertion `current_variable_set_list->next != 0' fail
ed.
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/dev/shm/valgrind-1.9.6/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/dev/shm/valgrind-1.9.6'
make: *** [all] Error 2
Any ideas on how to fix this Assertion failure?
Richard
|
|
From: Dan K. <da...@ke...> - 2003-05-15 04:20:25
|
Richard Ruth wrote: > Although I can compile Valgrind on RH7.3 and RH8.0, on > Red Hat 9 I am getting the following error (both with > the Red Hat supplied gcc 3.2.2 and the gcc 3.2.3 that > I built): > ... > make: expand.c:489: allocated_variable_append: > Assertion `current_variable_set_list->next != 0' fail > ed. > Any ideas on how to fix this Assertion failure? google says: http://mail.gnu.org/archive/html/bug-make/2002-02/msg00056.html Sure enough, rh9 uses the version of make that report talks about. And, bonus deal, it's in their bug tracking system; one of the hits there even has an easy workaround for you. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=89206 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88846 > ------- Additional Comment #1 From Miloslav Trmac on 2003-04-15 08:42 ------- > > Workaround when building valgrind: > instead of just > make > doing > env - PATH="$PATH" make > caused this failure to go away. I haven't been able to find out which > environment variable was the culprit though. > ------- Additional Comment #2 From Enrico Scholz on 2003-04-15 09:29 ------- > > CPATH is guilty... Hope that helps. - Dan -- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045 |