Commit Graph

84 Commits

Author SHA1 Message Date
Alyssa Ross
0e3823412b pkgsCross.x86_64-freebsd.valgrind-light: fix build
Valgrind got a bit stricter about the format of uname -r output.

Fixes: cbc990308c ("valgrind: 3.20.0 -> 3.21.0")
2023-10-31 08:50:18 +01:00
Alyssa Ross
70068d171e pkgsStatic.valgrind: mark unsupported
This being marked broken predated it being possible to mark packages
as being unsupported when built statically.  It's more accurate to say
that static valgrind is unsupported than broken.
2023-10-01 17:24:53 -03:00
Sergei Trofimovich
cbc990308c valgrind: 3.20.0 -> 3.21.0
Changes: https://valgrind.org/docs/manual/dist.news.html
2023-05-01 12:06:54 +01:00
Alyssa Ross
900d7d6d40 valgrind-light: fix build for ELFv2 PowerPC BE
Void has an up to date version of the patch from the bug report.
Might also fix valgrind (non-light) — I didn't test.
2023-01-29 22:20:58 +00:00
Alyssa Ross
65cdb52a66 valgrind-light: fix build for FreeBSD
This is very similar to what we do for Darwin directly below, but
we look up the FreeBSD version at eval time instead.

The .0 is prepended because our current FreeBSD system doubles only
include the major version.  Valgrind ignores everything after the
dot anyway (but it wants the dot to be there).
2023-01-20 01:06:05 +00:00
Alyssa Ross
9c04fcb25f
valgrind: make meta.platforms more accurate
Valgrind has to do lots of architecture- and OS-specific stuff, so it
only works on a defined set of platforms.  So rather than marking
platforms as bad one by one, let's set meta.platforms to the actual
set of platforms supported by Valgrind, as listed in its configure
script.
2023-01-19 17:43:52 +00:00
R. Ryantm
4a0d1650c9 valgrind: 3.19.0 -> 3.20.0 2022-10-26 04:23:24 +00:00
misuzu
df640d47ad valgrind: fix build error for armv7l
https://bugs.kde.org/show_bug.cgi?id=454346
2022-06-06 13:12:28 +03:00
Ivan Nikolaenko
aac2235e79 valgrind: fix build error for aarch64+Musl
Musl does not have __THROW macro from glibc

Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2022-05-20 21:05:53 +00:00
Sergei Trofimovich
cdbda2a8c2 valgrind: 3.18.1 -> 3.19.0
Added trivial update script.
Dropped upstreamed rawmemchr patch.

changelog: https://valgrind.org/docs/manual/dist.news.html
2022-04-29 08:33:45 +01:00
Alyssa Ross
ae3ffded45 pkgsMusl.valgrind-light: fix build
We need to add autoreconfHook because the patch modifies configure.ac.
2021-11-21 13:50:48 +00:00
github-actions[bot]
9a30ed0017
Merge master into staging-next 2021-11-12 06:01:24 +00:00
Alyssa Ross
407e981f7c
pkgsStatic.valgrind: mark broken
Static-only Valgrind builds aren't supported, because it always tries
to build shared preload libraries.  Marking it broken like this will
fix packages like pkgsStatic.libdrm that only use Valgrind if it's
available.
2021-11-11 14:23:47 +00:00
Yureka
faca78ac38 valgrind: 3.17.0 -> 3.18.1 2021-10-16 10:29:40 +02:00
Bruce Toll
098c63da60 valgrind: 3.16.1 -> 3.17.0
Version 3.17.0 contains support for sched_getattr and sched_setattr.
This fixes an issue where the following messages can be logged:

    WARNING: unhandled amd64-linux syscall 315

See: https://bugs.kde.org/show_bug.cgi?id=369029

In addition to the version bump, this commit enables doCheck (as the
tests now pass) and provides a separate pname and version.

The upstream 3.17.0 also reorganized the output, placing the
default.supp file in libexec rather than lib. The postInstall hook was
adjusted accordingly.

