linuxboot / heads

A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops, workstations and servers.
https://osresearch.net/
GNU General Public License v2.0
1.41k stars 183 forks source link

edk2 is not reproducible #403

Open osresearch opened 6 years ago

osresearch commented 6 years ago

Building BOARD=qemu-linuxboot fails to produce a reproducible result to the edk2 portions. The bzImage and initrd appear to be reproducible.

osresearch commented 6 years ago

Someone on the Intel team tells me that RELEASE builds can still include the debug strings but should be reproducible. I'm still seeing some full paths in there, so I'm not sure about that.

osresearch commented 6 years ago

Looks like the CC variable is not propagated either, so it is using gcc instead of $(CROSS)gcc

JohnAZoidberg commented 3 years ago

Sounds like with clang the build can be reproducible: https://lists.llvm.org/pipermail/llvm-dev/2019-September/135465.html