GithubHelp home page GithubHelp logo

Comments (2)

Artturin avatar Artturin commented on June 25, 2024 1

It's not a you problem, mozilla changed something.

NixOS/patchelf#520

from nixpkgs-mozilla.

nbp avatar nbp commented on June 25, 2024 1

Thanks for opening the issue.

The problem has been reported on matrix, investigated and solved by @K900 🎉 as part of #322 .

The issue was that Firefox changed the way firefox ELF (binary format) is updated at the end of the compilation. Firefox used to rely on a tool named elfhack which recently got replaced by relrhack. This change highlighted an issue in how Nixpkgs handles pre-compiled binaries.

In Nixpkgs, pre-compiled binaries are unlikely to work as they would not find the proper libraries nor the ELF interpreter. Thus a tool named patchelf is used to update the binary and let it know where the libraries it is loading are supposed to be.

With the analysis from @glandium, patchelf proved to be faulty, and @K900 provided a patch to fix the issue.

In the mean time, the firefox overlay applies this not-yet approved patch of patchelf as part of #322, with the goal of fixing firefox nightly and avoiding these SEGV. This should fix nightly builds after updating nixpkgs-mozilla repository.

from nixpkgs-mozilla.

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.