worldofpeace changed the topic of #nixos-dev to: NixOS Development (#nixos for questions) | NixOS 20.09 Nightingale ✨ https://discourse.nixos.org/t/nixos-20-09-release/9668 | https://hydra.nixos.org/jobset/nixos/trunk-combined https://channels.nix.gsc.io/graph.html | https://r13y.com | 20.09 RMs: worldofpeace, jonringer | https://logs.nix.samueldr.com/nixos-dev
joepie91 has quit [Quit: killed]
enick_64 has joined #nixos-dev
enick_64 has joined #nixos-dev
enick_64 has joined #nixos-dev
enick_64 has quit [Changing host]
enick_64 is now known as joepie91
supersandro2000 has quit [Disconnected by services]
supersandro2000 has joined #nixos-dev
dstzd has quit [Quit: ZNC - https://znc.in]
orivej has joined #nixos-dev
ris has quit [Ping timeout: 264 seconds]
LnL has quit [Quit: exit 1]
LnL has joined #nixos-dev
LnL has quit [Changing host]
LnL has joined #nixos-dev
dstzd has joined #nixos-dev
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-dev
jonringer has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 264 seconds]
rajivr has joined #nixos-dev
pmy_ has quit [Ping timeout: 260 seconds]
pmy_ has joined #nixos-dev
orivej has joined #nixos-dev
mkaito has quit [Quit: WeeChat 3.0]
orivej has quit [Ping timeout: 240 seconds]
supersandro2000 has quit [Quit: The Lounge - https://thelounge.chat]
supersandro2000 has joined #nixos-dev
primeos has quit [Quit: WeeChat 2.8]
nbp has quit [Ping timeout: 265 seconds]
nbp has joined #nixos-dev
primeos has joined #nixos-dev
cole-h has quit [Ping timeout: 260 seconds]
justan0theruser has quit [Ping timeout: 268 seconds]
orivej has joined #nixos-dev
__monty__ has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus_ has quit [Client Quit]
lassulus_ has joined #nixos-dev
lassulus_ has quit [Client Quit]
lassulus has quit [Quit: WeeChat 2.9]
lassulus has joined #nixos-dev
justan0theruser has joined #nixos-dev
Synthetica has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
<flokli> hoof, any recommendations on how to chase dlopen calls? Let's say I want to package something producing multiple binaries, shared libraries etc., and I don't exactly know where the dlopen() calls end up in (and this could even change over time). Is there a way to tell the compiler/linker to "add some notes" to the ELF, so this is easier to find and add later on?
<sphalerite> flokli: hook in a logging wrapper for dlopen using LD_PRELOAD?
<flokli> I don't want to instrument it after build
<flokli> I'm thinking more about marking these functions external, and looking at the symbol table
<sphalerite> hm, shouldn't the symbol table and the memory map help you work out what comes from which file?
<sphalerite> or am I still misunderstanding what you want to achieve?
<JJJollyjim> i don't really follow
<JJJollyjim> you want to statically analyze the names of functions that will be imported via dlopen?
<flokli> I want to "taint" functions running dlopen, so I can later inspect the ELF and add to RUNPATH where needed
<flokli> I thought about externally_visible
<flokli> let's say, on the compiled thing, I search for "dlopen_libfoobar", and add ${foobar}/lib to its RUNPATH if I can find it
<JJJollyjim> ahh, cos dlopen_libfoobar is in some subset of the produced binariess
<JJJollyjim> got it
<flokli> or libraries
<flokli> yes
<flokli> does that make any sense?
<JJJollyjim> yeah
<flokli> I mean, static analysis on all of the binary blurb in all ELF-typed files in the output, looking for dlopen calls and the string it's called with would be the alternative
<flokli> but it's probably much more complicated and error-prone
orivej has joined #nixos-dev
justan0theruser has quit [Ping timeout: 240 seconds]
pmy_ has quit [Ping timeout: 240 seconds]
justanotheruser has joined #nixos-dev
pmy_ has joined #nixos-dev
orivej has quit [Quit: orivej]
orivej has joined #nixos-dev
tokudan has quit [Remote host closed the connection]
orivej_ has joined #nixos-dev
orivej has quit [Ping timeout: 246 seconds]
tokudan has joined #nixos-dev
<flokli> mmmhhh… apparently externally_visible is ignored, meh
justanotheruser has quit [Read error: Connection reset by peer]
mkaito has joined #nixos-dev
mkaito has joined #nixos-dev
mkaito has quit [Changing host]
<flokli> oh, it's not ignored
<flokli> but binaries don't need to expose their symbols in the ELF ;-)
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #nixos-dev
bridge[evilred] has quit [Remote host closed the connection]
justanotheruser has joined #nixos-dev
bridge[evilred] has joined #nixos-dev
jonringer has joined #nixos-dev
orivej has quit [Ping timeout: 240 seconds]
justanotheruser has quit [Ping timeout: 240 seconds]
kl3 has joined #nixos-dev
ris has joined #nixos-dev
cole-h has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 260 seconds]
lassulus_ is now known as lassulus
rajivr has quit [Quit: Connection closed for inactivity]
v0|d has joined #nixos-dev
AlwaysLivid has joined #nixos-dev
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-dev
lassulus_ has joined #nixos-dev
lassulus has quit [Ping timeout: 268 seconds]
lassulus_ is now known as lassulus
Scriptkiddi has quit [Quit: killed]
ajs124 has quit [Quit: killed]
das_j has quit [Quit: killed]
ajs124 has joined #nixos-dev
Scriptkiddi has joined #nixos-dev
das_j has joined #nixos-dev
AlwaysLivid has quit [Remote host closed the connection]
AlwaysLivid has joined #nixos-dev
lassulus has quit [Remote host closed the connection]
asymmetric has quit [Quit: Peace.]
asymmetric has joined #nixos-dev
lassulus has joined #nixos-dev
AlwaysLivid has quit [Ping timeout: 272 seconds]
v0|d has quit [Ping timeout: 256 seconds]
Synthetica has quit [Quit: Connection closed for inactivity]
* lukegb looks at nixos-unstable
* lukegb sighs
<gchristensen> what's the blocker?
<lukegb> various tests, simpleUefiSystemBoot atm
<gchristensen> ouch
<lukegb> one of the tests looked like it might've been stuck due to, err, needing udev to do a thing, but not actually waiting for it
<lukegb> I can't help but feel like a lot of the nixos tests end up like that (just lucking out on $asynchronous_thing happening in background rather than waiting for it to happen)
<gchristensen> those would be good bugs to fix... they're tricky ones
<lukegb> yeah
<lukegb> ah, actually, simpleUefiSystemdBoot seems broken because the qemu invocation is broken
<lukegb> (fixed in 57a787c9fa91f149c86a1ce83d57e07cfa589e07)
orivej has joined #nixos-dev
justanotheruser has joined #nixos-dev
<JJJollyjim> i saw a facebook engineering blog post about statistical methods for figuring out which tests are unreliable
<JJJollyjim> but I can't find it now
<qyliss> sure it wasn't github? they published one just like that the other day
<JJJollyjim> ah yep flakiness was the word i couldn't think of
<JJJollyjim> i used to work on samba and for some reason they call it flappiness, which has infected my brain
<qyliss> lol