dso.html.en

Checkout Tools
  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 97868 is being indexed.

update transformation: part V/V

  1. … 57 more files in changeset.
update English transformation

(a lot of stuff, sorry!; whe should really improve the page headers for

better diffs....)

  1. … 118 more files in changeset.
Fix typo.

Submitted by: Luiz Rocha <lsdr@lsdr.net>

  1. … 1 more file in changeset.
transform update, perhaps this is the last big one...

  1. … 29 more files in changeset.
Transform updates.

Sorry for the massive diff folks. I fell personally responsible for clogging

the Internet.

  1. … 79 more files in changeset.
Update transformations.

  1. … 20 more files in changeset.
Updated XML plus transformations. This was the last one. Puhh.

  1. … 27 more files in changeset.
fix the example apxs -i invocation to work with the Apache 2.0 build

mechanism

PR: 12151

Submitted by: god@ogmc.ru

Reviewed by: Jeff Trawick

  1. … 3 more files in changeset.
New XML

  1. … 1 more file in changeset.
Fix typo.

  1. … 1 more file in changeset.
Ran w3c tidy on these as 'tidy -mi -asxml' to get xhtml. Please verify,

in particular, the non-english files, to make sure I did not screw

anything up. They look fine to me.

  1. … 46 more files in changeset.
Couple small updates to dso.html

  1. … 1 more file in changeset.
Finish some cleanup that Ryan started on dso.html:

- Add a sumary, index, ext

- put the most important stuff at the top

- remove some obsolete stuff

  1. … 1 more file in changeset.
Update the DSO docs for Apache 2.0

PR: 6879

  1. … 1 more file in changeset.
Adding references to html'ized man pages where appropriate.

  1. … 10 more files in changeset.
update some references to the old prefix/libexec directory

  1. … 5 more files in changeset.
Documentation for the Netware port

Submitted by: Mike Gardiner

  1. … 3 more files in changeset.
Add DGUX...

  1. … 1 more file in changeset.
Update DSO status...

  1. … 1 more file in changeset.
Add Apple platforms.

Update the date.

  1. … 1 more file in changeset.
Update some supported platforms.

  1. … 1 more file in changeset.
PORT: Add Dynamic Shared Object (DSO) support for BSDI (v4.0).

Submitted by: Tom Serkowski <tks@bsdi.com>

PR: 3453

  1. … 1 more file in changeset.

More documentation consistency cleanup for 1.3.2.

  1. … 33 more files in changeset.
Rename some references in the docs from the old "OSF1" term to the official

term "Digital UNIX".

Submitted by: Robert Urban <urban@rto.dec.com>

  1. … 1 more file in changeset.
Link DSO modules against possible libraries from $(LIBS) (take 2)

=================================================================

Currently we have the following entry in our dso.html document:

| Because DSO modules cannot be linked against other DSO-based libraries (ld

| -lfoo) on all platforms (for instance a.out-based platforms usually don't

| provide this functionality while ELF-based platforms do) you cannot use the

| DSO mechanism for all types of modules. Or in other words, modules compiled as

| DSO files are restricted to only use symbols from the Apache core, from the C

| library (libc) and all other dynamic or static libraries used by the Apache

| core, or from static library archives (libfoo.a) containing position

| independend code. The only chance to use other code is to either make sure the

| Apache core itself already contains a reference to it or loading the code

| yourself via dlopen().

The important part here is: "cannot be linked .... on all platforms". But

there _are_ platform (especially ELF-based ones) which support linking DSO

files agains other DSO files. And even on platforms where this is not

possible is it possible to at least link against libraries assuming they

contain PIC code.

So, the idea is this: In the configuration process we already determine the

variable LDFLAGS and LIBS. They hold -L and -l options for linking

executables. We parse these options and separate them into three classes:

OBJ, PIC and DSO. And then we re-assemble a LIBS_SHLIB variable from only the

options in classes PIC and DSO. This variable is then used on the build

command for mod_xxx.so.

Example:

| $ ./configure --prefix=/tmp/apache \

| --enable-module=auth_db \

| --enable-shared=auth_db \

| --enable-rule=SHARED_CHAIN

Without SHARED_CORE the mod_auth_db.so cannot be linked or at least not loaded

correctly under run-time. With SHARED_CHAIN enabled it is linked against the

libdb.so and all is fine (at least under this ELF-based Debian box I tried):

| :> make mod_auth_db.so

| gcc -c -I../../os/unix -I../../include -I/usr/include/ -DLINUX=2

| -DUSE_HSREGEX `../../apaci` -fpic -DSHARED_MODULE mod_auth_db.c && mv

| mod_auth_db.o mod_auth_db.lo

| ld -Bshareable -o mod_auth_db.so mod_auth_db.lo -lm -ldb

| root@gw1:/e/apache/SRC/WORK/apache-1.3-libsshlib/src/modules/standard

| :> ldd mod_auth_db.so

| ./mod_auth_db.so => ./mod_auth_db.so

| libc.so.5 => /lib/libc.so.5

| libm.so.5 => /lib/libm.so.5

| libdb.so.1 => /usr/lib/libdb.so.1

This way we provide the maximum we can provide. Sure, on some platforms the

user still has no chance. But this shouldn't mean he becomes no chance on

other platforms where there _is_ a chance. So this patch is a first step for

more friendly and flexible DSO support.

The complete mechanism is triggered by a new Rule named SHARED_CHAIN. To avoid

problems this is DISABLED(!) for ALL(!) platforms currently. But when

experience shows that it worked fine for users we can enable it for tested

platforms per default.

  1. … 1 more file in changeset.
Add Dynamic Shared Object (DSO) support for SCO5 (OpenServer 5.0.x).

Submitted by: Ronald Record <rr@sco.com>

Reviewed by: Ralf S. Engelschall

PR: 2533

  1. … 1 more file in changeset.
fix typos

  1. … 1 more file in changeset.
Just some minor fixes.

  1. … 1 more file in changeset.
Update/Create hyperlinks to new HTML document about DSO.

  1. … 2 more files in changeset.
A lot of cosmetic stuff: more <CODE>, less <PRE>, etc. pp.

Thanks to Brian for the initial ASCII->HTML translation.

  1. … 1 more file in changeset.