Package Details: rr 5.9.0-2

Git Clone URL: https://aur.archlinux.org/rr.git (read-only, click to copy)
Package Base: rr
Description: Record and Replay framework: lightweight recording and deterministic debugging
Upstream URL: http://rr-project.org/
Licenses: custom
Submitter: dequis
Maintainer: codyps (zrhoffman, SandaruKasa, DarkShadow44, giordano, cebtenzzre, Manouchehri, pspacek, acatton)
Last Packager: DarkShadow44
Votes: 78
Popularity: 1.40
First Submitted: 2015-08-24 23:26 (UTC)
Last Updated: 2025-09-22 13:32 (UTC)

Dependencies (13)

Required by (0)

Sources (2)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

acatton commented on 2025-09-30 23:14 (UTC)

No worries @DarkShadow44, thanks for doing this :) .

DarkShadow44 commented on 2025-09-22 13:33 (UTC)

@acatton Thanks for bringing this to my attention, I took the liberty of pushing an update with that patch,

acatton commented on 2025-09-21 23:26 (UTC)

This seems to be broken with the latest arch (which has the latest glibc)

/usr/sbin/c++ -DEXECINFO_BACKTRACE -DFANOTIFY_H=1 -DMQUEUE_H=1 -DPROC_SERVICE_H=1 -DRR_VERSION=\"5.9.0\" -DZSTD=1 -Drr_EXPORTS -I/home/jimgordon/rr/src/rr-5.9.0/include -I/home/jimgordon/rr/src/rr-5.9.0/third-party/proc-service -I/home/jimgordon/rr/src/rr-5.9.0/third-party/brotli/include -I/home/jimgordon/rr/src/build -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/home/jimgordon/rr/src=/usr/src/debug/rr -flto=auto -D__USE_LARGEFILE64 -pthread -msse2 -D__MMX__ -D__SSE__ -D__SSE2__ -fmacro-prefix-map=/home/jimgordon/rr/src/rr-5.9.0/= -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -std=c++17  -I/usr/include -pthread -I/usr/include -I/usr/include -std=gnu++17 -Wall -Wextra -UDEBUG -DNDEBUG -MD -MT CMakeFiles/rr.dir/src/kernel_abi.cc.o -MF CMakeFiles/rr.dir/src/kernel_abi.cc.o.d -o CMakeFiles/rr.dir/src/kernel_abi.cc.o -c /home/jimgordon/rr/src/rr-5.9.0/src/kernel_abi.cc
/home/jimgordon/rr/src/rr-5.9.0/src/kernel_abi.h:751:18: error: ‘::termio’ has not been declared; did you mean ‘termios’? [-Wtemplate-body]
  751 |   RR_VERIFY_TYPE(termio);
      |                  ^~~~~~
/home/jimgordon/rr/src/rr-5.9.0/src/kernel_abi.cc:70:33: note: in definition of macro ‘RR_VERIFY_TYPE_ARCH’
   70 |   static_assert(Verifier<arch_, system_type_, rr_type_>::same_size,            \
      |                                 ^~~~~~~~~~~~
/home/jimgordon/rr/src/rr-5.9.0/src/kernel_abi.cc:78:31: note: in expansion of macro ‘RR_VERIFY_TYPE_EXPLICIT’
   78 | #define RR_VERIFY_TYPE(type_) RR_VERIFY_TYPE_EXPLICIT(::type_, type_)
      |                               ^~~~~~~~~~~~~~~~~~~~~~~
/home/jimgordon/rr/src/rr-5.9.0/src/kernel_abi.h:751:3: note: in expansion of macro ‘RR_VERIFY_TYPE’
  751 |   RR_VERIFY_TYPE(termio);
      |   ^~~~~~~~~~~~~~
/home/jimgordon/rr/src/rr-5.9.0/src/kernel_abi.cc:70:55: error: template argument 2 is invalid [-Wtemplate-body]
   70 |   static_assert(Verifier<arch_, system_type_, rr_type_>::same_size,            \
      |                                                       ^
/home/jimgordon/rr/src/rr-5.9.0/src/kernel_abi.cc:75:3: note: in expansion of macro ‘RR_VERIFY_TYPE_ARCH’
   75 |   RR_VERIFY_TYPE_ARCH(arch_, system_type_, rr_type_)
      |   ^~~~~~~~~~~~~~~~~~~
/home/jimgordon/rr/src/rr-5.9.0/src/kernel_abi.cc:78:31: note: in expansion of macro ‘RR_VERIFY_TYPE_EXPLICIT’
   78 | #define RR_VERIFY_TYPE(type_) RR_VERIFY_TYPE_EXPLICIT(::type_, type_)
      |                               ^~~~~~~~~~~~~~~~~~~~~~~
/home/jimgordon/rr/src/rr-5.9.0/src/kernel_abi.h:751:3: note: in expansion of macro ‘RR_VERIFY_TYPE’
  751 |   RR_VERIFY_TYPE(termio);
      |   ^~~~~~~~~~~~~~
[31/39] Building CXX object CMakeFiles/rr.dir/src/record_syscall.cc.o
ninja: build stopped: subcommand failed.

It looks like this has been reported and fixed upstream.

Should we apply the patch until upstream crafts a new release?

maltejur commented on 2025-02-26 14:51 (UTC)

rr-zen-workaround-dkms-git could be listed as an optional dependency for AMD ZEN CPUs.

pspacek commented on 2025-01-10 17:03 (UTC)

@SandaruKasa Apologies, you are absolutely right :facepalm:

sobeston commented on 2025-01-09 19:38 (UTC) (edited on 2025-01-09 19:38 (UTC) by sobeston)

arch updated some libraries, this package is lagging behind with capnproto.

We're now on: - libcapnp.so.1.1.0 - libkj.so.1.1.0

rr doesn't launch without 1.0.2

I'm temporarily doing this:

sudo ln -s /usr/lib/libcapnp.so.1.1.0 /usr/lib/libcapnp.so.1.0.2

sudo ln -s /usr/lib/libkj.so.1.1.0 /usr/lib/libkj.so.1.0.2

SandaruKasa commented on 2025-01-09 17:19 (UTC)

@delusional @pspacek, this page is for rr. You are trying to build and having issues with rr-git. That is a different package.

https://aur.archlinux.org/packages/rr-git

Looks like the problem has already been reported there. I am not a maintainer for that package, unfortunately, so I cannot help you.

pspacek commented on 2025-01-09 15:54 (UTC)

@DarkShadow44 I confirm build currently fails. PKGBUILD needs to be edited to contain -DCMAKE_CXX_STANDARD=17 to make the build work.

Build error:

PerfCounterBuffers.h:66:8: error: ‘optional’ in namespace ‘std’ does not name a template type
   66 |   std::optional<Packet> next_packet();
      |        ^~~~~~~~
/home/pspacek/.cache/pikaur/build/rr-git/src/rr/src/PerfCounterBuffers.h:66:3: note: ‘std::optional’ is only available from C++17 onwards
   66 |   std::optional<Packet> next_packet();
      |   ^~~

DarkShadow44 commented on 2024-12-14 15:03 (UTC)

@delusional: Builds fine for me, what exactly are you doing?

delusional commented on 2024-12-14 11:40 (UTC)

Since upstream has started using C++17 features (std::optional), this is broken. To build you have to edit the CMAKE_CXX_STANDARD to 17.