Giter Site home page Giter Site logo

ibdump's Issues

ibdump: builds are not reproducible

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/

Inconsistent version of ibdump

So which is the correct version (on current master branch):

$ git tag
ibdump-6_0_0
ibdump-6_1_0

(Also https://github.com/Mellanox/ibdump/releases which are made from the tags)

$ make
gcc -Wall -W  -g -MP -MD -DPACKAGE_VERSION_STR=\"3.0.0-7\" -DWITH_MFT -DIBDUMP_A0_MODE  -I/usr/include/mft/ '-DBLD_VER_STR="devel"'   -c -o ibdump.o ibdump.c
...

Seems to say the version is 3.0.0-7. Comes from:

$ git grep VERSION Makefile
Makefile:VERSION    = 3.0.0-7
Makefile:CFLAGS    += -MP -MD -DPACKAGE_VERSION_STR=\"$(VERSION)\"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.