| 28 Jul 2025 |
raitobezarius (DECT: 7248) | exciting | 21:00:01 |
raitobezarius (DECT: 7248) | the end of the chromium thread being "this still doesn't work" | 21:01:19 |
raitobezarius (DECT: 7248) | I think I will need help on this because I don't have the time budget to go down on a linker journey with Apple macOS | 21:01:38 |
raitobezarius (DECT: 7248) | We can track the usage of flat_namespace as wrong and as an issue, document what we know and process this async | 21:02:02 |
raitobezarius (DECT: 7248) | https://gerrit.lix.systems/c/lix/+/3698/26 awesome | 21:08:04 |
raitobezarius (DECT: 7248) | the CI passed but my tests did not | 21:08:08 |
jade_ | that looks right, no? | 21:08:09 |
raitobezarius (DECT: 7248) | In reply to @jade_:matrix.org that looks right, no? the underscore yes | 21:08:18 |
raitobezarius (DECT: 7248) | the defined yes | 21:08:22 |
jade_ | oh yeah it does that | 21:08:25 |
raitobezarius (DECT: 7248) | dlopening it with two level namespaces does not run the static initializers | 21:08:40 |
raitobezarius (DECT: 7248) | i cannot see logs, i cannot register store | 21:08:45 |
raitobezarius (DECT: 7248) | the plugin is literally useless | 21:08:49 |
jade_ | you shouldn't need/want static initializers is the thing | 21:09:01 |
jade_ | we are trying to kill those and nix_plugin_entry is guaranteed to be called | 21:09:11 |
jade_ | so anything that you'd like to statically initialize can be initialized with that | 21:10:17 |
raitobezarius (DECT: 7248) | sure but they're not fully killed yet | 21:11:06 |
jade_ | yes, and the non killed ones can still be bypassed early | 21:11:20 |
jade_ | at the very least by new RegisterFoo() | 21:11:45 |
jade_ | are you saying that dlsym is busted? that's the only way I understand what you mean here | 21:14:47 |
raitobezarius (DECT: 7248) | dlsym works | 21:14:54 |
raitobezarius (DECT: 7248) | i get the proper handle to _nix_plugin_entry | 21:15:02 |
jade_ | then you shouldn't need the static initializer right? | 21:15:02 |
raitobezarius (DECT: 7248) | what init sequence do we offer for plugin? | 21:15:19 |
raitobezarius (DECT: 7248) | how do I init the logger? | 21:15:23 |
jade_ | you shouldn't need to? you use the one from nix::logger | 21:15:39 |
jade_ | and let the rest of the nix deal wtih it | 21:15:46 |
raitobezarius (DECT: 7248) | ok, it's busted | 21:15:48 |
raitobezarius (DECT: 7248) | using Nix's logger doesn't work | 21:15:58 |
jade_ | O_o | 21:16:01 |