[mpich-discuss] make fails with undefined reference VALGRIND_CHECK_MEM_IS_ADDRESSABLE

Anthony Chan chan at mcs.anl.gov
Tue May 18 11:45:54 CDT 2010


How about "valgrind --version" ?

----- "Wei-keng Liao" <wkliao at ece.northwestern.edu> wrote:

> I checked valgrind.h on my system, but do not know how to tell the  
> valgrind version. Let me know if you have an idea.
> 
> 
> Wei-keng
> 
> On May 18, 2010, at 10:51 AM, Dave Goodell wrote:
> 
> > What version of valgrind do you have installed?
> >
> > I suspect that your version of valgrind is older than anything that 
> 
> > we've tested with and is slipping between the gap of "is valgrind.h 
> 
> > available" and "does valgrind.h work".  I can strengthen the  
> > configure test if I have an idea of what version of valgrind you
> have.
> >
> > In the interim, the best workaround for you is probably to either  
> > remove "meminit" from your "--enable-g" arg, hack up the configure 
> 
> > tests for valgrind so that they always fail, or delete lines 25-35 
> 
> > of "src/include/mpiu_valgrind.h".
> >
> > -Dave
> >
> > On May 18, 2010, at 10:38 AM, Wei-keng Liao wrote:
> >
> >>
> >> When running make of mpich2-1.2.1p1, I got an error complaining  
> >> undefined reference to VALGRIND_CHECK_MEM_IS_ADDRESSABLE. Please  
> >> see the attached standard outputs from configure and make.
> >> The configure command and environment variables used are also given
>  
> >> in out.configure file.
> >>
> >> I am using GNU compilers, gcc and gfortran, to build MPICH2.
> >>
> >> gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)
> >>
> >> % rpm -q glibc
> >> glibc-2.3.6-3
> >>
> >> % uname -a
> >> Linux 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686
>  
> >> athlon i386 GNU/Linux
> >>
> >>
> >> Wei-keng
> >>
> >> <out.configure><out.make>
> >>
> >>
> >> _______________________________________________
> >> mpich-discuss mailing list
> >> mpich-discuss at mcs.anl.gov
> >> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> > _______________________________________________
> > mpich-discuss mailing list
> > mpich-discuss at mcs.anl.gov
> > https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
> >
> 
> _______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list