Commit Graph

58 Commits

Author SHA1 Message Date
Yuxuan Shui
3009f18828 rr: only enable 32-bit support on x86_64
i686 libraries cannot be built on ARM systems, but are required to
enable 32-bit support.

Supersedes #531138
2026-06-13 11:31:35 +01:00
Yuxuan Shui
fbb4ad46da rr: enable 32bit support 2026-02-04 14:04:35 +00:00
Maximilian Bosch
f9cc409c45 rr: fix build w/ glibc-2.42
Failing Hydra build: https://hydra.nixos.org/build/308527220
2026-01-03 20:39:44 +01:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Jade Lovelace
82b74f4d70 rr: 5.8.0 -> 5.9.0 2025-04-03 19:32:38 -05:00
Peder Bergebakken Sundt
29ab705c17 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
repeat of #271241
discussion: #272978

I did not replace the instance in eiwd, since it causes an infinite recursion.
2024-07-30 18:32:01 +02:00
Nikolay Korotkiy
b9206183dc rr: cleanup 2024-07-22 03:20:03 +04:00
Nikolay Korotkiy
0702502d74 rr: fix cross-compilation 2024-07-22 03:08:18 +04:00
Sigmanificient
203a48ad35 pkgs/development: remove unused fetchpatch arguments 2024-05-24 02:53:57 +02:00
R. Ryantm
793c46c470 rr: 5.7.0 -> 5.8.0 2024-05-20 15:00:18 +00:00
Sid Kshatriya
dda6f61fd9 rr: remove redundant line in buildInputs from rr's derivation 2023-11-16 21:21:13 +05:30
Felix Bühler
245bad83a7 Merge pull request #263829 from charmoniumQ/update-rr
rr: 5.6.0 -> 5.7.0
2023-10-29 12:23:16 +01:00
Samuel Grayson
073fd77f8f rr: 5.6.0 -> 5.7.0 2023-10-27 13:15:53 -05:00
Kira Bruneau
e8e53c5c8c rr: encode gdb dep with wrapProgram instead of propagatedBuildInputs
Except in special wrapper environments like `python3.withPackages`,
where all "build" dependencies are also runtime dependencies,
`propagatedBuildInputs` doesn't actually encode runtime dependencies.

It's meant to propagate build dependencies to dependants, so the
dependants don't have to explicitly add them to their `buildInputs`.

With `wrapProgram`, you can now run rr without having gdb
installed (eg. `nix run nixpkgs#rr replay`).
2023-04-26 12:44:34 -04:00
Dominik Honnef
a4fc60cdef rr: don't overwrite all of its C and CXX flags
These CMake flags have been present ever since the package was added in
2014. There is no documentation on why these flags should be necessary.
During local testing, rr built just fine without them.

In fact, I stumbled upon this when rr from nixpkgs failed to record
applications that use OpenGL, such as glxinfo or glxgears, whereas a
manually built rr worked just fine. I tracked it down to these flags.

I wasn't able to determine the relevant differences between the two
builds of rr.
2023-02-24 04:00:08 +01:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Vladimír Čunát
6930b5bda8 lyx, rr, linuxPackgaes.systemtap: fixup build with gcc12 2023-02-01 16:53:31 +01:00
Vladimír Čunát
9cf461a645 rr: fix build with new linuxHeaders
/cc PR #194199 which updated linuxHeaders
2022-10-20 18:07:15 +02:00
Charlie Groves
b92bdaf21c rr: enable on aarch64-linux and disable on non-linux
According to https://github.com/rr-debugger/rr#system-requirements, rr only
works on Linux and works on aarch64 as of 5.6
2022-09-24 12:33:36 -04:00
Vladimír Čunát
2ea1a7a7c9 rr: 5.5.0 -> 5.6.0
https://github.com/rr-debugger/rr/releases/tag/5.6.0

