Wladimir J. van der Laan
7acda55c4f
Merge #20939 : build: fix RELOC_SECTION security check for bitcoin-util
...
c061800bb1 build: fix RELOC_SECTION security check for bitcoin-util (fanquake)
Pull request description:
The binutils we use for gitian builds strips the reloc section from
Windows binaries, which breaks ASLR. As a temporary workaround, export
main(). This is the same workaround as #18702 (bitcoin-cli), and will
fix the currently failing security check:
```bash
+ make -j1 -C src check-security
make: Entering directory '/home/ubuntu/build/bitcoin/distsrc-x86_64-w64-mingw32/src'
Checking binary security...
bitcoin-util.exe: failed RELOC_SECTION
make: *** [check-security] Error 1
```
Relevant upstream issue:
https://sourceware.org/bugzilla/show_bug.cgi?id=19011
ACKs for top commit:
dongcarl:
ACK c061800bb1
laanwj:
ACK c061800bb1
Tree-SHA512: a1a4da0b2cddfc377190b9044a04f42a859ca79f11ce2c2ab4c3d066a2786c34d5446d75f8eec634f308d2d3349ebbd7c9f76dcaebeeb28e471c829851592367
2021-01-17 18:12:08 +01:00
..
2021-01-07 17:57:17 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-08 19:26:30 +01:00
2021-01-07 17:57:17 +01:00
2021-01-13 08:49:17 +01:00
2021-01-07 18:07:09 +02:00
2021-01-07 18:07:09 +02:00
2021-01-03 18:38:31 +01:00
2020-12-31 09:45:41 +01:00
2021-01-13 17:47:46 +01:00
2021-01-15 20:13:34 +01:00
2021-01-13 08:49:17 +01:00
2021-01-04 12:23:16 +08:00
2021-01-15 19:56:18 +01:00
2020-11-19 15:48:24 +01:00
2021-01-13 08:49:17 +01:00
2021-01-13 08:49:17 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-06 18:44:31 +00:00
2020-11-19 16:30:54 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-05 21:31:48 +01:00
2020-12-10 11:12:08 +01:00
2021-01-12 18:34:25 +10:00
2021-01-15 11:53:14 +08:00
2020-12-17 20:36:41 +01:00
2020-12-15 17:21:06 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-15 14:12:01 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-13 08:49:17 +01:00
2020-12-31 09:45:41 +01:00
2021-01-04 12:31:31 +08:00
2021-01-04 12:31:31 +08:00
2020-12-31 09:45:41 +01:00
2021-01-04 12:23:16 +08:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-04 12:23:16 +08:00
2020-12-31 09:45:41 +01:00
2020-11-23 21:02:54 +00:00
2020-12-31 09:45:41 +01:00
2021-01-09 23:27:45 +10:00
2020-12-06 00:22:40 +00:00
2021-01-05 10:10:50 +01:00
2021-01-04 12:23:16 +08:00
2020-12-06 18:44:25 +00:00
2020-12-06 18:44:25 +00:00
2021-01-13 08:49:17 +01:00
2021-01-07 18:07:09 +02:00
2020-12-08 19:26:30 +01:00
2021-01-07 18:07:09 +02:00
2021-01-07 18:07:09 +02:00
2021-01-07 19:41:55 +01:00
2021-01-07 18:07:09 +02:00
2021-01-07 18:07:09 +02:00
2021-01-04 12:31:31 +08:00
2020-12-31 09:45:41 +01:00
2020-12-06 18:44:25 +00:00
2020-12-06 18:44:25 +00:00
2020-12-31 09:45:41 +01:00
2021-01-13 09:48:06 +01:00
2021-01-09 23:27:45 +10:00
2021-01-11 21:06:57 +01:00
2021-01-13 09:48:06 +01:00
2021-01-10 15:51:15 +01:00
2021-01-11 11:27:47 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-03 18:37:59 +01:00
2021-01-03 18:37:59 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-19 09:45:39 +01:00
2020-11-26 09:05:59 +00:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-08 16:47:36 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-11-25 15:18:33 +01:00
2020-12-31 09:45:41 +01:00
2020-12-10 20:46:29 +02:00
2021-01-12 15:56:19 +08:00
2020-12-31 09:45:41 +01:00
2020-12-01 18:36:39 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-13 08:49:17 +01:00
2021-01-13 08:49:17 +01:00
2020-12-01 18:36:39 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2021-01-12 02:27:09 -08:00
2021-01-13 08:49:17 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00
2020-12-31 09:45:41 +01:00