You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Christian Gilmore <cg...@research.att.com> on 2000/03/15 16:45:27 UTC
os-irix/5886: Apache builds n32 even when IRIXN32 rule is disabled
>Number: 5886
>Category: os-irix
>Synopsis: Apache builds n32 even when IRIXN32 rule is disabled
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Mar 15 07:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: cgilmore@research.att.com
>Release: 1.3.12
>Organization:
apache
>Environment:
[akalice:www] /_ uname -a
IRIX64 akalice 6.5 07151433 IP25
[akalice:www] /_ cc -version
MIPSpro Compilers: Version 7.30
>Description:
I'm attempting to build 1.3.12 on Irix 6.5 with the old 32-bit libraries (our
perl installation must be o32 for various reasons, hence apache with mod_perl
must also be o32). I recall not having this problem while building 1.3.9.
I attempted later to put the -o32 flag directly into the CFLAGS during
configuration. Doing so allowed the process to continue through the build
of suexec, where the linker complained that suexec.o was -n32.
[akalice:www] /_ \
SSL_BASE=/usr/local/openssl-0.9.5 \
CC=cc CFLAGS="-O2 -DSGI -D__BIT_TYPES_DEFINED__" \
./configure --prefix=/www/www/apache \
--disable-rule=IRIXN32 \
--logfiledir=/www/www/apache/logs \
--sysconfdir=/www/www/apache/conf \
--datadir=/www/www/apache \
--enable-suexec --suexec-caller=www --suexec-userdir=cgi-bin \
--enable-module=rewrite --enable-module=ssl \
--activate-module=src/modules/perl/libperl.a \
--add-module=../mod_throttle_access-0.1/mod_throttle_access.c \
--verbose
Configuring for Apache, Version 1.3.12
+ using installation path layout: Apache (config.layout)
+ activated perl module (modules/perl/libperl.a)
+ on-the-fly added and activated throttle_access module (modules/extra/mod_throttle_access.o)
+ Warning: You have enabled the suEXEC feature. Be aware that you need
+ root privileges to complete the final installation step.
Creating Makefile
Creating Configuration.apaci in src
+ Rule SSL_COMPAT=yes
+ Rule SSL_SDBM=default
+ Rule SSL_EXPERIMENTAL=no
+ Rule SSL_CONSERVATIVE=no
+ Rule SSL_VENDOR=no
+ Rule EAPI=no
+ Rule SHARED_CORE=default
+ Rule SHARED_CHAIN=default
+ Rule SOCKS4=no
+ Rule SOCKS5=no
+ Rule IRIXNIS=no
+ Rule IRIXN32=no
+ Rule PARANOID=no
+ Rule EXPAT=default
+ Rule DEV_RANDOM=default
+ Rule WANTHSREGEX=default
+ Module mmap_static: no
+ Module vhost_alias: no
+ Module env: yes
+ Module define: no
+ Module log_config: yes
+ Module log_agent: no
+ Module log_referer: no
+ Module mime_magic: no
+ Module mime: yes
+ Module negotiation: yes
+ Module status: yes
+ Module info: no
+ Module include: yes
+ Module autoindex: yes
+ Module dir: yes
+ Module cgi: yes
+ Module asis: yes
+ Module imap: yes
+ Module actions: yes
+ Module speling: no
+ Module userdir: yes
+ Module alias: yes
+ Module rewrite: yes
+ Module access: yes
+ Module auth: yes
+ Module auth_anon: no
+ Module auth_dbm: no
+ Module auth_db: no
+ Module digest: no
+ Module auth_digest: no
+ Module proxy: no
+ Module cern_meta: no
+ Module expires: no
+ Module headers: no
+ Module usertrack: no
+ Module example: no
+ Module unique_id: no
+ Module so: no
+ Module setenvif: yes
+ Module ssl: yes
+ Module perl: yes
+ Module throttle_access: yes
Creating Makefile in src
You are running 64-bit Irix. For now, we will compile 32-bit
but if you would care to port to 64-bit, send us the patches.
+ configured for SGI IRIX-64 platform
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
o rewrite_module uses ConfigStart/End
enabling DBM support for mod_rewrite
o ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.6.2
+ SSL interface build type: OBJ
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Vendor DBM (libc)
+ SSL library path: /usr/local/openssl-0.9.5
+ SSL library version: OpenSSL 0.9.5 28 Feb 2000
+ SSL library type: installed package (stand-alone)
+ SSL library plugin mode: none
o perl_module uses ConfigStart/End
+ mod_perl build type: OBJ
+ id: mod_perl/1.21
+ id: Perl/5.00503 (irix) [perl]
+ setting up mod_perl build environment
+ adjusting Apache build environment
+ enabling Perl support for SSI (mod_include)
+ enabling Extended API (EAPI)
+ checking sizeof various data types
cd ..; cc -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED -O2 -D
cc: Warning: -OPT options are ignored
ld: WARNING 84 : /usr/local/openssl-0.9.5/lib/libssl.a is not used for resolving any symbol.
ld: WARNING 84 : /usr/local/openssl-0.9.5/lib/libcrypto.a is not used for resolving any symbol.
ld: WARNING 84 : /usr/common/perl5.005_03/lib/5.00503/sgi6-irix/auto/DynaLoader/DynaLoader.a is not used for resolving any symbol.
ld: WARNING 84 : /usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE/libperl.a is not used for resolving any symbol.
ld: WARNING 84 : /usr/common/lib/libgdbm.a is not used for resolving any symbol.
ld: WARNING 84 : /usr/lib/libm.so is not used for resolving any symbol.
+ doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/ssl
Creating Makefile in src/modules/perl
Creating Makefile in src/modules/extra
[akalice:www] /_ make
===> src
===> src/regex
sh ./mkh -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c > ../include/hsregex.h
sh ./mkh -p regcomp.c >regcomp.ih
cc -I. -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` -DPOSIX_MISTAKE -c regcomp.c
cc -I. -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` -DPOSIX_MISTAKE -c regexec.c
cc-1552 cc: WARNING File = engine.c, Line = 252
The variable "dp" is set but never used.
register char *dp;
^
cc-1552 cc: WARNING File = engine.c, Line = 252
The variable "dp" is set but never used.
register char *dp;
^
cc -I. -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` -DPOSIX_MISTAKE -c regerror.c
cc -I. -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` -DPOSIX_MISTAKE -c regfree.c
rm -f libregex.a
ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o
true libregex.a
<=== src/regex
===> src/os/unix
cc -c -I../.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../../os/unix -I../../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../../apaci` os.c
cc -c -I../.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../../os/unix -I../../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../../apaci` os-inline.c
rm -f libos.a
ar cr libos.a os.o os-inline.o
true libos.a
<=== src/os/unix
===> src/ap
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_cpystrn.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_execve.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_fnmatch.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_getpass.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_md5c.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_signal.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_slack.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_snprintf.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_sha1.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_checkpass.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_base64.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_hook.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_ctx.c
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` ap_mm.c
rm -f libap.a
ar cr libap.a ap_cpystrn.o ap_execve.o ap_fnmatch.o ap_getpass.o ap_md5c.o ap_signal.o ap_slack.o ap_snprintf.o ap_sha1.o ap_checkpass.o ap_base64.o ap_hook.o ap_ctx.o ap_mm.o
true libap.a
<=== src/ap
===> src/main
cc -c -I.. -I/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -I../os/unix -I../include -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` gen_test_char.c
cc -DIRIX -DMOD_SSL=206102 -DMOD_PERL -DUSE_PERL_SSI -D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON -I/usr/common/include -DLANGUAGE_C -D__BIT_TYPES_DEFINED__ -DSGI -DUSE_HSREGEX -DEAPI -DUSE_EXPAT -I../lib/expat-lite -DNO_DL_NEEDED -O2 -DSGI -D__BIT_TYPES_DEFINED__ `../apaci` -L/usr/local/openssl-0.9.5/lib -o gen_test_char gen_test_char.o -lssl -lcrypto -o32 -L/usr/lib -L/usr/common/lib /usr/common/perl5.005_03/lib/5.00503/sgi6-irix/auto/DynaLoader/DynaLoader.a -L/usr/common/perl5.005_03/lib/5.00503/sgi6-irix/CORE -lperl -lgdbm -lm -lc
cc: Warning: -OPT options are ignored
ld: FATAL 12 : Expecting o32 objects: gen_test_char.o is n32.
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]