valgrind doesn't accept newest version of glibc

前端 未结 5 499
孤城傲影
孤城傲影 2021-02-05 05:50

Valgrind doesn\'t like glibc 2.15:

checking the GLIBC_VERSION version... unsupported version 2.15
configure: error: Valgrind requires glibc version 2.2 - 2.14
         


        
5条回答
  •  耶瑟儿~
    2021-02-05 06:33

    Update for valgrind 3.9.0 and glibc 2.19:

    I was having the same issue, and adding this to the configure script, before the line with darwin), fixed it:

         2.19)
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.19 family" >&5
    $as_echo "2.19 family" >&6; }
    
    $as_echo "#define GLIBC_2_19 1" >>confdefs.h
    
        DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}"
        DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}"
        DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}"
        ;;
    

    Tested on KUbuntu 14.04

提交回复
热议问题