Commit 0382c95e authored by Andy Polyakov's avatar Andy Polyakov
Browse files

OpenBSD FAQ update. Apparently gas from binutils-2.x makes it impossible to

use gcc -fPIC ... on OpenBSD-i386. Alternative solution is provided.
parent fda20f08
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -577,10 +577,10 @@ As of 0.9.7 assembler routines were overhauled for position independence
of the machine code, which is essential for shared library support. For
of the machine code, which is essential for shared library support. For
some reason OpenBSD is equipped with an out-of-date GNU assembler which
some reason OpenBSD is equipped with an out-of-date GNU assembler which
finds the new code offensive. To work around the problem, configure with
finds the new code offensive. To work around the problem, configure with
no-asm (and sacrifice a great deal of performance) or upgrade /usr/bin/as.
no-asm (and sacrifice a great deal of performance) or patch your assembler
according to <URL: http://www.openssl.org/~appro/gas-1.92.3.OpenBSD.patch>.
For your convenience a pre-compiled replacement binary is provided at
For your convenience a pre-compiled replacement binary is provided at
http://www.openssl.org/~appro/i386-openbsd3-as, which is compiled from
<URL: http://www.openssl.org/~appro/gas-1.92.3.OpenBSD.bin>.
binutils-2.8 released in 1997.


[PROG] ========================================================================
[PROG] ========================================================================