[Profiler] Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so
See original GitHub issueOn a M1 Pro Macbook in docker with mcr.microsoft.com/dotnet/aspnet:6.0.9-alpine3.16
as a base image.
If LD_PRELOAD=/opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so
is set, attempting to do anything with the container results in:
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 7
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 7
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 7
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 7
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 8
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 6
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 6
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 6
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 6
Error relocating /opt/datadog/continuousprofiler/Datadog.Linux.ApiWrapper.x64.so: unsupported relocation type 6
Runtime environment:
- Tracer version: 2.14.0 (musl)
- OS: Host MacOS 12.5.1 / Container alpine3.16 arm64
- Docker engine: 20.10.17
Workaround is to conditionally set LD_PRELOAD
.
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
YourKit Java Profiler and .NET Profiler Forums
I'm running a docker container based on gliderlabs/alpine:3.3, which then has a JVM app that I'd like to connect yourkit up to.
Read more >Need steps for alpine container profiling
Hi, I am trying to profile the dotnet core application deployed to aspnet:3.1-alpine3.13 image container with https://www.yourkit.com/dotnet/download .
Read more >Error relocating /usr/src/api/node_modules/sqlite3/lib ...
I managed to find the version that has the same source code but it works fine. So I try to solve the problem...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gleocadie Any progress on this? While this wasn’t a big deal 6 months ago, its becoming more urgent for us.
Hi @seanamos I see. I’ll do some testing, but I think we miss an artifact Alpine/ARM64 that would explain why it’s not working for you. I’ll get back to you.