Failed to locate librrpage_32.so
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
When running CMake I receive the message:
"Your toolchain doesn't support 32-bit cross-compilation. Install the required packages or pass -Ddisable32bit=ON to cmake."
Since I am on a 64-bit system and am not intersted in running 32-bit applications, I pass the argument.
But when I try to run rr, I then get:
[FATAL src/AddressSpace.cc:315:map_rr_page() errno: ENOENT] Failed to locate librrpage_32.so
=== Start rr backtrace:
rr(_ZN2rr13dump_rr_stackEv+0x28)[0x459ba8]
rr(_ZN2rr15notifying_abortEv+0xe)[0x45c76e]
rr[0x44ddc2]
rr(_ZN2rr12AddressSpace11map_rr_pageERNS_18AutoRemoteSyscallsE+0x697)[0x5a1f17]
rr(_ZN2rr12AddressSpace17post_exec_syscallEPNS_4TaskE+0x75)[0x5a2105]
rr(_ZN2rr4Task17post_exec_syscallERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x2d)[0x484b4d]
rr[0x5114ad]
rr[0x4e9837]
rr(_ZN2rr19rec_process_syscallEPNS_10RecordTaskE+0x92)[0x5146e2]
rr(_ZN2rr13RecordSession21syscall_state_changedEPNS_10RecordTaskEPNS0_9StepStateE+0x862)[0x524e32]
rr(_ZN2rr13RecordSession11record_stepEv+0x5a3)[0x51f393]
rr(_ZN2rr13RecordCommand3runERSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EE+0xd6b)[0x522ceb]
rr(main+0x157)[0x4447c7]
/lib64/libc.so.6(__libc_start_main+0xf3)[0x7fd4312437b3]
rr(_start+0x2e)[0x44499e]
=== End rr backtrace
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/AddressSpace.cc at map_rr_page(), then trace how the CMake disable32bit option controls building or locating librrpage_32.so. Reproduce the failure with -Ddisable32bit=ON and verify that running rr no longer reports the missing library.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, cpp
- Domain
- build-system, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100