12017-04-15T00:15:17 *** AaronvanW has quit IRC
22017-04-15T00:16:37 *** AaronvanW has joined #bitcoin-core-dev
32017-04-15T00:21:38 *** AaronvanW has quit IRC
42017-04-15T00:42:52 *** tw2006 has joined #bitcoin-core-dev
52017-04-15T00:47:14 *** tw2006 has quit IRC
62017-04-15T01:46:27 *** d_t has joined #bitcoin-core-dev
72017-04-15T02:07:04 *** face has quit IRC
82017-04-15T02:08:04 *** face has joined #bitcoin-core-dev
92017-04-15T02:22:44 *** jannes has quit IRC
102017-04-15T02:31:46 *** tw2006 has joined #bitcoin-core-dev
112017-04-15T02:36:26 *** tw2006 has quit IRC
122017-04-15T02:41:00 *** n1ce__ has joined #bitcoin-core-dev
132017-04-15T02:43:10 *** n1ce has quit IRC
142017-04-15T03:47:44 *** Giszmo has quit IRC
152017-04-15T04:14:35 *** bitdroid has joined #bitcoin-core-dev
162017-04-15T04:14:56 <bitdroid> sup
172017-04-15T04:15:28 <bitdroid> does bitcoin core have a android app?
182017-04-15T04:21:00 *** tw2006 has joined #bitcoin-core-dev
192017-04-15T04:24:40 <achow101> bitdroid: no
202017-04-15T04:25:41 *** tw2006 has quit IRC
212017-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
222017-04-15T05:22:19 *** juscamarena has joined #bitcoin-core-dev
232017-04-15T05:22:20 *** juscamarena_ has joined #bitcoin-core-dev
242017-04-15T05:22:30 *** juscamarena_ has quit IRC
252017-04-15T05:27:26 *** harrymm has quit IRC
262017-04-15T05:29:41 *** n1ce__ has quit IRC
272017-04-15T05:30:33 *** n1ce has joined #bitcoin-core-dev
282017-04-15T05:40:41 *** n1ce has quit IRC
292017-04-15T05:41:32 *** n1ce has joined #bitcoin-core-dev
302017-04-15T05:47:47 *** harrymm has joined #bitcoin-core-dev
312017-04-15T06:02:12 *** RubenSomsen has joined #bitcoin-core-dev
322017-04-15T06:02:18 <wumpus> "Clang doesn't complain when passing in -msse4.2 on ARM-based systems." gah, thanks clang
332017-04-15T06:02:45 <gmaxwell> lol
342017-04-15T06:03:40 <gmaxwell> I guess just wrap the code with the relevant ifdef __x86something__ so arm sees an empty file? :P
352017-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
362017-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
372017-04-15T06:09:27 <wumpus> cfields: https://github.com/NuxiNL/cloudabi-ports/commit/a1d999890c11c30c1b11d049f6eb84ce562ffe2c
382017-04-15T06:09:37 *** tw2006 has joined #bitcoin-core-dev
392017-04-15T06:10:20 <cfields> sigh
402017-04-15T06:10:29 <cfields> and I thought I was ahead of that one :(
412017-04-15T06:11:54 <cfields> wumpus: any chance it warns at least? based on the report I assume not.
422017-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
432017-04-15T06:12:38 <wumpus> cfields: I don't think so (but can't try at the moment)
442017-04-15T06:14:10 *** tw2006 has quit IRC
452017-04-15T06:14:45 <cfields> wumpus: I'd already worked up https://github.com/theuni/bitcoin/commit/2cb7dda13884e44105f33c16e7e2c1a9aed46295
462017-04-15T06:15:09 <cfields> but for clang, it sounds like anything pre-processesed could still end up with SIGILL :(
472017-04-15T06:18:34 <cfields> will refresh my memory and have a look tomorrow.
482017-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.
492017-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.
502017-04-15T06:19:43 <wumpus> gmaxwell: right
512017-04-15T06:19:44 <cfields> gmaxwell: leveldb checks at runtime before calling it
522017-04-15T06:20:20 <gmaxwell> cfields: 'it'? meaning any file compiled with -msse4.2 ?
532017-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
542017-04-15T06:21:01 <cfields> gmaxwell: the object is segregated, yes.
552017-04-15T06:21:08 <wumpus> there should be only one file compiled with msse4.2
562017-04-15T06:21:49 <cfields> wumpus: https://github.com/theuni/bitcoin/commit/2cb7dda13884e44105f33c16e7e2c1a9aed46295#diff-eb4352aec1ec8d9f07658f1d2f066bbeR148
572017-04-15T06:21:51 <wumpus> the only place where I could see it potentially go wrong is on whole-program-optimization
582017-04-15T06:22:12 <wumpus> cfields: yep! exactly as it shoudl be
592017-04-15T06:22:27 <cfields> wumpus: and the fact that the check itself is compiled with sse4.2 :(
602017-04-15T06:22:33 <cfields> i wish that'd broken that out separately
612017-04-15T06:22:58 <wumpus> yea, the check itself must be outside that file
622017-04-15T06:23:06 <wumpus> otherwise it's kind of self-defeating
632017-04-15T06:23:13 <cfields> it's not though :(
642017-04-15T06:23:22 <wumpus> unless you use openssl-style detection (catch SIGILL)
652017-04-15T06:23:28 <wumpus> but that's not necessary for intel
662017-04-15T06:23:58 <wumpus> seems that should be an upstream patch then
672017-04-15T06:24:33 <wumpus> gah,clang documentation site is offline
682017-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.
692017-04-15T06:26:08 <wumpus> it could break once the compiler becomes smarter
702017-04-15T06:26:36 *** kadoban has quit IRC
712017-04-15T06:27:10 <cfields> right. upstream patch to break it out 100% would be cleaner. Will do.
722017-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...
732017-04-15T06:28:24 <wumpus> why is it always so darn hard to find a complete list of compiler flags
742017-04-15T06:28:25 <cfields> wtf would it buid with any -msse*? That's really annoying.
752017-04-15T06:36:29 * wumpus would like to see it try to generate sse4.2 instructions on ARM
762017-04-15T06:37:42 <cfields> challenge accepted!
772017-04-15T06:37:55 * cfields upstreams to arm, rather than leveldb
782017-04-15T06:41:33 <wumpus> uh oh, did you now start working on a arm microcode patch to accept sse4.2 instructions? :p
792017-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!
802017-04-15T06:48:51 <wumpus> transmeta: the sequel
812017-04-15T06:49:10 <cfields> haha
822017-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
832017-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
842017-04-15T06:56:13 <wumpus> luckily we now pass std=c++11 so don't have to worry about it
852017-04-15T07:12:49 *** RubenSomsen has quit IRC
862017-04-15T07:22:52 *** d9b4bef9 has quit IRC
872017-04-15T07:23:58 *** d9b4bef9 has joined #bitcoin-core-dev
882017-04-15T07:57:41 *** tw2006 has joined #bitcoin-core-dev
892017-04-15T08:02:16 *** tw2006 has quit IRC
902017-04-15T08:03:39 *** n1ce has quit IRC
912017-04-15T08:04:28 *** n1ce has joined #bitcoin-core-dev
922017-04-15T08:10:53 *** goksinen has joined #bitcoin-core-dev
932017-04-15T08:23:47 *** d_t has quit IRC
942017-04-15T08:28:19 *** n1ce_ has joined #bitcoin-core-dev
952017-04-15T08:30:15 *** n1ce has quit IRC
962017-04-15T08:41:52 *** Ylbam has joined #bitcoin-core-dev
972017-04-15T08:54:30 *** n1ce_ has quit IRC
982017-04-15T08:55:19 *** n1ce has joined #bitcoin-core-dev
992017-04-15T09:30:35 *** Guyver2 has joined #bitcoin-core-dev
1002017-04-15T09:46:39 *** tw2006 has joined #bitcoin-core-dev
1012017-04-15T09:51:08 *** tw2006 has quit IRC
1022017-04-15T09:51:57 *** RubenSomsen has joined #bitcoin-core-dev
1032017-04-15T09:54:28 *** n1ce has quit IRC
1042017-04-15T09:55:16 *** n1ce has joined #bitcoin-core-dev
1052017-04-15T09:59:38 <jonasschnelli> <*highlight> [22:09:48] <BlueMatt:#bitcoin-core-dev> jonasschnelli: hey
1062017-04-15T09:59:42 <jonasschnelli> BlueMatt: pong
1072017-04-15T10:00:27 *** RubenSomsen has quit IRC
1082017-04-15T10:36:59 *** CubicEarth has quit IRC
1092017-04-15T10:43:03 *** goksinen has quit IRC
1102017-04-15T11:02:05 *** laurentmt has joined #bitcoin-core-dev
1112017-04-15T11:04:06 *** laurentmt has quit IRC
1122017-04-15T11:05:44 *** Lauda has quit IRC
1132017-04-15T11:05:56 *** Lauda has joined #bitcoin-core-dev
1142017-04-15T11:35:19 *** goksinen has joined #bitcoin-core-dev
1152017-04-15T11:35:34 *** tw2006 has joined #bitcoin-core-dev
1162017-04-15T11:40:00 *** goksinen has quit IRC
1172017-04-15T11:40:04 *** tw2006 has quit IRC
1182017-04-15T11:45:07 *** n1ce_ has joined #bitcoin-core-dev
1192017-04-15T11:47:09 *** AaronvanW has joined #bitcoin-core-dev
1202017-04-15T11:48:14 *** n1ce has quit IRC
1212017-04-15T11:51:38 *** AaronvanW has quit IRC
1222017-04-15T11:53:02 *** AaronvanW has joined #bitcoin-core-dev
1232017-04-15T11:54:04 *** n1ce_ has quit IRC
1242017-04-15T11:54:55 *** n1ce has joined #bitcoin-core-dev
1252017-04-15T11:59:00 *** Lauda has quit IRC
1262017-04-15T11:59:11 *** Lauda has joined #bitcoin-core-dev
1272017-04-15T11:59:46 *** AaronvanW has quit IRC
1282017-04-15T12:05:52 *** AaronvanW has joined #bitcoin-core-dev
1292017-04-15T13:24:32 *** tw2006 has joined #bitcoin-core-dev
1302017-04-15T13:29:15 *** tw2006 has quit IRC
1312017-04-15T13:50:50 *** d_t has joined #bitcoin-core-dev
1322017-04-15T13:52:36 *** Giszmo has joined #bitcoin-core-dev
1332017-04-15T13:55:05 *** d_t has quit IRC
1342017-04-15T14:22:57 *** laurentmt has joined #bitcoin-core-dev
1352017-04-15T14:31:25 *** RubenSomsen has joined #bitcoin-core-dev
1362017-04-15T14:49:32 *** str4d has quit IRC
1372017-04-15T15:05:12 *** tw2006 has joined #bitcoin-core-dev
1382017-04-15T15:06:26 *** afk11 has quit IRC
1392017-04-15T15:07:11 *** afk11 has joined #bitcoin-core-dev
1402017-04-15T15:13:52 *** d9b4bef9 has quit IRC
1412017-04-15T15:14:58 *** d9b4bef9 has joined #bitcoin-core-dev
1422017-04-15T15:15:10 *** Chris_Stewart_5 has quit IRC
1432017-04-15T15:21:53 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1442017-04-15T15:22:34 *** LeMiner has quit IRC
1452017-04-15T15:28:12 *** LeMiner has joined #bitcoin-core-dev
1462017-04-15T15:33:52 *** moli_ has joined #bitcoin-core-dev
1472017-04-15T15:37:10 *** RubenSomsen has quit IRC
1482017-04-15T15:47:29 *** laurentmt has quit IRC
1492017-04-15T16:05:26 *** tw2006 has quit IRC
1502017-04-15T16:33:22 *** mol has joined #bitcoin-core-dev
1512017-04-15T16:36:24 *** moli_ has quit IRC
1522017-04-15T16:57:53 *** spinza has joined #bitcoin-core-dev
1532017-04-15T17:00:56 <BlueMatt> jonasschnelli: hey
1542017-04-15T17:06:26 *** tw2006 has joined #bitcoin-core-dev
1552017-04-15T17:10:46 *** tw2006 has quit IRC
1562017-04-15T17:21:57 *** dgenr8 has quit IRC
1572017-04-15T17:23:37 *** laurentmt has joined #bitcoin-core-dev
1582017-04-15T17:49:01 *** andytoshi has joined #bitcoin-core-dev
1592017-04-15T17:49:12 *** andytoshi has joined #bitcoin-core-dev
1602017-04-15T17:51:36 *** andytoshi has left #bitcoin-core-dev
1612017-04-15T17:55:14 *** goksinen has joined #bitcoin-core-dev
1622017-04-15T17:59:46 *** goksinen has quit IRC
1632017-04-15T18:34:55 *** dgenr8 has joined #bitcoin-core-dev
1642017-04-15T18:37:16 *** tw2006 has joined #bitcoin-core-dev
1652017-04-15T18:41:59 *** tw2006 has quit IRC
1662017-04-15T18:42:28 *** CubicEarth has joined #bitcoin-core-dev
1672017-04-15T18:49:39 *** laurentmt has quit IRC
1682017-04-15T18:52:45 *** bitdroid has quit IRC
1692017-04-15T18:54:20 *** n1ce has quit IRC
1702017-04-15T18:55:13 *** n1ce has joined #bitcoin-core-dev
1712017-04-15T19:18:05 *** Guyver2 has quit IRC
1722017-04-15T19:54:23 *** n1ce has quit IRC
1732017-04-15T19:55:13 *** n1ce has joined #bitcoin-core-dev
1742017-04-15T20:00:01 *** dgenr8 has quit IRC
1752017-04-15T20:17:32 *** AaronvanW has quit IRC
1762017-04-15T20:18:08 *** AaronvanW has joined #bitcoin-core-dev
1772017-04-15T20:21:39 *** AaronvanW has quit IRC
1782017-04-15T20:21:52 *** AaronvanW has joined #bitcoin-core-dev
1792017-04-15T20:23:33 *** AaronvanW has joined #bitcoin-core-dev
1802017-04-15T20:26:14 *** tw2006 has joined #bitcoin-core-dev
1812017-04-15T20:28:37 *** AaronvanW has quit IRC
1822017-04-15T20:30:35 *** tw2006 has quit IRC
1832017-04-15T20:48:13 *** AaronvanW has joined #bitcoin-core-dev
1842017-04-15T21:02:59 *** belcher has quit IRC
1852017-04-15T21:06:13 *** Evel-Knievel has quit IRC
1862017-04-15T21:10:08 *** AaronvanW has quit IRC
1872017-04-15T21:17:10 *** belcher has joined #bitcoin-core-dev
1882017-04-15T21:22:52 *** d9b4bef9 has quit IRC
1892017-04-15T21:23:57 *** d9b4bef9 has joined #bitcoin-core-dev
1902017-04-15T21:24:15 *** CubicEarth has quit IRC
1912017-04-15T21:24:16 *** belcher has quit IRC
1922017-04-15T21:24:55 *** CubicEarth has joined #bitcoin-core-dev
1932017-04-15T21:30:37 *** n1ce has quit IRC
1942017-04-15T21:31:58 *** goksinen has joined #bitcoin-core-dev
1952017-04-15T21:32:16 *** n1ce has joined #bitcoin-core-dev
1962017-04-15T21:36:35 *** goksinen has quit IRC
1972017-04-15T21:44:55 *** btcdrak has quit IRC
1982017-04-15T21:47:38 *** btcdrak has joined #bitcoin-core-dev
1992017-04-15T22:05:38 *** AaronvanW has joined #bitcoin-core-dev
2002017-04-15T22:06:34 *** Chris_Stewart_5 has quit IRC
2012017-04-15T22:08:26 *** Chris_Stewart_5 has joined #bitcoin-core-dev
2022017-04-15T22:14:57 *** mol has quit IRC
2032017-04-15T22:15:12 *** tw2006 has joined #bitcoin-core-dev
2042017-04-15T22:15:24 *** mol has joined #bitcoin-core-dev
2052017-04-15T22:15:32 *** laurentmt has joined #bitcoin-core-dev
2062017-04-15T22:19:47 *** tw2006 has quit IRC
2072017-04-15T22:24:09 *** Evel-Knievel has joined #bitcoin-core-dev
2082017-04-15T22:53:11 *** laurentmt has quit IRC
2092017-04-15T22:54:39 *** n1ce has quit IRC
2102017-04-15T22:55:27 *** n1ce has joined #bitcoin-core-dev
2112017-04-15T22:57:02 *** belcher has joined #bitcoin-core-dev
2122017-04-15T22:57:05 *** belcher has quit IRC
2132017-04-15T22:57:05 *** belcher has joined #bitcoin-core-dev
2142017-04-15T23:03:31 *** d_t has joined #bitcoin-core-dev
2152017-04-15T23:04:13 *** d_t has joined #bitcoin-core-dev
2162017-04-15T23:04:52 *** d_t has joined #bitcoin-core-dev
2172017-04-15T23:05:33 *** d_t has joined #bitcoin-core-dev