IRC channel logs

2021-05-25.log

back to list of logs

<Hagfish> https://r13y.com/ hmm, i don't think i've seen this result before: "1670 out of 1672 (99.88%) paths in the minimal installation image are reproducible!"
<Hagfish>ruby2.7.3-nokogiri-1.11.1.drv and ruby2.7.3-racc-1.5.2.drv are the culprits
<Hagfish>not sure i've seen them on the list either
<Melg8>no, that's new, before that gcc-10.2 were on list
<stikonas>fossy: any idea how to fix this https://github.com/fosslinux/live-bootstrap/pull/121/checks?check_run_id=2660075346 ?
<stikonas>maybe cirrus doesn't have CAP_SYS_ADMIN...
<stikonas>hmm, maybe you can't get root there...
<Hagfish>it's weird to think that a couple of ruby packages are more difficult than gcc, and the kernel, etc.
<Hagfish>but that's maybe an encouraging sign for a project that doesn't have ruby on the critical path
***sm2n_ is now known as sm2n
***Server sets mode: +cnt
<ekaitz>hi oriansj
<ekaitz>i sent a PR to bootstrap-seeds with the RV64I port of hex0 it works returning the result to the stdout but I don't know why is not able to open a file
<ekaitz>that's why is set to WIP, but the algorithm it is actually working
<xentrac>congratulations! that's huge progress!
<ekaitz>:)
<xentrac>can you run it under strace?
<ekaitz>i didn't try
<xentrac>that's usually how I diagnose problems like "why isn't this opening a file"
<ekaitz>let's do it
<ekaitz>oh xentrac I think I have something... hmmm
<ekaitz>I'll need to dig further
<ekaitz>looks like it's opening the input file for writing :D
<xentrac>hahaha oops
<xentrac>hooray!
<ekaitz>now the funny thing is that I don't really know why is it doing that LOL
<ekaitz>lol no clue
<xentrac>well, probably whatever register has th esecond argument to open() has the wrong value in it
<ekaitz>ofc, but... hmm
<ekaitz>i'll dig on it later... meanwhile if anyone wants to take a look there's the link to the PR
<ekaitz>also, I didn't bother to close the files I opened, is that an issue?
<ekaitz>:S
<ekaitz>(i realized now)
<xentrac>Linux will close them for you when your process exits
<xentrac>I have seen programming environments (Pascal on MS-DOS) where failing to close output files can result in the output buffers not getting flushed, but I don't think that's an issue here
<ekaitz>yeah... but it's a good practice and all that
<ekaitz>i saw the other hex0 files don't close them neither so :)
<ekaitz>aiight so I'll gdb on this little boy later and see what's going on... thanks for the help!
<xentrac>in this context I would say to keep unnecessary code to a strict minimum, because it's more stuff to audit
<ekaitz>xentrac: the register was loaded wrong. Just as you predicted
<xentrac>yay!
*xentrac debugs ekaitz's code by telepathy
<ekaitz>:P
<ekaitz>there was no other option... openat takes the arg in a register ;)
<xentrac>yeah :)
<xentrac>logic ≈ telepathy
<ekaitz>:P
<ekaitz>so: https://github.com/oriansj/bootstrap-seeds/pull/2/commits it's not a WIP anymore
<xentrac>hooray!
<xentrac>congratuations!
<ekaitz>:))))
<ekaitz>thanks! and thanks for the help!
<xentrac>delighted my "help" was actual help ;)
<ekaitz>just being there in the other side means a lot
<ekaitz>but the strace helped
<xentrac>it's super exciting to get things up on RISC-V!
<ekaitz>its a better architecture for a better world ;)
<xentrac>well, I like it a lot
<xentrac>oriansj was appalled by the instruction encoding :)
<ekaitz>xentrac: some instructions are pretty crazy, yeah
<ekaitz>in some of them the bits of the immediate are split in small chuncks and scrambled like crazy
<ekaitz>for no aparent reason btw
<xentrac>yeah, the spec actually explains why this is
<xentrac>in their first few prototypes the fanout of the immediate sign bit was the limiting factor in the speed of the whole design
<xentrac>so they redesigned the instruction format to be able to start that process at an earlier pipeline stage
<ekaitz>xentrac: that's understandable
<ekaitz>(still funny)
<xentrac>yeah, it has a very high WTF factor
<xentrac>oriansj described it, incorrectly I think, as a premature optimization
<ekaitz>:)
<xentrac>with several choice expletives ;)
<stikonas>fossy: by the way, perl 5.34 is now out. Although, if it's non-trivial to upgrade, we can just stay with 5.32.1
***hl_ is now known as hl
<fossy>stikonas: ill do that soon. Merge 5.32 for now. Differences are probably marginal
<stikonas>fossy: well, it's ready to go, just remove that double space
<stikonas>oh, it's already fixed
<stikonas>ok, let's merge it
<stikonas>that shouldn't affect CI
<stikonas>and CI is already broken anyway
<stikonas>it won't reach perl...
<stikonas>ok, merged
<stikonas>so I have 2 small PRs that can be merged
<stikonas>but I'm running out of ideas with that draft PR
<stikonas>to fix CI
<fossy>could change ci providera
<stikonas>possibly...