You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/06/20 23:25:58 UTC

DO NOT REPLY [Bug 10089] New: - mod_negotiation.so in 1.3.26 fails when compiled with largefile (64-bit) CFLAGS

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10089>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10089

mod_negotiation.so in 1.3.26 fails when compiled with largefile (64-bit) CFLAGS

           Summary: mod_negotiation.so in 1.3.26 fails when compiled with
                    largefile (64-bit) CFLAGS
           Product: Apache httpd-1.3
           Version: HEAD
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Other mods
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tah@gi.alaska.edu


I built httpd 1.3.26 using the 'largefile' cflags. The build went
fine. After 'make install' when I attempt to run httpd, startup fails.

The error ('apachectl configtest' output):
Syntax error on line 213 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/mod_negotiation.so into server:
ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error:
file /usr/local/apache/libexec/mod_negotiation.so: symbol __floatdisf
: referenced symbol not found

I have been running a httpd 1.3.22 since Oct 2001 that was compiled
with the largefiles cflags. This bug appears to have been introduced
since 1.3.22.

export CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
./configure --prefix=/usr/local/apache --with-perl=/usr/local/bin/perl \
 --enable-module=most --enable-shared=max

SunOS hostname 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-Enterprise

Compile environment: Thu Jun 20 12:26:12 AKDT 2002
CC=/usr/local/bin/gcc
gcc: 2.95.2
CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
LDFLAGS=
PATH=/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/local/bin

workaround:
I compiled without largefile cflags. This required recompilation
of other third-party shared modules (libperl, etc.) without 
largefile flags.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org