Mellanox / ibdump

Other
43 stars 17 forks source link

ibdump: builds are not reproducible #8

Open tzafrir-mellanox opened 4 years ago

tzafrir-mellanox commented 4 years ago
gcc -g -O2 -fdebug-prefix-map=/.autodirect/sysgwork/tzafrirc/upstream/ibdump/ibdump-subtree=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -W  -g -MP -MD -DPACKAGE_VERSION
_STR=\"3.0.0-7\" -DWITH_MSTFLINT -DMST_UL -I/usr/include/mstflint -DUPSTREAM_KERNEL '-DBLD_VER_STR="devel"' -Wdate-time -D_FORTIFY_SOURCE=2  -c -o ibdump.o ibdump.c
In file included from ibdump.c:64:0:
tools_version.h: In function ‘get_version_string’:
tools_version.h:66:19: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
                   __DATE__,
                   ^~~~~~~~
tools_version.h:67:19: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time]
                   __TIME__,
                   ^~~~~~~~

See also https://reproducible-builds.org/docs/timestamps/