Skip to content

glibc / ld.so assertion failures on i686 relocations #457670

Closed

Description

@timschumi

Nixpkgs version

  • Unstable (25.11)

Steps to reproduce

  • nix build github:NixOS/nixpkgs/eb590fd24136f81d40385813e021c4740438d654#legacyPackages.i686-linux.pahole
  • nix build github:NixOS/nixpkgs/eb590fd24136f81d40385813e021c4740438d654#legacyPackages.i686-linux.python3Packages.mdurl

Can Hydra reproduce this build failure?

Hydra doesn’t try to build the package.

Link to Hydra build job

No response

Relevant log output

Inconsistency detected by ld.so: ../sysdeps/i386/dl-machine.h: 442: elf_machine_rel_relative: Assertion `ELF32_R_TYPE (reloc->r_info) == R_386_RELATIVE' failed!

Additional context

Bisected down to eb590fd, and more packages than just pahole are affected. Will edit the issue accordingly while testing more packages and double-check that all bisects arrive at the same commit.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.55, NixOS, 25.11 (Xantusia), 25.11.20251028.08dacfc
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.2
  • nixpkgs: /nix/store/p6gvrb36n5dh0cdg6d77rkpapy5kc0gq-source

Notify maintainers

TBD


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    0.kind: build failure
    on Nov 1, 2025
  2. timschumi commented on Nov 2, 2025

    @timschumi
    MemberAuthor

    It appears that this will be fixed by #452087 once it hits master, since bumping the Python version to that locally fixes the issue. At this point in time it is unclear if the Python bug was responsible for some kind of miscompilation in glibc or if there is a direct relation between Python and pahole.

  3. timschumi commented on Nov 5, 2025

    @timschumi
    MemberAuthor

    Python 3.13.9 is planned to hit master in #457894.

  4. linked a pull request that will close this issuestaging-next 2025-11-02 #457894on Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions