--- Log opened Wed Oct 06 00:00:27 2021 03:05 -!- belcher_ is now known as belcher 04:07 < laanwj> musl based build :o 08:21 -!- tla2k21 [~tla2k21@gateway/tor-sasl/tla2k21] has quit [Ping timeout: 276 seconds] 08:35 -!- tla2k21 [~tla2k21@gateway/tor-sasl/tla2k21] has joined #bitcoin-core-builds 09:33 < laanwj> it's compiling on risc-v, simply seems to work w/ the same instructions (besides arch tuple, ofc) 09:39 < laanwj> really fantastic 09:45 < sipa> nice 10:04 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Quit: Leaving] 10:05 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #bitcoin-core-builds 10:12 < laanwj> oh--it's failing on linking, seems it compiled secp256k1 with x86 assembly and it only notices in the link phase 10:13 < laanwj> i guess __asm__ blocks are stored as text in the ir, that makes some sense 10:13 < sipa> use --without-asm 10:13 < laanwj> good idea 10:20 < laanwj> nice, the test_bitcoin binary runs in a chroot without anything besides a /tmp 10:21 < laanwj> (well, the boost::process::run test fails but that's to be expected, whatever command it's using to test won't exist) 10:23 < laanwj> and so does bitcoind! 10:25 < sipa> nice 10:25 < sipa> does that work with glibc too. 10:25 < sipa> ? 10:25 < laanwj> no, that's impossible with glibc 10:26 < laanwj> i don't really understand, e.g. how does it even know what DNS to use 10:26 < sipa> huh, indeed 10:26 < sipa> does it? 10:27 < sipa> maybe all dns seed lookups are just failing? 10:28 < laanwj> 2021-10-06T17:24:06Z 0 addresses found from DNS seeds 10:28 < laanwj> right, it doesn't 10:28 < sipa> but it still connects? 10:28 < laanwj> yes, it syncs, i guess with the built-in seeds 10:29 < laanwj> 2021-10-06T17:24:22Z Adding fixed seeds as 60 seconds have passed and addrman is empty 10:31 < sipa> nice 10:31 < sipa> do you know why glibc fails to run in chroot? 10:31 < laanwj> with glibc this would fail because it tries to load dynamic libraries for DNS, even when statically compiled, it's never *really* static 10:33 < laanwj> musl is the only way (AFAIK) to make entirely self-contained binaries 10:34 < sipa> ah, sure, i knew that 10:35 < sipa> but a chroot with the right libraries in might work 10:35 < sipa> ? 10:35 < laanwj> oh sure 10:36 < laanwj> usually you need at least a minimum /dev too with some things like zero and null, it's likely some things fail now, but it's neat to see how minimal it can get 10:40 < sipa> any reason to assume things would be slower with musl? 10:43 < laanwj> i remember reading its malloc implementation is slower than glibc's, besides that, no, i imagine with static linking + lto some things might be faster, as it can optimize even over boundaries with the c library 10:44 < sipa> malloc performance may matter a lot, but it's hard to predict its impact 10:44 < laanwj> right 10:58 < laanwj> for the record, DNS seeds work fine if there is a /etc/resolv.conf with the correct DNS info 16:21 -!- belcher [~belcher@user/belcher] has quit [Ping timeout: 264 seconds] 16:34 -!- belcher [~belcher@user/belcher] has joined #bitcoin-core-builds --- Log closed Thu Oct 07 00:00:28 2021