Derek Bruening
Derek Bruening
Unfortunately, this is a general problem caused by glibc versioned symbols. Since we're not likely to roll our own startup code I think there are only two options: 1. Try...
Note that this is not specific to DynamoRIO or drrun in any way: anyone building any software using glibc will have this problem and for `__libc_start_main` the symver route is...
It is looking like the best solution may be to switch to a different libc such as musl. We may want to consider doing the same for client tools to...
Xref https://groups.google.com/g/dynamorio-users/c/qwzjnfXwcPA/m/ikYgE3SEAgAJ?utm_medium=email&utm_source=footer where this is printed as: ``` CMake Error at /home/jenkins/DR/dynamorio/core/CMake_readelf.cmake:165 (message): *** Error: /home/jenkins/DR/release/build_debug-64/bin64/drconfig has too-recent import(s): GLOBAL DEFAULT UND _[...]@GLIBC_2.34 ``` And `-wide` is needed on the...
This passed on a re-run. It passes every time on the non-sve machine (don't have simple direct access to the sve machine).
Actually I can reproduce this on my wkst on off.invar so I will try to figure it out.
``` 52953 42999: 1958180 ifetch 6 byte(s) @ 0x00007fe4a353703d 48 3d 00 f0 ff ff cmp %rax, $0xfffff000 52954 43000: 1958180 ifetch 2 byte(s) @ 0x00007fe4a3537043 77 33 jnbe $0x00007fe4a3537078...
I reproduced in raw2trace_unit_tests: requires a chunk splitting a branch;ind-branch pair: ``` [drmemtrace]: Creating new chunk #2 for thread 1 [drmemtrace]: Chunk #3 ord marker 20 [drmemtrace]: Adding post-chunk-boundary encoding...
This still happens in drcachesim.opcode_mix: https://github.com/DynamoRIO/dynamorio/actions/runs/6489025607/job/17622554375?pr=6357 ``` 307: Hello, world! 307: Encoding size 2 != instr size 6 307: drcachesim: /home/runner/work/dynamorio/dynamorio/clients/drcachesim/reader/reader.cpp:203: virtual bool dynamorio::drmemtrace::reader_t::process_input_entry(): Assertion `false' failed. ```
Happened again: https://github.com/DynamoRIO/dynamorio/actions/runs/8516627602/job/23325947839?pr=6749 ``` 309: Hello, world! 309: Encoding size 2 != instr size 6 for PC 0xf7b2157c at ord 253874 instr 176794 last_timestamp=0x4c653edf 309: drcachesim: /home/runner/work/dynamorio/dynamorio/clients/drcachesim/reader/reader.cpp:213: virtual bool dynamorio::drmemtrace::reader_t::process_input_entry():...