Coder Social home page Coder Social logo

Comments (9)

darealshinji avatar darealshinji commented on June 1, 2024

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.

pkgw avatar pkgw commented on June 1, 2024

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.

edolstra avatar edolstra commented on June 1, 2024

http://newton.cx/~peter/files/libgomp.so.1 gives a 404 BTW.

from patchelf.

pkgw avatar pkgw commented on June 1, 2024

Whoops, I forgot that I needed to preserve that file! It's back up again.

from patchelf.

darealshinji avatar darealshinji commented on June 1, 2024

@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.

darealshinji avatar darealshinji commented on June 1, 2024

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.

probonopd avatar probonopd commented on June 1, 2024

How can we best debug this systematically?

from patchelf.

probonopd avatar probonopd commented on June 1, 2024

Similar to/same as #99?

from patchelf.

domenkozar avatar domenkozar commented on June 1, 2024

Closing as inactive.

from patchelf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.