[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/31077] objcopy has non-deterministic output
From: |
nickc at redhat dot com |
Subject: |
[Bug binutils/31077] objcopy has non-deterministic output |
Date: |
Mon, 20 Nov 2023 12:36:45 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31077
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Yannik Sembritzki from comment #3)
> I have renamed the bug accordingly (the general issue of objcopy producing
> non-deterministic output still stands).
The effect you desire can be achieved by setting the SOURCE_DATE_EPOCH
environment variable and using the latest binutils sources:
$ objcopy linuxx64.efi.stub fred.efi
$ sha1sum linuxx64.efi.stub fred.efi
12db40170c6cd10c7b4fd54843e8a0fb3a5fec8a linuxx64.efi.stub
4400f02b09c5b339d688409e56739084844e57c3 fred.efi
$ export SOURCE_DATE_EPOCH=0
$ objcopy linuxx64.efi.stub fred.efi
$ sha1sum linuxx64.efi.stub fred.efi
12db40170c6cd10c7b4fd54843e8a0fb3a5fec8a linuxx64.efi.stub
12db40170c6cd10c7b4fd54843e8a0fb3a5fec8a fred.efi
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/31077] New: objcopy --enable-deterministic-archives has non-deterministic output, yannik at sembritzki dot me, 2023/11/20
- [Bug binutils/31077] objcopy --enable-deterministic-archives has non-deterministic output, yannik at sembritzki dot me, 2023/11/20
- [Bug binutils/31077] objcopy --enable-deterministic-archives has non-deterministic output, address@hidden, 2023/11/20
- [Bug binutils/31077] objcopy has non-deterministic output, yannik at sembritzki dot me, 2023/11/20
- [Bug binutils/31077] objcopy has non-deterministic output, yannik at sembritzki dot me, 2023/11/20
- [Bug binutils/31077] objcopy has non-deterministic output,
nickc at redhat dot com <=
- [Bug binutils/31077] objcopy has non-deterministic output, yannik at sembritzki dot me, 2023/11/20