You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brad <br...@comstyle.com> on 2001/01/25 17:20:57 UTC
[PATCH] OpenBSD
Can this small patch be applied to Apache 1.3 ...
// Brad
brad@comstyle.com
brad@openbsd.org
--- Configure.orig Thu Jan 25 10:28:00 2001
+++ Configure Thu Jan 25 10:29:11 2001
@@ -1093,9 +1093,11 @@
*-openbsd*)
PLATOSVERS=`echo $PLAT | sed 's/^.*openbsd//'`
CFLAGS_SHLIB="-fPIC"
+ LDFLAGS_SHLIB_EXPORT=""
+ SHLIB_SUFFIX_DEPTH=2
case "$PLATOSVERS" in
- 2.[01234567])
- LDFLAGS_SHLIB="-Bshareable -Bforcearchive"
+ [01].*|2.[0-7]|2.[0-7].*)
+ LDFLAGS_SHLIB="-Bshareable"
;;
*)
LD_SHLIB="gcc"
@@ -1103,8 +1105,6 @@
;;
esac
LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
- LDFLAGS_SHLIB_EXPORT=""
- SHLIB_SUFFIX_DEPTH=2
;;
*-netbsd*)
CFLAGS_SHLIB="-fPIC -DPIC"
Re: [PATCH] OpenBSD
Posted by Brad <br...@comstyle.com>.
What's the hold up on this ?
// Brad
brad@comstyle.com
brad@openbsd.org
>Ok, now that 1.3.17 is out can this patch please be applied ...
>
>For the over paranoid, here's the description of the flag from the linker
>man page.
>
>-Bforcearchive
> Force all members of archives to be loaded, whether or not such
> members contribute a definition to any plain object files. Useful
> for making a shared library from an archive of PIC objects with-
> out having to unpack the archive.
>
>// Brad
>
>brad@comstyle.com
>brad@openbsd.org
>
>>This isn't in reaction to a bug report, this is because the flag
>>"-Bforcearchive" is unnecessary for building the shared objects as is
>>currently done. It's only needed when building a shared object from an
>>archive containing objects compiled with PIC code.
>>
>>// Brad
>>
>>brad@comstyle.com
>>brad@openbsd.org
>>
>>>Brad <br...@comstyle.com> wrote:
>>>>Can this small patch be applied to Apache 1.3 ...
>>>
>>>Sure. I'd be happier if you point us at an OpenBSD bug report or
>>>something, because I'm feeling paranoid right now.
Re: [PATCH] OpenBSD
Posted by Brad <br...@comstyle.com>.
Ok, now that 1.3.17 is out can this patch please be applied ...
For the over paranoid, here's the description of the flag from the linker
man page.
-Bforcearchive
Force all members of archives to be loaded, whether or not such
members contribute a definition to any plain object files. Useful
for making a shared library from an archive of PIC objects with-
out having to unpack the archive.
// Brad
brad@comstyle.com
brad@openbsd.org
>This isn't in reaction to a bug report, this is because the flag
>"-Bforcearchive" is unnecessary for building the shared objects as is
>currently done. It's only needed when building a shared object from an
>archive containing objects compiled with PIC code.
>
>// Brad
>
>brad@comstyle.com
>brad@openbsd.org
>
>>Brad <br...@comstyle.com> wrote:
>>>Can this small patch be applied to Apache 1.3 ...
>>
>>Sure. I'd be happier if you point us at an OpenBSD bug report or
>>something, because I'm feeling paranoid right now.
Re: [PATCH] OpenBSD
Posted by Brad <br...@comstyle.com>.
This isn't in reaction to a bug report, this is because the flag
"-Bforcearchive" is unnecessary for building the shared objects as is
currently done. It's only needed when building a shared object from an
archive containing objects compiled with PIC code.
// Brad
brad@comstyle.com
brad@openbsd.org
>Brad <br...@comstyle.com> wrote:
>>Can this small patch be applied to Apache 1.3 ...
>
>Sure. I'd be happier if you point us at an OpenBSD bug report or
>something, because I'm feeling paranoid right now.
Re: [PATCH] OpenBSD
Posted by Tony Finch <do...@dotat.at>.
Brad <br...@comstyle.com> wrote:
>Can this small patch be applied to Apache 1.3 ...
Sure. I'd be happier if you point us at an OpenBSD bug report or
something, because I'm feeling paranoid right now.
Tony.
--
f.a.n.finch fanf@covalent.net dot@dotat.at
"You realize there's a government directive stating
that there is no such thing as a flying saucer?"