| 21 Jan 2026 |
leona |
dlopen and dlmopen no longer make the stack executable if a shared library requires it, either implicitly because of a missing GNU_STACK ELF header (and default ABI permission having the executable bit set) or explicitly because of the executable bit in GNU_STACK, and the stack is not already executable. Instead, loading such objects will fail.
| 21:34:01 |
Gaétan Lepage | Oh right. So the "proper fix" that was supposedly integrated in 1.23.1, is not really enough? Should we add these flags back then? | 21:38:49 |
leona | Apparently or it's something in the pybind foo in the python library, I think nobody here knows | 21:39:26 |
Gaétan Lepage | Reverting https://github.com/NixOS/nixpkgs/pull/479191 fixes python3Packages.onnxruntime. | 21:45:48 |
Gaétan Lepage | Setting env.NIX_LDFLAGS = "-z,noexecstack"; in the python derivation doesn't seem to be necessary. | 21:48:40 |
hexa | well, those are linker flags | 21:48:59 |