Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S strip-nondeterminism
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Reproducible BuildsReproducible Builds
  • strip-nondeterminism
  • Merge requests
  • !4

ar.pm: Don't corrupt tables of symbols and long filenames

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Marc Herbert requested to merge marc-guest/strip-nondeterminism:fix-symtab-longnames into master Aug 28, 2019
  • Overview 33
  • Commits 7
  • Pipelines 4
  • Changes 10
  • Don't reset to "644" the pseudo-permissions of the symbols table '/'. Whatever the placeholder is ("0" with GNU ar 2.31), messing with it diverges with the output of GNU ar which is already deterministic.

  • Long filenames are stored in a special '//' section with a completely different format. Stop assuming it has regular metadata and stop corrupting it.

Split the fixes in different commits so the tests can be more easily be tested.

Edited Aug 31, 2019 by Marc Herbert
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-symtab-longnames