1 2017-04-15T00:15:17  *** AaronvanW has quit IRC
  2 2017-04-15T00:16:37  *** AaronvanW has joined #bitcoin-core-dev
  3 2017-04-15T00:21:38  *** AaronvanW has quit IRC
  4 2017-04-15T00:42:52  *** tw2006 has joined #bitcoin-core-dev
  5 2017-04-15T00:47:14  *** tw2006 has quit IRC
  6 2017-04-15T01:46:27  *** d_t has joined #bitcoin-core-dev
  7 2017-04-15T02:07:04  *** face has quit IRC
  8 2017-04-15T02:08:04  *** face has joined #bitcoin-core-dev
  9 2017-04-15T02:22:44  *** jannes has quit IRC
 10 2017-04-15T02:31:46  *** tw2006 has joined #bitcoin-core-dev
 11 2017-04-15T02:36:26  *** tw2006 has quit IRC
 12 2017-04-15T02:41:00  *** n1ce__ has joined #bitcoin-core-dev
 13 2017-04-15T02:43:10  *** n1ce has quit IRC
 14 2017-04-15T03:47:44  *** Giszmo has quit IRC
 15 2017-04-15T04:14:35  *** bitdroid has joined #bitcoin-core-dev
 16 2017-04-15T04:14:56  <bitdroid> sup
 17 2017-04-15T04:15:28  <bitdroid> does bitcoin core have a android app?
 18 2017-04-15T04:21:00  *** tw2006 has joined #bitcoin-core-dev
 19 2017-04-15T04:24:40  <achow101> bitdroid: no
 20 2017-04-15T04:25:41  *** tw2006 has quit IRC
 21 2017-04-15T04:40:57  <bitcoin-git> [bitcoin] NicolasDorier opened pull request #10216: [Wallet] FundRawTransaction can accept pre-set inputs whose parent is not yet broadcasted (master...fundrawtransaction2) https://github.com/bitcoin/bitcoin/pull/10216
 22 2017-04-15T05:22:19  *** juscamarena has joined #bitcoin-core-dev
 23 2017-04-15T05:22:20  *** juscamarena_ has joined #bitcoin-core-dev
 24 2017-04-15T05:22:30  *** juscamarena_ has quit IRC
 25 2017-04-15T05:27:26  *** harrymm has quit IRC
 26 2017-04-15T05:29:41  *** n1ce__ has quit IRC
 27 2017-04-15T05:30:33  *** n1ce has joined #bitcoin-core-dev
 28 2017-04-15T05:40:41  *** n1ce has quit IRC
 29 2017-04-15T05:41:32  *** n1ce has joined #bitcoin-core-dev
 30 2017-04-15T05:47:47  *** harrymm has joined #bitcoin-core-dev
 31 2017-04-15T06:02:12  *** RubenSomsen has joined #bitcoin-core-dev
 32 2017-04-15T06:02:18  <wumpus> "Clang doesn't complain when passing in -msse4.2 on ARM-based systems." gah, thanks clang
 33 2017-04-15T06:02:45  <gmaxwell> lol
 34 2017-04-15T06:03:40  <gmaxwell> I guess just wrap the code with the relevant ifdef __x86something__ so arm sees an empty file? :P
 35 2017-04-15T06:03:43  <wumpus> found a bug in leveldb's sse4.2 crc32c detection, let's not make the same mistake in our own build system when we port that over
 36 2017-04-15T06:06:11  <wumpus> yep, instead of just compiling a c program with -msse4.2, the detection now compiles a c program with #ifdef __SSE4_2_ #error ... #endif
 37 2017-04-15T06:09:27  <wumpus> cfields: https://github.com/NuxiNL/cloudabi-ports/commit/a1d999890c11c30c1b11d049f6eb84ce562ffe2c
 38 2017-04-15T06:09:37  *** tw2006 has joined #bitcoin-core-dev
 39 2017-04-15T06:10:20  <cfields> sigh
 40 2017-04-15T06:10:29  <cfields> and I thought I was ahead of that one :(
 41 2017-04-15T06:11:54  <cfields> wumpus: any chance it warns at least? based on the report I assume not.
 42 2017-04-15T06:12:23  <wumpus> thinking of it, it might be more robust to try to insert an actual sse4.2 instruction, instead of the ifdef
 43 2017-04-15T06:12:38  <wumpus> cfields: I don't think so (but can't try at the moment)
 44 2017-04-15T06:14:10  *** tw2006 has quit IRC
 45 2017-04-15T06:14:45  <cfields> wumpus: I'd already worked up https://github.com/theuni/bitcoin/commit/2cb7dda13884e44105f33c16e7e2c1a9aed46295
 46 2017-04-15T06:15:09  <cfields> but for clang, it sounds like anything pre-processesed could still end up with SIGILL :(
 47 2017-04-15T06:18:34  <cfields> will refresh my memory and have a look tomorrow.
 48 2017-04-15T06:18:36  <gmaxwell> hm? you cannot use -msse4.2  on a file with functions that will be called on a system without it... as the insstructions could end up anywhere.
 49 2017-04-15T06:19:42  <gmaxwell> g++ at least has the ability to push the compile flags on a function by function basis and has a linker override, so we could avoid writing the detection ourselves... I dunno if clang supports those extensions yet though.
 50 2017-04-15T06:19:43  <wumpus> gmaxwell: right
 51 2017-04-15T06:19:44  <cfields> gmaxwell: leveldb checks at runtime before calling it
 52 2017-04-15T06:20:20  <gmaxwell> cfields: 'it'?  meaning any file compiled with -msse4.2 ?
 53 2017-04-15T06:20:20  <wumpus>  the program needs to check yourself before calling into it, and there should be no global cons/destructors in the file
 54 2017-04-15T06:21:01  <cfields> gmaxwell: the object is segregated, yes.
 55 2017-04-15T06:21:08  <wumpus> there should be only one file compiled with msse4.2
 56 2017-04-15T06:21:49  <cfields> wumpus: https://github.com/theuni/bitcoin/commit/2cb7dda13884e44105f33c16e7e2c1a9aed46295#diff-eb4352aec1ec8d9f07658f1d2f066bbeR148
 57 2017-04-15T06:21:51  <wumpus> the only place where I could see it potentially go wrong is on whole-program-optimization
 58 2017-04-15T06:22:12  <wumpus> cfields: yep! exactly as it shoudl be
 59 2017-04-15T06:22:27  <cfields> wumpus: and the fact that the check itself is compiled with sse4.2 :(
 60 2017-04-15T06:22:33  <cfields> i wish that'd broken that out separately
 61 2017-04-15T06:22:58  <wumpus> yea, the check itself must be outside that file
 62 2017-04-15T06:23:06  <wumpus> otherwise it's kind of self-defeating
 63 2017-04-15T06:23:13  <cfields> it's not though :(
 64 2017-04-15T06:23:22  <wumpus> unless you use openssl-style detection (catch SIGILL)
 65 2017-04-15T06:23:28  <wumpus> but that's not necessary for intel
 66 2017-04-15T06:23:58  <wumpus> seems that should be an upstream patch then
 67 2017-04-15T06:24:33  <wumpus> gah,clang documentation site is offline
 68 2017-04-15T06:25:21  <cfields> wumpus: yea. I suspect it probably always works in practice because the compiler doesn't find any useful sse4.2 optilms to use for the cpuid check. But it always could, and break.
 69 2017-04-15T06:26:08  <wumpus> it could break once the compiler becomes smarter
 70 2017-04-15T06:26:36  *** kadoban has quit IRC
 71 2017-04-15T06:27:10  <cfields> right. upstream patch to break it out 100% would be cleaner. Will do.
 72 2017-04-15T06:27:23  <wumpus> so the clang compiler user's manual... [https://clang.llvm.org/docs/UsersManual.html] mentions some ARM -m flags, but not the X86 ones...
 73 2017-04-15T06:28:24  <wumpus> why is it always so darn hard to find a complete list of compiler flags
 74 2017-04-15T06:28:25  <cfields> wtf would it buid with any -msse*? That's really annoying.
 75 2017-04-15T06:36:29  * wumpus would like to see it try to generate sse4.2 instructions on ARM
 76 2017-04-15T06:37:42  <cfields> challenge accepted!
 77 2017-04-15T06:37:55  * cfields upstreams to arm, rather than leveldb
 78 2017-04-15T06:41:33  <wumpus> uh oh, did you now start working on a arm microcode patch to accept sse4.2 instructions? :p
 79 2017-04-15T06:47:11  <cfields> wumpus: yep. But only in my own silicon. You can license the patent for $19.99. But wait, there's more!
 80 2017-04-15T06:48:51  <wumpus> transmeta: the sequel
 81 2017-04-15T06:49:10  <cfields> haha
 82 2017-04-15T06:53:53  <wumpus> trying to compile bitcoin core with c++17 clang runs into some curious things: https://github.com/laanwj/bitcoin/commit/7a05ed0835fa962064a9c5198ab568109ab02d85   explicit bool coercion required at some places, as well as ?: needing to be exactly the right type *and* constness
 83 2017-04-15T06:55:47  <wumpus> I don't know enough about the standard to be able to state whether that's a bug in the compiler (as this is still experimental) or makes sense because of the new spec
 84 2017-04-15T06:56:13  <wumpus> luckily we now pass std=c++11 so don't have to worry about it
 85 2017-04-15T07:12:49  *** RubenSomsen has quit IRC
 86 2017-04-15T07:22:52  *** d9b4bef9 has quit IRC
 87 2017-04-15T07:23:58  *** d9b4bef9 has joined #bitcoin-core-dev
 88 2017-04-15T07:57:41  *** tw2006 has joined #bitcoin-core-dev
 89 2017-04-15T08:02:16  *** tw2006 has quit IRC
 90 2017-04-15T08:03:39  *** n1ce has quit IRC
 91 2017-04-15T08:04:28  *** n1ce has joined #bitcoin-core-dev
 92 2017-04-15T08:10:53  *** goksinen has joined #bitcoin-core-dev
 93 2017-04-15T08:23:47  *** d_t has quit IRC
 94 2017-04-15T08:28:19  *** n1ce_ has joined #bitcoin-core-dev
 95 2017-04-15T08:30:15  *** n1ce has quit IRC
 96 2017-04-15T08:41:52  *** Ylbam has joined #bitcoin-core-dev
 97 2017-04-15T08:54:30  *** n1ce_ has quit IRC
 98 2017-04-15T08:55:19  *** n1ce has joined #bitcoin-core-dev
 99 2017-04-15T09:30:35  *** Guyver2 has joined #bitcoin-core-dev
100 2017-04-15T09:46:39  *** tw2006 has joined #bitcoin-core-dev
101 2017-04-15T09:51:08  *** tw2006 has quit IRC
102 2017-04-15T09:51:57  *** RubenSomsen has joined #bitcoin-core-dev
103 2017-04-15T09:54:28  *** n1ce has quit IRC
104 2017-04-15T09:55:16  *** n1ce has joined #bitcoin-core-dev
105 2017-04-15T09:59:38  <jonasschnelli> <*highlight>	[22:09:48] <BlueMatt:#bitcoin-core-dev> jonasschnelli: hey
106 2017-04-15T09:59:42  <jonasschnelli> BlueMatt: pong
107 2017-04-15T10:00:27  *** RubenSomsen has quit IRC
108 2017-04-15T10:36:59  *** CubicEarth has quit IRC
109 2017-04-15T10:43:03  *** goksinen has quit IRC
110 2017-04-15T11:02:05  *** laurentmt has joined #bitcoin-core-dev
111 2017-04-15T11:04:06  *** laurentmt has quit IRC
112 2017-04-15T11:05:44  *** Lauda has quit IRC
113 2017-04-15T11:05:56  *** Lauda has joined #bitcoin-core-dev
114 2017-04-15T11:35:19  *** goksinen has joined #bitcoin-core-dev
115 2017-04-15T11:35:34  *** tw2006 has joined #bitcoin-core-dev
116 2017-04-15T11:40:00  *** goksinen has quit IRC
117 2017-04-15T11:40:04  *** tw2006 has quit IRC
118 2017-04-15T11:45:07  *** n1ce_ has joined #bitcoin-core-dev
119 2017-04-15T11:47:09  *** AaronvanW has joined #bitcoin-core-dev
120 2017-04-15T11:48:14  *** n1ce has quit IRC
121 2017-04-15T11:51:38  *** AaronvanW has quit IRC
122 2017-04-15T11:53:02  *** AaronvanW has joined #bitcoin-core-dev
123 2017-04-15T11:54:04  *** n1ce_ has quit IRC
124 2017-04-15T11:54:55  *** n1ce has joined #bitcoin-core-dev
125 2017-04-15T11:59:00  *** Lauda has quit IRC
126 2017-04-15T11:59:11  *** Lauda has joined #bitcoin-core-dev
127 2017-04-15T11:59:46  *** AaronvanW has quit IRC
128 2017-04-15T12:05:52  *** AaronvanW has joined #bitcoin-core-dev
129 2017-04-15T13:24:32  *** tw2006 has joined #bitcoin-core-dev
130 2017-04-15T13:29:15  *** tw2006 has quit IRC
131 2017-04-15T13:50:50  *** d_t has joined #bitcoin-core-dev
132 2017-04-15T13:52:36  *** Giszmo has joined #bitcoin-core-dev
133 2017-04-15T13:55:05  *** d_t has quit IRC
134 2017-04-15T14:22:57  *** laurentmt has joined #bitcoin-core-dev
135 2017-04-15T14:31:25  *** RubenSomsen has joined #bitcoin-core-dev
136 2017-04-15T14:49:32  *** str4d has quit IRC
137 2017-04-15T15:05:12  *** tw2006 has joined #bitcoin-core-dev
138 2017-04-15T15:06:26  *** afk11 has quit IRC
139 2017-04-15T15:07:11  *** afk11 has joined #bitcoin-core-dev
140 2017-04-15T15:13:52  *** d9b4bef9 has quit IRC
141 2017-04-15T15:14:58  *** d9b4bef9 has joined #bitcoin-core-dev
142 2017-04-15T15:15:10  *** Chris_Stewart_5 has quit IRC
143 2017-04-15T15:21:53  *** Chris_Stewart_5 has joined #bitcoin-core-dev
144 2017-04-15T15:22:34  *** LeMiner has quit IRC
145 2017-04-15T15:28:12  *** LeMiner has joined #bitcoin-core-dev
146 2017-04-15T15:33:52  *** moli_ has joined #bitcoin-core-dev
147 2017-04-15T15:37:10  *** RubenSomsen has quit IRC
148 2017-04-15T15:47:29  *** laurentmt has quit IRC
149 2017-04-15T16:05:26  *** tw2006 has quit IRC
150 2017-04-15T16:33:22  *** mol has joined #bitcoin-core-dev
151 2017-04-15T16:36:24  *** moli_ has quit IRC
152 2017-04-15T16:57:53  *** spinza has joined #bitcoin-core-dev
153 2017-04-15T17:00:56  <BlueMatt> jonasschnelli: hey
154 2017-04-15T17:06:26  *** tw2006 has joined #bitcoin-core-dev
155 2017-04-15T17:10:46  *** tw2006 has quit IRC
156 2017-04-15T17:21:57  *** dgenr8 has quit IRC
157 2017-04-15T17:23:37  *** laurentmt has joined #bitcoin-core-dev
158 2017-04-15T17:49:01  *** andytoshi has joined #bitcoin-core-dev
159 2017-04-15T17:49:12  *** andytoshi has joined #bitcoin-core-dev
160 2017-04-15T17:51:36  *** andytoshi has left #bitcoin-core-dev
161 2017-04-15T17:55:14  *** goksinen has joined #bitcoin-core-dev
162 2017-04-15T17:59:46  *** goksinen has quit IRC
163 2017-04-15T18:34:55  *** dgenr8 has joined #bitcoin-core-dev
164 2017-04-15T18:37:16  *** tw2006 has joined #bitcoin-core-dev
165 2017-04-15T18:41:59  *** tw2006 has quit IRC
166 2017-04-15T18:42:28  *** CubicEarth has joined #bitcoin-core-dev
167 2017-04-15T18:49:39  *** laurentmt has quit IRC
168 2017-04-15T18:52:45  *** bitdroid has quit IRC
169 2017-04-15T18:54:20  *** n1ce has quit IRC
170 2017-04-15T18:55:13  *** n1ce has joined #bitcoin-core-dev
171 2017-04-15T19:18:05  *** Guyver2 has quit IRC
172 2017-04-15T19:54:23  *** n1ce has quit IRC
173 2017-04-15T19:55:13  *** n1ce has joined #bitcoin-core-dev
174 2017-04-15T20:00:01  *** dgenr8 has quit IRC
175 2017-04-15T20:17:32  *** AaronvanW has quit IRC
176 2017-04-15T20:18:08  *** AaronvanW has joined #bitcoin-core-dev
177 2017-04-15T20:21:39  *** AaronvanW has quit IRC
178 2017-04-15T20:21:52  *** AaronvanW has joined #bitcoin-core-dev
179 2017-04-15T20:23:33  *** AaronvanW has joined #bitcoin-core-dev
180 2017-04-15T20:26:14  *** tw2006 has joined #bitcoin-core-dev
181 2017-04-15T20:28:37  *** AaronvanW has quit IRC
182 2017-04-15T20:30:35  *** tw2006 has quit IRC
183 2017-04-15T20:48:13  *** AaronvanW has joined #bitcoin-core-dev
184 2017-04-15T21:02:59  *** belcher has quit IRC
185 2017-04-15T21:06:13  *** Evel-Knievel has quit IRC
186 2017-04-15T21:10:08  *** AaronvanW has quit IRC
187 2017-04-15T21:17:10  *** belcher has joined #bitcoin-core-dev
188 2017-04-15T21:22:52  *** d9b4bef9 has quit IRC
189 2017-04-15T21:23:57  *** d9b4bef9 has joined #bitcoin-core-dev
190 2017-04-15T21:24:15  *** CubicEarth has quit IRC
191 2017-04-15T21:24:16  *** belcher has quit IRC
192 2017-04-15T21:24:55  *** CubicEarth has joined #bitcoin-core-dev
193 2017-04-15T21:30:37  *** n1ce has quit IRC
194 2017-04-15T21:31:58  *** goksinen has joined #bitcoin-core-dev
195 2017-04-15T21:32:16  *** n1ce has joined #bitcoin-core-dev
196 2017-04-15T21:36:35  *** goksinen has quit IRC
197 2017-04-15T21:44:55  *** btcdrak has quit IRC
198 2017-04-15T21:47:38  *** btcdrak has joined #bitcoin-core-dev
199 2017-04-15T22:05:38  *** AaronvanW has joined #bitcoin-core-dev
200 2017-04-15T22:06:34  *** Chris_Stewart_5 has quit IRC
201 2017-04-15T22:08:26  *** Chris_Stewart_5 has joined #bitcoin-core-dev
202 2017-04-15T22:14:57  *** mol has quit IRC
203 2017-04-15T22:15:12  *** tw2006 has joined #bitcoin-core-dev
204 2017-04-15T22:15:24  *** mol has joined #bitcoin-core-dev
205 2017-04-15T22:15:32  *** laurentmt has joined #bitcoin-core-dev
206 2017-04-15T22:19:47  *** tw2006 has quit IRC
207 2017-04-15T22:24:09  *** Evel-Knievel has joined #bitcoin-core-dev
208 2017-04-15T22:53:11  *** laurentmt has quit IRC
209 2017-04-15T22:54:39  *** n1ce has quit IRC
210 2017-04-15T22:55:27  *** n1ce has joined #bitcoin-core-dev
211 2017-04-15T22:57:02  *** belcher has joined #bitcoin-core-dev
212 2017-04-15T22:57:05  *** belcher has quit IRC
213 2017-04-15T22:57:05  *** belcher has joined #bitcoin-core-dev
214 2017-04-15T23:03:31  *** d_t has joined #bitcoin-core-dev
215 2017-04-15T23:04:13  *** d_t has joined #bitcoin-core-dev
216 2017-04-15T23:04:52  *** d_t has joined #bitcoin-core-dev
217 2017-04-15T23:05:33  *** d_t has joined #bitcoin-core-dev