KernelNewbies
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Kernel Hacking

  • Frontpage

  • Kernel Hacking

  • Kernel Documentation

  • Kernel Glossary

  • FAQ

  • Found a bug?

  • Kernel Changelog

  • Upstream Merge Guide

Projects

  • KernelJanitors

  • KernelMentors

  • KernelProjects

Community

  • Why a community?

  • Regional Kernelnewbies

  • Personal Pages

  • Upcoming Events

References

  • Mailing Lists

  • Related Sites

  • Programming Links

Wiki

  • Recent Changes

  • Site Editors

  • Side Bar

  • Tips for Editors

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents
Revision 3 as of 2014-01-10 06:01:14
KernelNewbies:
  • SameKernel

Describe SameBuild here.

SameBuild is idea to make kernel reproducible (deterministic, verifiable build). So that each time you build given kernel version (with same configuration), using same tools you will get binary identical resulting files.

This task is being now developed as part of [Mempo] project and documented on https://wiki.debian.org/ReproducibleBuildsKernel (developed in Debian, how ever results from it will be applicable to all kernel builds).

Please see that page for details and please help our research: group ["Mempo"] is looking (2014-01) for hackers to help on this.

Problems:

  • :-) usage of __LINE__ and __FILE__ can be fixed with a small patch in the remaining places it is used

  • :-) some settings (like root device?) can be fixed by patch/options

  • :-) distribution like Debian can pack the files into a package in non-deterministic way (od Debian newer dpkg does this correctly)

  • compiler and/or linker might add --build-id - being fixed now - see "vmlinux/asm-notes"

Name "SameBuild" is used by ["Mempo"] because the alternatives are harder to spell/remember.

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01