the appended patch makes libcrypto.so compile without executable stack requirements. it should be portable accross all versions of binutils

x86unix.pl is called to generate output suitable not only for GNU assembler [applies to ELF, COFF and a.out targets], but even for vendor assemblers, for example Suns. So one either have to complement it with a way to *reliably* identify when binutils are deployed or adhere to alternative method, such as previously suggested -Wa,--noexecstack.

(and doesn't affect any non-linux platform anyway).

How come it turns from unsure "should be portable" to definitive "doesn't affect" so easily:-) Indeed, "should be portable" is more like "well, i didn't actually test every single version," right? And it's fine! But "doesn't affect" is pretty much "i've tested every damn non-linux platform and not single one failed" and it doesn't really win the confidence:-)

But anyway. My vote goes to alternative method, which can be deployed as easily as './config -Wa,--noexecstack' prior make. Because it can be taylored to various needs/environments as easy as it can be deployed and without headaches of cross-platform verification or running into subtle bugs. It appears that alternatively one can throw in -Wl,-z,-noexecstack... A.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to