Bug 7957 - AIX 4.3 64bit build fails
Summary: AIX 4.3 64bit build fails
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Other Modules (show other bugs)
Version: 2.0.35
Hardware: PC AIX
: P3 critical (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-11 12:03 UTC by Paul Nylund
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Nylund 2002-04-11 12:03:08 UTC
export CC=/usr/bin/cc -ma -q64
export OBJECT_MODE=64

./configure --prefix=/home/user/compiled_apache
make
.
.
.
.
Making all in threadproc/unix
        /bin/sh /home/pnylund/output1/apache_2.0.35/srclib/apr/libtool --
silent --mode=compile /usr/bin/cc -ma -q64 -g -qHALT=E   -DHAVE_CONFIG_H -
U__STR__ -D_USE_IRS -D_THREAD_SAFE   -I../../include -
I../../include/arch/unix  -c proc.c && touch proc.lo
        /bin/sh /home/pnylund/output1/apache_2.0.35/srclib/apr/libtool --
silent --mode=compile /usr/bin/cc -ma -q64 -g -qHALT=E   -DHAVE_CONFIG_H -
U__STR__ -D_USE_IRS -D_THREAD_SAFE   -I../../include -
I../../include/arch/unix  -c procsup.c && touch procsup.lo
        /bin/sh /home/pnylund/output1/apache_2.0.35/srclib/apr/libtool --
silent --mode=compile /usr/bin/cc -ma -q64 -g -qHALT=E   -DHAVE_CONFIG_H -
U__STR__ -D_USE_IRS -D_THREAD_SAFE   -I../../include -
I../../include/arch/unix  -c thread.c && touch thread.lo
        /bin/sh /home/pnylund/output1/apache_2.0.35/srclib/apr/libtool --
silent --mode=compile /usr/bin/cc -ma -q64 -g -qHALT=E   -DHAVE_CONFIG_H -
U__STR__ -D_USE_IRS -D_THREAD_SAFE   -I../../include -
I../../include/arch/unix  -c threadpriv.c && touch threadpriv.lo
        /bin/sh /home/pnylund/output1/apache_2.0.35/srclib/apr/libtool --
silent --mode=compile /usr/bin/cc -ma -q64 -g -qHALT=E   -DHAVE_CONFIG_H -
U__STR__ -D_USE_IRS -D_THREAD_SAFE   -I../../include -
I../../include/arch/unix  -c signals.c && touch signals.lo
"signals.c", line 360.18: 1506-022 (S) "ss_set" is not a member of "struct 
sigset_t".
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.


Removing following lines 
from ./httpd_2.0.35/srclib/apr/threadproc/unix/signals.c
seems to resolve the problem

line number 358
#ifdef __64BIT__
#ifdef _ALL_SOURCE
        sig_mask.ss_set[3] &= 0x7FFFFFFF;
#else /* not _ALL_SOURCE */
        sig_mask.__ss_set[3] &= 0x7FFFFFFF;
#endif
#else /* not 64-bit build */
#endif
Comment 1 Jeff Trawick 2002-04-11 14:40:36 UTC
This has now been fixed in CVS.  The next release of Apache 2.0 will have the fix.
You can grab the fix here if you want to test:

http://cvs.apache.org/viewcvs.cgi/apr/threadproc/unix/signals.c.diff?r1=1.42&r2=1.43

Thanks for your report, and thanks for using Apache!