Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 29501 invoked by uid 6000); 18 Jun 1998 07:20:06 -0000 Received: (qmail 29436 invoked by uid 2001); 18 Jun 1998 07:20:01 -0000 Received: (qmail 27044 invoked by uid 2012); 18 Jun 1998 07:13:41 -0000 Message-Id: <19980618071341.27043.qmail@hyperreal.org> Date: 18 Jun 1998 07:13:41 -0000 From: Jonathan Gapen Reply-To: jagapen@students.wisc.edu To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: os-netbsd/2462: DSO symbols don't need an underscore prepended on NetBSD/pmax 1.3.2 Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 2462 >Category: os-netbsd >Synopsis: DSO symbols don't need an underscore prepended on NetBSD/pmax 1.3.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Jun 18 00:20:01 PDT 1998 >Last-Modified: >Originator: jagapen@students.wisc.edu >Organization: apache >Release: 1.3.0 >Environment: NetBSD spacehog.revolve.org 1.3.2 NetBSD 1.3.2 (SPACEHOG) #0: Tue Jun 2 03:15:09 PDT 1998 root@spacehog.revolve.org:/usr/src/sys/arch/pmax/compile/SPACEHOG pmax >Description: The file src/os/unix/os.h defines DLSYM_NEEDS_UNDERSCORE when __NetBSD__ is defined, but the symbols do not need an underscore prepended under NetBSD/pmax 1.3.2. >How-To-Repeat: Compile Apache with DSO support on a NetBSD/pmax machine, then try to run it. On a typical installation, you'll get an error message that the server can't find symbol _env_module in file libexec/mod_env.so. >Fix: Add a check for underscores to the configure script. AFAIK, this is likely to change in the future for all NetBSD platforms, so keeping up with #define statements is likely to be impractical. I can get Apache to work correctly with DSO support by hand-editing out the #define DLSYM_NEEDS_UNDERSCORE line. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]