-
Notifications
You must be signed in to change notification settings - Fork 38.7k
build: Drop per-host faketime wrappers in gitian-linux build #19627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This hack is described in bitcoin#8188. The current implementation was introduced in bitcoin#8315.
Replaced with the --enable-determinism configure script option.
|
Concept ACK on removing code, assuming that everything is still correct |
dongcarl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got some hashes you can post?
| - "g++" | ||
| - "g++-arm-linux-gnueabihf" | ||
| - "g++-aarch64-linux-gnu" | ||
| - "g++-riscv64-linux-gnu" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not remove the explicit -8 to be more explicit...
We can use update-alternatives in the script to change the default gcc/g++ I think
|
|
@hebasto See: #19622 (comment) |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
| HOSTS="x86_64-linux-gnu arm-linux-gnueabihf aarch64-linux-gnu riscv64-linux-gnu" | ||
| CONFIGFLAGS="--enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests" | ||
| FAKETIME_HOST_PROGS="gcc g++" | ||
| CONFIGFLAGS="--enable-determinism --enable-glibc-back-compat --enable-reduce-exports --disable-bench --disable-gui-tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passing --enable-determinism here isn't going to do anything, as that option currently only enables an additional linker argument when building for Windows.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦 indeed
Lines 807 to 811 in a63a26f
| if test x$enable_determinism = xyes; then | |
| if test x$TARGET_OS = xwindows; then | |
| AX_CHECK_LINK_FLAG([[-Wl,--no-insert-timestamp]], [LDFLAGS="$LDFLAGS -Wl,--no-insert-timestamp"],, [[$LDFLAG_WERROR]]) | |
| fi | |
| fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do I observe deterministic builds without faketime wrappers?
This PR is based on #19622, and the first two commits belong to #19622.
This is another step to removing
libfaketimefrom gitian builds.