Bug#960590: wolfssl: please make the libwolfssl.a file reproducible

Felix Lechner felix.lechner at lease-up.com
Thu May 14 22:06:58 BST 2020


Hi,

On Thu, May 14, 2020 at 4:00 AM Chris Lamb <lamby at debian.org> wrote:
>
> This is because it used ar's "U" argument to deliberately inherit the
> build system's filesystem timestamps, umask, etc. I do not know why
> this was introduced and am assuming it is merely a debugging thing.

The U argument was added to fix this warning in Ubuntu:

    ar: 'u' modifier ignored since 'D' is the default (see 'U') [1]

[1] https://github.com/wolfSSL/wolfssl/commit/1b9cff1c5d09adb0af858992e2a2df01b1d4dc58

The manpage for 'ar' says about 'D':

    If binutils was configured with --enable-deterministic-archives, then
    this mode is on by default.

I would like to ask upstream to revert [1], but Ubuntu is a
Debian-derivative. Should our binutils be built differently (or have
they changed since [1] was authored)?

Kind regards
Felix Lechner



More information about the Reproducible-bugs mailing list