I have added some comments to 190 and 689. I think fixing 689 (and then TLS which is much harder) should be priority to make OSv better support pies.
I am not sure about other distributions but many (maybe majority) of apps on Ubuntu 18.10 are pies. For example I was able to run completely unmodified Python 2.7 from host on OSv. Waldek On Wednesday, April 10, 2019 at 3:59:22 PM UTC-4, Nadav Har'El wrote: > > > On Wed, Apr 10, 2019 at 10:38 PM Waldek Kozaczuk <[email protected] > <javascript:>> wrote: > >> Given that: >> >> - https://github.com/cloudius-systems/osv/issues/213 >> >> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcloudius-systems%2Fosv%2Fissues%2F213&sa=D&sntz=1&usg=AFQjCNFm9MZvq20-bJjZPElPE6wFQfk_qQ> >> (closed) >> - Allow running position-independent executables (PIE) >> - https://github.com/cloudius-systems/osv/issues/352 >> >> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcloudius-systems%2Fosv%2Fissues%2F352&sa=D&sntz=1&usg=AFQjCNFtttjBKRg5qMkih4b63qicu1hq7Q> >> - >> Thread-local storage doesn't work in PIE >> - https://github.com/cloudius-systems/osv/issues/190 >> >> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcloudius-systems%2Fosv%2Fissues%2F190&sa=D&sntz=1&usg=AFQjCNFMqyljHcHJWq9-4F08OFRKSeh2iA> >> - >> Allow running a single unmodified Linux executable >> - https://github.com/cloudius-systems/osv/issues/212 >> >> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fcloudius-systems%2Fosv%2Fissues%2F212&sa=D&sntz=1&usg=AFQjCNHxfOOMvmGpj6Yc_hDOgUYJ0WgVyw> >> - >> Allow running a statically-compiled Linux executable >> >> shall we simply change this: >> "Currently, OSv can only run executables in relocatable shared object >> (".so") form. Support for running position-independent executables ("PIE") >> is planned, but not yet available. Support for running a standard Linux >> executable (non-relocatable dynamically linked executable) is also planned. >> Support for running statically linked executables will be harder." >> >> to >> >> "Currently, OSv can run executables in relocatable shared object (".so") >> form and as well as position-independent executables ("PIE") as long as >> they do not use TLS. Support for running a standard Linux executable >> (non-relocatable dynamically linked executable) is also planned. Support >> for running statically linked executables will be harder." ? >> > > Yes, however unfortunately TLS support is not the only bug we have with > PIE - there's also > https://github.com/cloudius-systems/osv/issues/689 (caused by "copy > relocations") which breaks applications using "optarg" in silly - but > fail-causing - ways. > > > -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
