Comments (6)
I have no idea about this.
from rr.
Ok thanks. I documented the problem in detail in the comments section at:
https://maskray.me/blog/2020-11-26-all-about-symbol-versioning
it seems corrected under gcc 11.x and higher
from rr.
-with just the version script, functionality is achieved, but I'm hoping there is way to avoid gcc version work-arounds
What do you mean "with just the version script"?
from rr.
cat > a.map <<e
GLIBC_2.2.5 { dlsym; };
e
gcc cmd line ... -Wl,--version-script=a.map -o a.so
from rr.
So that works with all versions of gcc? Any reason to not use that all the time?
from rr.
with gcc 4.x thru 10.x and only the version script, objdump on the resulting lib shows:
0000000000000000 g DO ABS 0000000000000000 GLIBC_2.2.5 GLIBC_2.2.5
which looks odd to me. With 11.x, the .symver is required, and objdump shows:
0000000000000000 DF UND 0000000000000000 GLIBC_2.2.5 dlsym
which looks correct to me. I haven't tried 12.x yet, planning to do that
from rr.
Related Issues (20)
- Assertion `nwritten == buf_size' failed to hold (Again) HOT 19
- Remove `find_newborn_thread/process` hacks
- CLion integration: To open a remote debug connection, you need to specify what serial device is attached to the remote system HOT 1
- CLion integration: Invalid option --interpreter=mi2 HOT 6
- bpf_program__next is no more supported
- Separate recordings for child processes only? HOT 4
- Chromium network service crashes when using headless=new with rr HOT 4
- Recording terminated abnormally and the trace is incomplete HOT 5
- netfilter failures: Address family not supported by protocol
- failing tests erroring because of missing lldb HOT 3
- vdso relocation leads app crash (x86 also arm) HOT 1
- madvise syscall changed in our back breaking firefox sandbox when running under rr HOT 6
- Unknown ioctl 0x80044801 while trying to record impacto
- Maybe it would be better to check for cpu features (on aarch64) rather than hardcoding list of "known to work" cpus? HOT 4
- risc-v support HOT 8
- Will rr work on my system? HOT 3
- Unknown bpf syscall `cmd=36` (BPF_TOKEN_CREATE)
- CPUID faulting required to disable CPUID features HOT 5
- Use rr for Java programs HOT 2
- rr build error with clang 18.1.3: "FdTable.cc:230:17: error: variable length arrays in C++ are a Clang extension [-Werror,-Wvla-cxx-extension]"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rr.