!kyXJonZuBXCGzVwuSn:nixos.org

Systems Programming

305 Members
Kernel, stdenv, low-level hacking, patchelf, … 76 Servers

Load older messages


SenderMessageTime
13 Jul 2023
@sorear:matrix.orgsorear joined the room.23:48:56
15 Jul 2023
@qubasa:gchq.icuQubasa Mic92: This is pretty cool, do you think it would break stuff if we did this by default in NixOS? https://github.com/wheybags/glibc_version_header 12:19:01
@joerg:thalheim.ioMic92
In reply to @qubasa:gchq.icu
Mic92: This is pretty cool, do you think it would break stuff if we did this by default in NixOS? https://github.com/wheybags/glibc_version_header
What's the benefit to do this by default. NixOS adds rpath and therefore introduces glibc dependencies.
17:59:45
@joerg:thalheim.ioMic92* In reply to @qubasa:gchq.icu Mic92: This is pretty cool, do you think it would break stuff if we did this by default in NixOS? https://github.com/wheybags/glibc_version_header What's the benefit to do this by default? NixOS adds rpath and therefore introduces glibc dependencies.17:59:57
@joerg:thalheim.ioMic92* In reply to Qubasa Mic92: This is pretty cool, do you think it would break stuff if we did this by default in NixOS? https://github.com/wheybags/glibc_version_header In reply to @qubasa:gchq.icu Mic92: This is pretty cool, do you think it would break stuff if we did this by default in NixOS? https://github.com/wheybags/glibc_version_header What's the benefit to do this by default? NixOS adds rpath and therefore introduces lib dependencies. 18:00:14
@qubasa:gchq.icuQubasaIt would make flakes inputs truly compatible because right now if you have an input that has a mismatching glibc binary you get really difficult to traceback errors 18:18:55
@qubasa:gchq.icuQubasa* It would make flakes inputs truly compatible because right now if you have an input that has a mismatching glibc binary you get really complicated errors 18:19:28
@k900:conduit.0upti.meK900 (deprecated)Not really 18:25:09
@k900:conduit.0upti.meK900 (deprecated)If those things still load two glibcs18:25:22
@k900:conduit.0upti.meK900 (deprecated)Which they will 18:25:25
@k900:conduit.0upti.meK900 (deprecated)It'll still explode, just in a different way 18:25:32
@qubasa:gchq.icuQubasaNo it shouldn't, glibc ships every old version of a function within, so with this trick everything would just depend on the oldest glibc, and use the oldest functions. Of course it doesn't have to be the oldest function we could also set a sensible minimum version. 18:55:41
@k900:conduit.0upti.meK900 (deprecated)It still will because we directly stick glibc into every binary's rpath18:56:10
@k900:conduit.0upti.meK900 (deprecated)And if we stop doing that, we'll need some weird global ambient glibc18:56:21
@k900:conduit.0upti.meK900 (deprecated)Which we explicitly not want18:56:28
@k900:conduit.0upti.meK900 (deprecated) * Which we explicitly do not want18:56:31
@k900:conduit.0upti.meK900 (deprecated)It will also break reference tracking and such18:57:15
@qubasa:gchq.icuQubasa
In reply to @k900:conduit.0upti.me
It still will because we directly stick glibc into every binary's rpath
We can still stick glibc into every rpath, and we don't need a global glibc. What we would need is add a flag to C_FLAGS that includes this magic header file. That's it.
18:59:54
@k900:conduit.0upti.meK900 (deprecated)No18:59:59
@k900:conduit.0upti.meK900 (deprecated)If we stick glibc into every rpath, two different libraries will load two different glibcs19:00:13
@k900:conduit.0upti.meK900 (deprecated)And that will still explode19:00:17
@qubasa:gchq.icuQubasawhy so? If they use the same functions? Because of inner glibc state?19:01:13
@k900:conduit.0upti.meK900 (deprecated)Because there's a huge pile of global state in glbic19:01:25
@k900:conduit.0upti.meK900 (deprecated) * Because there's a huge pile of global state in glibc19:01:27
@qubasa:gchq.icuQubasaahhh19:01:29
@qubasa:gchq.icuQubasawell that sucks19:01:35
16 Jul 2023
@windchimesofmagic:matrix.orgwindchimesofmagic joined the room.02:36:19
20 Jul 2023
@fpletz:lodere.esfpletz changed their profile picture.03:29:41
24 Jul 2023
@tamtaram:chat.heizhaus.orgTamara (dm me on @tammeyy:winter-cottage.eu please) changed their display name from Tamara to Tamara (she/they).15:07:48
@k900:conduit.0upti.meK900 (deprecated) changed their profile picture.15:45:00

Show newer messages


Back to Room ListRoom Version: 6