This fixes the build, probably after linuxHeaders update.  Probably via
https://github.com/rr-debugger/rr/commit/20e0c1531ea99eed85e0041ccfb638
but the release announcement seemed quite "safe" so I chose update.
2022-08-08 16:57:18 +02:00
Mauricio Collares
ad97a48855 rr: disable LTO and build with current stdenv 2022-04-24 11:36:35 +02:00
R. Ryantm
16fe79eaf6 rr: 5.4.0 -> 5.5.0 2021-10-29 02:19:10 +00:00
Ivan Jager
b60b4023d7 rr: Build with gcc9
To work around linking errors with gcc10

    src/AddressSpace.cc:1632: undefined reference to `rr_syscall_addr'

Fixes #110756
2021-01-26 06:21:19 -06:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Ben Siraphob
b04fc593e7 treewide: cmake buildInputs to nativeBuildInputs, minor cleanups 2021-01-01 11:52:33 +07:00
R. RyanTM
67a986a44a rr: 5.3.0 -> 5.4.0 2020-11-12 00:52:25 +00:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Maximilian Bosch
8045baf09d rr: 5.2.0 -> 5.3.0, fix build w/glibc-2.30 2020-01-23 00:21:21 +01:00
Langston Barrett
e1456b291c rr: include gdb as a propagated input 2019-11-30 18:59:47 -05:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Renaud
17c96ab275 rr: build according to C++14 standard
Avoid breaking the build with capnproto >= 0.7.0
2018-10-21 16:18:36 +02:00
Will Dietz
541d30a3a9 rr: enable on 32bit x86
Lack of 32bit support led to the creation
of an overlay to add it back again,
but since it at least builds and seems to work
don't see why we'd disallow it here :).
2018-07-30 07:27:25 -05:00
Ryan Mulligan
fce8f26af6 treewide: http -> https (#42665) 2018-06-27 22:12:57 +02:00
R. RyanTM
d985d9d2d5 rr: 5.1.0 -> 5.2.0
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/rr/versions.

These checks were done:

- built on NixOS
- /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/signal-rr-recording.sh passed the binary check.
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_64 had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_64_replay had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_32 had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_page_32_replay had a zero exit code or showed the expected version
- /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr passed the binary check.
- Warning: no invocation of /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0/bin/rr_exec_stub had a zero exit code or showed the expected version
- 2 of 7 passed binary check by having a zero exit code.
- 1 of 7 passed binary check by having the new version present in output.
- found 5.2.0 with grep in /nix/store/yavka83b6xy0fd22d63gvs5jhzq2yl4f-rr-5.2.0
- directory tree listing: https://gist.github.com/74edbd75eb39af483431d15e9b4c34a8
- du listing: https://gist.github.com/a6983da3782900061246fd222ecc50f9
2018-05-30 10:51:48 +00:00
Austin Seipp
6aeee3790b nixpkgs: rr 5.0.0 -> 5.1.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-31 02:13:21 -06:00
Joerg Thalheim
14df60d0db rr: limit platforms to x86_64
related to #32326
2017-12-07 10:22:42 +00:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
Will Dietz
b95dc6f7d6 rr: 4.5.0 -> 5.0.0 2017-09-07 12:05:09 -05:00
Aristid Breitkreuz
00517f1779 rr: 4.4.0 -> 4.5.0 2017-02-05 22:00:42 +01:00
Aneesh Agrawal
80ea1c0631 rr: 4.3.0 -> 4.4.0 2017-01-13 00:44:30 -05:00
Aneesh Agrawal
bb349421c1 rr: pin Python to Python 2
rr requires Python>=2.7, but does not support Python 3.
2016-09-24 15:05:42 +02:00
Robin Gloster
f222d98746 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-25 12:47:13 +00:00
Ivan Sorokin
844a029bab rr: 4.2.0 -> 4.3.0 2016-07-23 13:07:24 +03:00
Robin Gloster
5185bc1773 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-07-15 14:41:01 +00:00
Vladimír Čunát
d133a168f0 rr: improve the parent commit 2016-06-13 10:15:48 +02:00
Vladimír Čunát
e9c612cdfe rr: fix build after gcc-5.4 bump
Discussion: https://github.com/NixOS/nixpkgs/commit/772c92ba5c60a
2016-06-13 10:12:18 +02:00
Franz Pletz
f8d481754c Merge remote-tracking branch 'origin/master' into hardened-stdenv 2016-05-18 17:10:02 +02:00
Moritz Ulrich
29644950d4 rr: Only build native architecture.
rr wants to build itself with 32+64bit support on 64bit systems, but
this fails in recent NixOS versions as it can't find libstdc++.so.6 at
runtime.

This patch disables 32bit builds on 64bit. To debug 32bit binaries,
pkgsi686Linux.rr can be used.
2016-05-18 12:56:48 +02:00
Robin Gloster
4ee2b2ab7b rr: set Wno-error and turn off fortify hardening 2016-04-03 12:37:35 +00:00