Comments (9)
This doesn't happen with Ubuntu's libgomp.so.1 so there's something about your library version that patchelf can't handle properly.
Here's the output of readelf -e libgomp.so.1
: https://gist.github.com/darealshinji/40f8b34872bbb88feaf6
The first file is your libgomp.so.1, the second is from Ubuntu 14.04. Maybe that helps to find the error.
from patchelf.
Well, I don't know anything about the ELF format, really. Probably the best way to find the error is to trace what patchelf is doing ... it must be overwriting an incorrect part of the file somehow, right?
There are a bunch of differences between the readelf outputs, but one that I noticed was that "Einstiegspunktadresse" is 0x3770 in the Ubuntu file and 0x3e7a804190 in my version ... those are pretty different values!
from patchelf.
http://newton.cx/~peter/files/libgomp.so.1 gives a 404 BTW.
from patchelf.
Whoops, I forgot that I needed to preserve that file! It's back up again.
from patchelf.
@pkgw I didn't realize that the output was still set to German. I've updated the files: https://gist.github.com/darealshinji/40f8b34872bbb88feaf6
from patchelf.
When there is not enough space left in the ELF's header to add or modify an entry then all the entries will be copied to the end of the file. Maybe that's causing the problems.
from patchelf.
How can we best debug this systematically?
from patchelf.
Similar to/same as #99?
from patchelf.
Closing as inactive.
from patchelf.
Related Issues (20)
- Allow --rename-dynamic-symbols to change the version tag.
- Regression in 0.18.0: --set-rpath creates broken header alignment HOT 3
- `patchefd --set-rpath ... nodejs` broken since ~0.17.2 (0.15.0 works) HOT 3
- when I use zsh plugins zsh-autosuggestions, it something wrong HOT 1
- Program header editing features HOT 5
- SEGV when ELF has a malformed .dynamic section
- Relocatable binaries not handled
- Patchelf 0.18.0 Build failure on s390x with "span : out of range error"
- build failed for NetBSD
- rename-dynamic-symbols produces unusable binary
- Need help for cross-compliling libc.so.6 HOT 1
- patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections HOT 1
- _arguments:463: command not found: dynamic HOT 6
- `replace-needed.sh` test fails on 32-bit arm
- [RISCV] Error on 'make check' - relocation truncated to fit: R_RISCV_RVC_LUI against `__TMC_LIST__'
- Patching hard-coded paths within the text segment.
- Add a way to change visibility of symbols
- Version of gcc compiler effects correctness of patchelf 0.18 HOT 1
- Segfault with auditwheel and patchelf HOT 2
- Test shared-rpath fails when building with lld HOT 1
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 patchelf.