summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/valgrind
Commit message (Collapse)AuthorAgeFilesLines
* valgrind: remove arm tests that don't compileDave Lerner2015-05-231-51/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Yocto #7453] Corrects the original commit for the patch that removed ARM ptest CFLAGS settings. Since the flags could be set by a user, the flags should be kept in place during compilation. By keeping the original up-stream CFLAGS for the tests, then additional tests successfully compile for all tested ARM tunings. However, there were still two tests listed below that did not compile for any beaglebone tuning that is valid for valgrind. With the updated patch, the set of excluded ARM ptests and their respective build failures are: intdiv - fails for all beaglebone tunings with 2 errors: {standard input}:(40 or 41): Error: selected processor does not support Thumb mode `udiv r3,r9,r10' {standard input}:(72 or 73): Error: selected processor does not support Thumb mode `sdiv r3,r9,r10' vcvt_fixed_float_VFP - fails for all beaglebone tunings in one of two ways: with neon tuning (-mfpu=neon) fails with Internal Compiler Error without neon tuning fails with 3 errors: {standard input}:33: Error: selected FPU does not support instruction -- `vcvt.f32.s32 s15,s15,#1' {standard input}:58: Error: selected FPU does not support instruction -- `vcvt.f32.s32 s15,s15,#32' {standard input}:136: Error: selected FPU does not support instruction -- `vcvt.f32.u32 s15,s15,#1' After applying this commit, the valgrind ARM ptests compile without errors for tunings: armv7[t][hf][b][-neon] cortexa8[t][hf][-neon] where the tuning [option] was successfully compiled, both with and without the 'option', and in combination with all other options. Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* valgrind: add configure option to build only 32-bit or 64-bit componentsKrishnanjanappa, Jagadeesh2015-04-061-0/+3
| | | | | | | | | | | | | | | | | Building both 32-bit and 64-bit binaries in valgrind at a time would lead to following QA issue as below, (snip) ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/vgpreload_exp-sgcheck-x86-linux.so ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/getoff-x86-linux ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/vgpreload_core-x86-linux.so ERROR: QA Issue: Architecture did not match (62 to 3) on ${WORKDIR}/valgrind/3.10.1-r0/packages-split/valgrind-dbg/usr/lib64/valgrind/.debug/vgpreload_memcheck-x86-linux.so -- CUT -- hence perform only one type of build 32-bit or 64-bit, but not both. Signed-off-by: Krishnanjanappa, Jagadeesh <jagadeesh.krishnanjanappa@caviumnetworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: enable build for MIPSAndreas Oberritter2015-03-241-1/+1
| | | | | | | Since 3.8.0, valgrind supports MIPS32. MIPS64 was added in 3.9.0. Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: enable building on 4.x kernelMartin Jansa2015-03-202-0/+38
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* valgrind: add glibc-2.21 to glibc.patchMartin Jansa2015-02-172-3/+10
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: enable parallel build for several recipesRobert Yang2015-02-141-1/+0
| | | | | | | I used a for loop to build these packages more than 520 times, these recipes never failed. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* valgrind: depends on boost when ptestRobert Yang2015-02-071-1/+3
| | | | | | | | Fixed: drd/tests/boost_thread.cpp:5:38: fatal error: boost/thread/condition.hpp: No such file or directory #include <boost/thread/condition.hpp> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* valgrind: update to 3.10.1Kai Kang2014-12-111-3/+3
| | | | | | | | | | | Update valgrind from 3.10.0 to 3.10.1 which is a bug fix release. It fixes various bugs reported in 3.10.0 and backports fixes for all reported missing AArch64 ARMv8 instructions and syscalls from the trunk. Add dependency perl-module-file-glob for ptest subpackage. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* valgrind: Upgrade to 3.10.0Saul Wold2014-12-054-25/+52
| | | | | | | Rebase existing patches Add patch to fix rpath issue with ptest Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind: Enforce 30 seconds limit for each testTudor Florea2014-10-101-15/+53
| | | | | Signed-off-by: Tudor Florea <tudor.florea@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
* valgrind: backport enabling for glibc 2.20Ross Burton2014-09-103-24/+31
| | | | | | | | Now that we're running glibc 2.20 not 2.19, backport the configure.ac fixes from upstream. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Remove references to eglibcKhem Raj2014-09-011-1/+1
| | | | | | change use of eglibc related variabled to glibc equivalents Signed-off-by: Khem Raj <raj.khem@gmail.com>
* valgrind/oprofile/systemd: no bashism in run-ptestRobert Yang2014-08-281-1/+2
| | | | | | | | There is no bashism in the scripts, so use /bin/sh, and add /bin/sh interpreter for systemd's run-ptest. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Upstream-Status CleanupsSaul Wold2014-04-251-1/+1
| | | | | Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador2014-04-251-1/+1
| | | | | | | | | The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: integration of regression tests to ptestDave Lerner2014-02-206-1/+455
| | | | | | | | | | | | | | | | | | Modifies valgrind's regression test framework to be compatible with the yocto PTEST framework as follows: * existing recipe valgrind*bb adds new methods: do_compile_ptest and do_install_ptest. * new file run-ptest adds the wrapper interface to the valgrind regression test script vg_regtest. * existing valgrind regression test script 'vg_regtest' changes to report the status of the valgrind component tests in the format that PTEST expects, instead of the valgrind formats, but only when vg_regtest is invoked with an optional --yocto-ptest argument * four new patches disable building tests that don't compile with the yocto compiler and default options. See the patches for details. Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind: Add glibc 2.19 awarenessKhem Raj2014-02-182-0/+24
| | | | | | | | It wont compile otherwise and fail with errors e.g. Valgrind requires glibc version 2.2 - 2.17 ... Signed-off-by: Khem Raj <raj.khem@gmail.com>
* valgrind: rrecommend libc6-dbg on all architecturesMike Crowe2014-01-061-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It seems that valgrind requires debug symbols to be available on all architectures so there's no reason to treat arm and powerpc specially. Ensuring that libc6-dbg is installed avoids errors like this on x86: valgrind: Fatal error at startup: a function redirection valgrind: which is mandatory for this platform-tool combination valgrind: cannot be set up. Details of the redirection are: valgrind: valgrind: A must-be-redirected function valgrind: whose name matches the pattern: strlen valgrind: in an object with soname matching: ld-linux.so.2 valgrind: was not found whilst processing valgrind: symbols from the object with soname: ld-linux.so.2 valgrind: valgrind: Possible fixes: (1, short term): install glibc's debuginfo valgrind: package on this machine. (2, longer term): ask the packagers valgrind: for your Linux distribution to please in future ship a non- valgrind: stripped ld.so (or whatever the dynamic linker .so is called) valgrind: that exports the above-named function using the standard valgrind: calling conventions for this platform. The package you need valgrind: to install for fix (1) is called valgrind: valgrind: On Debian, Ubuntu: libc6-dbg valgrind: On SuSE, openSuSE, Fedora, RHEL: glibc-debuginfo valgrind: valgrind: Cannot continue -- exiting now. Sorry. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* Replace one-line DESCRIPTION with SUMMARYPaul Eggleton2014-01-021-1/+1
| | | | | | | | | | | A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* valgrind: upgrade to 3.9.0Cristiana Voicu2013-12-218-147/+17
| | | | | | | | | | | Changed patches directory to "valgrind"; Removed 4 patches because they were merged upstream; Updated 2 patches because now it has configure.ac instead of .in; Changed license md5 for 2 files because of a small change for copyright year Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Backport patch for eglibc 2.18Saul Wold2013-08-222-0/+28
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind: added perl dependencyFelipe F. Tonello2013-07-181-0/+2
| | | | | | | | | | This is necessary since the valgrind package depends on /usr/bin/perl. This patch will fix this error while installing into rootfs: Computing transaction...error: Can't install valgrind-3.8.1-r8@armv7a_vfp_neon: no package provides /usr/bin/perl Signed-off-by: Felipe F. Tonello <eu@felipetonello.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind: Fix out of tree buildsRichard Purdie2013-03-232-0/+236
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Fix case where ${B} != ${S}Richard Purdie2013-03-181-1/+1
| | | | | | Fix out of tree builds by referring to the build object in ${B}. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: update to 3.8.1Radu Moisan2013-01-289-133/+11
| | | | | | | | | Changed license copyright notice 2011->2012 remove unnecessary patches built for x86, 86-64, ppc Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind: explicitly disable MPI2 supportPaul Eggleton2013-01-251-2/+2
| | | | | | | | | | | We don't have support for this in OE-Core, so ensure we don't pick this up from the build host if e.g. openmpi development files happen to be installed there. Fixes [YOCTO #3726]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: update configure for eglibc 2.17Saul Wold2013-01-092-7/+15
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind_3.7.0.bb: fix missing leading space on _appendMatthew McClintock2012-09-141-2/+2
| | | | | Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind: fix debug info reading error when do memcheck on ppc targetsZhenhua Luo2012-09-122-1/+37
| | | | | | | | | | | | | | | | | | | | | | following is the error message: --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /lib/ld-2.13.so: --2263-- Can't make sense of .got section mapping --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /home/root/lzh: --2263-- Can't make sense of .data section mapping --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /usr/lib/valgrind/vgpreload_core-ppc32-linux.so: --2263-- Can't make sense of .data section mapping --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /usr/lib/valgrind/vgpreload_memcheck-ppc32-linux.so: --2263-- Can't make sense of .data section mapping --2263-- WARNING: Serious error when reading debug info --2263-- When reading debug info from /lib/libc-2.13.so: --2263-- Can't make sense of .data section mapping Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Fix build with eglibc 2.16Khem Raj2012-07-172-1/+35
| | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: fix default.supp missing issueZhenhua Luo2012-07-111-1/+5
| | | | | | | | When run valgrind, following error appears: ==2254== FATAL: can't open suppressions file "/usr/lib/valgrind/default.supp" Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Enable valgrind for armv7Samuel Stirtzel2012-05-241-0/+3
| | | | | | | | | | Valgrind supports the armv7 architecture, this patch allows armv7 users to build and use Valgrind This patch was run-tested on a Gumstix Overo (armv7a cortex-a8) * The test consisted of running valgrinds memcheck (memory leakage detection), * and callgrind (profiling) on a Qt 4 application Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com>
* valgrind: Support compilation without X11Mike Crowe2012-03-081-2/+4
| | | | | | | Only depend on X libraries if the distribution has X support. Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Fixed Added-support-for-PPC-instructions-mfatbu-mfatbl.patch ↵Saul Wold2012-02-101-0/+2
| | | | | | Upstream-Status Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind: Update for eglibc 2.15Saul Wold2012-01-172-5/+22
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* add mfatbu/mfatbl instructions support in ValgrindAneesh Bansal2012-01-172-1/+96
| | | | Upstream Status : Pending
* valgrind: add powerpc to the compatible host and add ${TCLIBC}-dbg in ↵Zhenhua Luo2012-01-061-2/+4
| | | | | | | | | | | RRECOMMENDS-powerpc 1. add powerpc/powerpc64 into the compatible host list 2. valgrind requires the non-stripped libraries of ${TCLIBC}, so add ${TCLIBC}-dbg into RRECOMMENDS for powerpc Signed-off-by: Zhenhua Luo <b19537@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Fix for automake updateRichard Purdie2012-01-042-1/+47
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: upgrade to 3.7.0Shane Wang2012-01-025-6/+30
| | | | | | | This patch is to upgrade valgrind to 3.7.0. The licenses are changed from "Copyright (C) 2000-2010 Julian Seward. All rights reserved." to "Copyright (C) 2000-2011 Julian Seward. All rights reserved." Signed-off-by: Shane Wang <shane.wang@intel.com>
* valgrind: supporting on Linux kernel 3.xLin Tong2011-08-152-1/+28
| | | | | | | | | | The old valgrind package do not support for Linux kernel 3.x, only for kernel 2.4 and 2.6. Now adding the configuration to the configure.in file to support Linux kernel 3.0. This commit fixes the problem in valgrind [YOCTO #1129] Signed-off-by: Lin Tong <tong.lin@intel.com>
* License Field Cleanup: Non-standard field namesBeth Flanagan2011-05-271-1/+1
| | | | | | | | | | | | I've cleaned up some odd license fields, fixed some license names and corrected some incorrect licenses. LICENSE really needs a pass through by the maintainers as some of the licensing is incorrect. Also, every license with Artistic should be gone through and noted as which version of Artistic. Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
* valgrind: upgrade to version 3.6.1Dongxiao Xu2011-04-283-2/+6
| | | | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* valgrind: Upgraded to version 3.6.0Dongxiao Xu2010-11-184-2/+1
| | | | | | | Remove valgrind_3.5.0-svn_r11264.patch.bz2 which replaces version 3.5.0 to r11264. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* valgrind: fix perl scriptsQing He2010-09-022-2/+54
| | | | | | | | | | | | | | svn version of valgrind uses #! @PERL@ for several perl scripts. However, PERL in autoconf doesn't distinguish host perl and target perl, causing STAGING_DIR_NATIVE be written in the output scripts. This causes unrunnable scripts, and fails FILERDEPENDS mechanism (thus also do_rootfs_rpm). Uses /usr/bin/perl instead to fix it. Signed-off-by: Qing He <qing.he@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-273-0/+54
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>