[Reproducible-builds] [U-Boot] Use C locale when setting CC_VERSION_STRING and LD_VERSION_STRING.

Tom Rini trini at konsulko.com
Sat Jun 25 02:52:10 UTC 2016


On Sun, Jun 12, 2016 at 06:07:07AM -0700, Vagrant Cascadian wrote:

> The output reported may be locale-dependent, which results in
> unreproducible builds.
> 
>   $ LANG=C ld --version | head -n 1
>     GNU ld (GNU Binutils for Debian) 2.26
> 
>   $ LANG=it_CH.UTF-8 ld --version | head -n 1
>     ld di GNU (GNU Binutils for Debian) 2.26
> 
> Forcing LC_ALL=C ensures the output is consistant regardless of the
> build environment.
> 
> Thanks to HW42 for debugging the issue:
> 
>   https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160606/005722.html
> 
> For more information about reproducible builds:
> 
>   https://reproducible-builds.org/
> 
> Signed-off-by: Vagrant Cascadian <vagrant at debian.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160624/b6c91577/attachment.sig>


More information about the Reproducible-builds mailing list