<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Sir,</p>
    <p>    Â Â Â  I want to add valgrind to my yocto i am using valgrind
      version (3.15.0-r0 ) i have attached the valgrind source and error
      log for your reference.</p>
    <p>This is the Build Configuration for which i am trying to build
      valgrind<br>
    </p>
    <p>Build Configuration:<br>
      BB_VERSION        = "1.22.0"<br>
      BUILD_SYS         = "x86_64-linux"<br>
      NATIVELSBSTRING   = "Ubuntu-14.04"<br>
      TARGET_SYS        = "arm-poky-linux-gnueabi"<br>
      MACHINE           = "iwg22m"<br>
      DISTRO            = "poky"<br>
      DISTRO_VERSION    = "1.6.1"<br>
      TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa7"<br>
      TARGET_FPU        = "vfp-neon"<br>
      meta              <br>
      meta-yocto        <br>
      meta-yocto-bsp    = "tmp:c4f1f0f491f988901bfd6965f7d10f60cb94a76f"<br>
      meta-renesas      <br>
      meta-rzg1         = "tmp:19bf1ed97d04009722bb88a780268822ee60ff83"<br>
      meta-oe           <br>
      meta-multimedia   = "tmp:dca466c074c9a35bc0133e7e0d65cca0731e2acf"<br>
      meta-linaro-toolchain =
      "tmp:8a0601723c06fdb75e62aa0f0cf15fc9d7d90167"<br>
      meta-networking   = "tmp:dca466c074c9a35bc0133e7e0d65cca0731e2acf"</p>
    <p>I am getting the following error can you suggest me what to do <br>
    </p>
    <p><i><b>arm-poky-linux-gnueabi-gcc: error: unrecognized argument in
          option '-march=armv7ve'</b></i><br>
      <i><b>arm-poky-linux-gnueabi-gcc: note: valid arguments to
          '-march=' are: armv2 armv2a armv3 armv3m armv4 armv4t armv5
          armv5e armv5t armv5te armv6 armv6-m armv6j armv6k armv6s-m
          armv6t2 armv6z armv6zk armv7 armv7-a armv7-m armv7-r armv7e-m
          armv8-a armv8-a+crc iwmmxt iwmmxt2 native</b></i><br>
      make[5]: *** [intdiv-intdiv.o] Error 1<br>
      make[5]: Leaving directory
`/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build/none/tests/arm'<br>
      make[4]: *** [check-am] Error 2<br>
      make[4]: Leaving directory
`/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build/none/tests/arm'<br>
      make[3]: *** [check-recursive] Error 1<br>
      make[3]: Leaving directory
`/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build/none/tests'<br>
      make[2]: *** [check-recursive] Error 1<br>
      make[2]: Leaving directory
`/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build/none'<br>
      make[1]: *** [check-recursive] Error 1<br>
      make[1]: Leaving directory
`/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build'<br>
      make: *** [check] Error 2<br>
      make: Leaving directory
`/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/build'<br>
      ERROR: oe_runmake failed<br>
      WARNING: exit code 1 from a shell command.<br>
      ERROR: Function failed: do_compile_ptest_base (log file is located
      at
/home/sarjoodeen/Project/2018/Nippon/YOCTO/iwG22M-release-bsp/build/tmp/work/cortexa7hf-vfp-neon-poky-linux-gnueabi/valgrind/3.15.0-r0/temp/log.do_compile_ptest_base.29480)</p>
    Thanks and Regards<br>
    Sheraz Ali Shah
  </body>
</html>