A patch file which has not been used since upgrade to 3.15.0 in 2019
was also removed.
2021-08-15 15:13:40 -04:00
Felix Buehler
6f04cd0e69 application/development: /s/name/pname&version/ 2021-06-30 09:55:22 +02:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
zowoq
76d8e2fb30 valgrind: disable on darwin 2020-10-24 00:10:08 +10:00
Vladimír Čunát
e5b91d92a0
valgrind: try fixing on darwin 2020-08-05 19:04:13 +02:00
R. RyanTM
50a5c1853d valgrind: 3.15.0 -> 3.16.1 2020-07-31 08:55:57 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Samuel Dionne-Riel
021322883b valgrind: Add perl as a native build input
The changes in #67548 broke cross-compilation not for valgrind, but for
software relying on valgrind at build-time.
2019-11-17 22:34:20 -05:00
uHOOCCOOHu
d22b4859a1 valgrind: move perl to buildInputs
Perl is needed for `callgrind_{annotate,control}'.
2019-09-23 19:35:48 -04:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Frederik Rietdijk
0196d8f11c Merge master into staging-next 2019-05-07 09:00:06 +02:00
Matthew Bauer
4a9188a0b7 valgrind: mark broken platforms
taken from http://valgrind.org/info/platforms.html
2019-05-02 21:28:10 -04:00
Will Dietz
959b199991 valgrind: 3.14.0 -> 3.15.0
https://sourceforge.net/p/valgrind/mailman/message/36642596/
2019-04-27 07:08:23 +02:00
Matthew Bauer
8cabf4d5c5 treewide: rename llvm-dsymutil to dsymutil
This is a change introduced between llvm 5 and llvm 7.
2019-04-26 21:54:50 -04:00
Jörg Thalheim
1b146a8c6f
treewide: remove paxutils from stdenv
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277

This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Jörg Thalheim
ba5cba0b0d
Merge pull request #51893 from Mic92/cross-fixes-2
treewide: cross-fixes (memcached, opendkim, gdb, tcl, xorg*)
2018-12-16 01:28:16 +00:00
Tor Hedin Brønner
a6d4a0c53c valgrind: fix build on darwin
We fixed a race condition in #51505 and #51107. This required running
autoreconfHook to pick up the `coregrind-makefile-race.patch` patch.

Unfortunately this broke darwin's postPatch fixes as autoreconfHook would run
afterwards regenerating the fixed makefiles.

Moving the postPatch fixes to preConfigure should resolve the issue.

I left `postPatch = ""` in to avoid a rebuild on linux.
2018-12-14 18:17:44 +01:00
Jörg Thalheim
c6d83f297d
valgrind: fix cross-build 2018-12-12 08:02:13 +00:00
Tor Hedin Brønner
d539b09768 valgrind: run autoconf to pick up Makefile.am patch
https://github.com/NixOS/nixpkgs/pull/51107 added a patch to Makefile.am to fix
a race condition in the build. It was unfortunately never picked up as we we're
using the generated makefile from the tarball.
2018-12-04 13:17:49 +01:00
Sarah Brofeldt
a067e883b1 valgrind: Apply upstream patch for Makefile race in coregrind 2018-11-27 12:45:59 +01:00
Will Dietz
4de5354c7c valgrind: 3.13.0 -> 3.14.0 (#48173) 2018-10-19 11:39:54 +02:00
Ben Wolsieffer
da18634eff valgrind: enable debug info (#47251)
At least on ARM, valgrind produces no stack trace unless debug info is
available for its own libraries.
2018-09-24 22:57:38 +02:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Jan Malakhovski
7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Josef Kemetmueller
c71fd76822 valgrind: Fix darwin build
The bzero-patch was merged upstream in
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16103, so it does no
longer apply.

Additionally - to make the build succeed on darwin systems more recent
than our nixpkgs.darwin.xnu kernel version - we need to teach the build
the version of the xnu headers we provide, instead of letting the build
figure out the actual system version using `uname -r`.
2017-09-15 14:55:38 +02:00
WilliButz
267efdc475 valgrind: 3.12.0 -> 3.13.0
fetching from sourceware, as linked on http://valgrind.org/downloads/
2017-08-21 23:41:00 +02:00
Periklis Tsirakidis
7c980f5e9c valgrind: enable darwin build 2017-03-11 20:29:52 +01:00
Tuomas Tynkkynen
b7aebdbf70 valgrind: 3.11.0 -> 3.12.0
Also use more multiple outputs and perl shouldn't be a
nativeBuildInput.
2016-10-25 17:22:00 +03:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
f39da3be76 valgrind: turn off stackprotector 2016-02-09 01:20:59 +00:00
Eelco Dolstra
5b52b3589c valgrind: Update to 3.11.0 2015-09-28 15:52:31 +02:00
Eelco Dolstra
4e41b64511 valgrind: Separate doc output 2015-08-27 19:07:44 +02:00
Cray Elliott
e73921aee1 valgrind: patch build system to allow linux kernels of v4.x 2015-04-21 20:40:15 -07:00
Vladimír Čunát
4dd253c306 valgrind: fix build with glibc-2.21 by Arch patch 2015-03-03 11:36:43 +01:00
Eelco Dolstra
fcd4aa44d5 valgrind: Update to 3.10.1 2014-12-12 15:08:25 +01:00