You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by R Blake <bl...@mac.com> on 2002/06/01 00:27:49 UTC
Re: failed MODPERL-2 build on MacOSX (Apache/2.0.36
mod_perl/1.99_02-dev Perl/v5.6.1)
per suggestion, i updated my builds ..........
modperl-2.0_20020531163044.tar.gz
perl5 revision 5.0 version 8 subversion 0 patch 16908
Apache/2.0.36
and tried again with modperl2 ...... surpised me with a simple "bus
error"!
i'll try backing up to 5.6.0 to replicated your results, but ..... any
ideas here?
fyi, i'll keep my latest progress on OSX posted at
http://homepage.mac.com/blakers, as well as replying here, of course.
thanks!
richard
[root@server]wget
http://cvs.apache.org/snapshots/modperl-2.0/modperl-2.0_20020531163044.tar.
gz
--15:18:31--
http://cvs.apache.org/snapshots/modperl-2.0/modperl-2.0_20020531163044.tar.
gz
=> `modperl-2.0_20020531163044.tar.gz'
Resolving cvs.apache.org... done.
Connecting to cvs.apache.org[63.251.56.143]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,429,722 [application/x-tar]
100%[==========================================>] 1,429,722 183.37K/s
ETA 00:00
15:18:39 (183.37 KB/s) - `modperl-2.0_20020531163044.tar.gz' saved
[1429722/1429722]
[root@server]gnutar zxf modperl-2.0_20020531163044.tar.gz
[root@server]cd modperl-2.0/
[root@server]perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_USE_DSO=1
MP_USE_STATIC=0 MP_STATIC_EXTS=0
Reading Makefile.PL args from @ARGV
MP_AP_PREFIX = /usr/local/apache2
MP_USE_DSO = 1
MP_USE_STATIC =
MP_STATIC_EXTS =
Configuring Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.8.0
Bus error
[root@server]httpd -V
Server version: Apache/2.0.36
Server built: May 30 2002 16:25:23
Server's Module Magic Number: 20020329:1
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_MMAP
-D APR_USE_POSIXSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr/local/apache2"
-D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
-D DEFAULT_ERRORLOG="logs/error_log"
-D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"
[root@server]perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0 patch 16908)
configuration:
Platform:
osname=darwin, osvers=5.4,
archname=darwin-thread-multi-64int-stdio-64all
uname='darwin server.internal.net 5.4 darwin kernel version 5.4: wed
apr 10 09:27:47 pdt 2002; root:xnuxnu-201.19.3.obj~1release_ppc power
macintosh powerpc '
config_args='-Dfirstmakefile=GNUmakefile -Dusedevel'
hint=previous, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-pipe -fno-common -DINT32_MIN_BROKEN
-DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB/include',
optimize='-O3',
cppflags='-pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/usr/include
-I/usr/local/BerkeleyDB/include -pipe -fno-common -DINT32_MIN_BROKEN
-DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB/include -pipe
-fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -no-cpp-precomp
-fno-strict-aliasing -I/usr/local/include -I/usr/include
-I/usr/local/BerkeleyDB/include -pipe -fno-common -DINT32_MIN_BROKEN
-DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB/include'
ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-flat_namespace -undefined suppress -L/usr/lib
-L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib'
libpth=/usr/lib /usr/local/lib /usr/local/BerkeleyDB/lib /usr/X11R6/lib
libs=-lbind -ldb -ldl -lm -lc -liconv
perllibs=-lbind -ldl -lm -lc -liconv
libc=/System/Library/Frameworks/System.framework/System, so=dylib,
useshrplib=true, libperl=libperl.dylib
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-flat_namespace -undefined suppress -bundle
-L/usr/lib -L/usr/local/lib -L/usr/local/BerkeleyDB/lib -L/usr/X11R6/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
DEVEL16892
Built under darwin
Compiled at May 30 2002 20:52:58
@INC:
/usr/local/perl/lib/5.8.0/darwin-thread-multi-64all-stdio
/usr/local/perl/lib/5.8.0
/usr/local/perl/lib/5.8.0/darwin-thread-multi-64all-stdio
/usr/local/perl/lib/site_perl/5.8.0
/usr/local/perl/lib/site_perl
.
[root@server]
--On Thursday, May 30, 2002 4:56 PM -0700 Doug MacEachern
<do...@covalent.net> wrote:
> try again with modperl-2.0 from cvs, compiles passes all test for me on
> darwin with the stock 5.6.0 installed on the system. and with
> perl-current (5.8.0-tobe) with ithreads enabled. do _not_ use the 5.7.3
> release that is on cpan, for anything. it is way too far out of date.
>
> you can get the current sources with:
> rsync -auvz --delete rsync://ftp.linux.activestate.com/perl-current/
> perl-current
>
> or wait for 5.8.0-RC1 which is supposed to be released on saturday.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>
--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------
Re: failed MODPERL-2 build on MacOSX (Apache/2.0.36
mod_perl/1.99_02-dev Perl/v5.6.1)
Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 00:27 02.06.2002, Doug MacEachern wrote:
>On Sat, 1 Jun 2002, Per Einar Ellefsen wrote:
>
> > You'll have to register a project... But why don't you just go ahead and
> > register mod_perl? That doesn't imply anything, you can remove the CVS
> > repository and point everything to the mod_perl website. Then you can take
> > advantage of the compile farm :)
>
>ask added me to the perl-qa group so i'll have access. but since 'dougm'
>was already taken, my id is 'dmaceachern' and i forgot to ssh -l
>dmaceachern, 3 failed logins, seems to have shut me out:
>% ssh -l dmaceachern cf.sourceforge.net
>Connection closed by 198.186.203.53
Hehehe :-) Try asking SourceForge QA. They'll handle it I guess.
--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: failed MODPERL-2 build on MacOSX (Apache/2.0.36 mod_perl/1.99_02-dev
Perl/v5.6.1)
Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 1 Jun 2002, Per Einar Ellefsen wrote:
> You'll have to register a project... But why don't you just go ahead and
> register mod_perl? That doesn't imply anything, you can remove the CVS
> repository and point everything to the mod_perl website. Then you can take
> advantage of the compile farm :)
ask added me to the perl-qa group so i'll have access. but since 'dougm'
was already taken, my id is 'dmaceachern' and i forgot to ssh -l
dmaceachern, 3 failed logins, seems to have shut me out:
% ssh -l dmaceachern cf.sourceforge.net
Connection closed by 198.186.203.53
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: failed MODPERL-2 build on MacOSX (Apache/2.0.36
mod_perl/1.99_02-dev Perl/v5.6.1)
Posted by Per Einar Ellefsen <pe...@skynet.be>.
At 05:32 01.06.2002, Doug MacEachern wrote:
>i registered with sourceforge to try a different darwin version, but can't
>figure out how to access the compile farm without registering a project.
You'll have to register a project... But why don't you just go ahead and
register mod_perl? That doesn't imply anything, you can remove the CVS
repository and point everything to the mod_perl website. Then you can take
advantage of the compile farm :)
>--
Per Einar Ellefsen
per.einar@skynet.be
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: fixed -undefined suppress; now trouble with -bundle: failed
MODPERL-2 build on MacOSX (Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.6.1)
Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 1 Jun 2002, R Blake wrote:
> > ok. have you tried using -des -Dusethreads instead of the interactive
> > Configure dialog?
> >
>
> not yet.
i strongly suggest trying that before going any further. the bus error
for example might be related to use64bitint=define, which i'm pretty sure
is not the default. letting Configure choose defaults might clear up some
of these problems.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
fixed -undefined suppress; now trouble with -bundle: failed
MODPERL-2 build on MacOSX (Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.6.1)
Posted by R Blake <bl...@mac.com>.
doug,
>
> ok. have you tried using -des -Dusethreads instead of the interactive
> Configure dialog?
>
not yet. just finishing up the -undefined suppress problem in LDFLAGS
.......
unfortunately, although the -undefined suppress problem seems to have gone
away, now make dies at:
cc -flat_namespace -bundle -undefined suppress -L/usr/local/lib
-L/usr/local/BerkeleyDB/lib -L/usr/X11R6/lib \
\
mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo
modperl_config.lo modperl_cmd.lo modperl_options.lo modperl_callback.lo
modperl_handler.lo modperl_gtop.lo modperl_util.lo modperl_io.lo
modperl_filter.lo modperl_bucket.lo modperl_mgv.lo modperl_pcw.lo
modperl_global.lo modperl_env.lo modperl_cgi.lo modperl_perl.lo
modperl_perl_global.lo modperl_hooks.lo modperl_directives.lo
modperl_flags.lo modperl_xsinit.lo -flat_namespace -L/usr/local/lib
-L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib
/usr/local/perl/lib/5.8.0/darwin-thread-multi-64all-stdio/auto/DynaLoader/D
ynaLoader.a
-L/usr/local/perl/lib/5.8.0/darwin-thread-multi-64all-stdio/CORE -lperl
-lbind -ldl -liconv \
-o mod_perl.so
/usr/bin/ld: -undefined: unknown argument: -lbundle1.o
make[1]: *** [mod_perl.so] Error 1
make[1]: Leaving directory
`/Volumes/ServerSystem/ports/modperl-2.0/src/modules/perl'
make: *** [modperl_lib] Error 2
i looked to our config differences, and the bundle flags seem to be ok
...... (see below)
thoughts?
thx,
richard
FYI,
here were the salient DIFFERENCES between your (@moof.apache.org) & my
"perl -V" configs
dougm: (revision 5.0 version 8 subversion 0 patch 16897)
osvers=5.2
archname=darwin-thread-multi
uname='darwin kernel version 5.2: root:xnuxnu-201.14.obj~1release_ppc power
macintosh powerpc '
config_args='-des -Dprefix=/Users/dougm/perl -Dusethreads -Doptimize=-g'
use64bitint=undef
gccversion='2.95.2 19991024 (release)'
byteorder=4321
ivtype='long'
ivsize=4
ldflags =' -flat_namespace'
libpth=/usr/lib
libs=-lm -lc
perllibs=-lm -lc
lddlflags=' -flat_namespace -bundle -undefined suppress'
======================================================
blakers: (revision 5.0 version 8 subversion 0 patch 16954)
osvers=5.4
archname=darwin-thread-multi-64all-stdio
uname='darwin server.internal.net 5.4 darwin kernel version 5.4: wed apr 10
09:27:47 pdt 2002; root:xnuxnu-201.19.3.obj~1release_ppc power macintosh
powerpc '
config_args='-Dfirstmakefile=GNUmakefile -Dusedevel'
use64bitint=define
optimize='-g',
byteorder=87654321
ivtype='long long'
ivsize=8
ldflags ='-flat_namespace -L/usr/local/lib -L/usr/X11R6/lib
-L/usr/local/BerkeleyDB/lib'
libpth=/usr/local/lib /usr/local/BerkeleyDB/lib /usr/X11R6/lib
libs=-lbind -ldb -ldl -lm -lc -liconv
perllibs=-lbind -ldl -lm -lc -liconv
libc=/System/Library/Frameworks/System.framework/System
lddlflags='-flat_namespace -bundle -undefined suppress -L/usr/local/lib
-L/usr/local/BerkeleyDB/lib -L/usr/X11R6/lib'
for completeness, here's my complete perl -V:
Summary of my perl5 (revision 5.0 version 8 subversion 0 patch 16954)
configuration:
Platform:
osname=darwin, osvers=5.4, archname=darwin-thread-multi-64all-stdio
uname='darwin server.internal.presence-group.net 5.4 darwin kernel
version 5.4: wed apr 10 09:27:47 pdt 2002;
root:xnuxnu-201.19.3.obj~1release_ppc power macintosh powerpc '
config_args='-Dfirstmakefile=GNUmakefile -Dusedevel -des'
hint=previous, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-pipe -fno-common -DINT32_MIN_BROKEN
-DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB/include',
optimize='-g',
cppflags='-pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN
-no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -I/usr/include
-I/usr/local/BerkeleyDB/include -pipe -fno-common -DINT32_MIN_BROKEN
-DINT64_MIN_BROKEN -no-cpp-precomp -fno-strict-aliasing
-I/usr/local/include -I/usr/include -I/usr/local/BerkeleyDB/include'
ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-flat_namespace -L/usr/local/lib -L/usr/X11R6/lib
-L/usr/local/BerkeleyDB/lib'
libpth=/usr/local/lib /usr/local/BerkeleyDB/lib /usr/X11R6/lib
libs=-lbind -ldb -ldl -lm -lc -liconv
perllibs=-lbind -ldl -lm -lc -liconv
libc=/System/Library/Frameworks/System.framework/System, so=dylib,
useshrplib=true, libperl=libperl.dylib
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-flat_namespace -bundle -undefined suppress
-L/usr/local/lib -L/usr/local/BerkeleyDB/lib -L/usr/X11R6/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
DEVEL16943
Built under darwin
Compiled at Jun 1 2002 12:48:34
@INC:
/usr/local/perl/lib/5.8.0/darwin-thread-multi-64all-stdio
/usr/local/perl/lib/5.8.0
/usr/local/perl/lib/site_perl/5.8.0/darwin-thread-multi-64all-stdio
/usr/local/perl/lib/site_perl/5.8.0
/usr/local/perl/lib/site_perl
.
--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------
Re: Stacktrace for BusError: failed MODPERL-2 build on MacOSX
(Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.6.1)
Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 1 Jun 2002, R Blake wrote:
> [root@server]perl test.pl
> Bus error
ok, you should report this as a perlbug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: Stacktrace for BusError: failed MODPERL-2 build on MacOSX
(Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.6.1)
Posted by R Blake <bl...@mac.com>.
doug,
[root@server]cat test.pl (your test script ....)
use strict;
use Socket;
my $localhost_addr = pack('C4', 127, 0, 0, 1);
my $default_localhost =
gethostbyaddr($localhost_addr, Socket::AF_INET()) || 'localhost';
print "localhost=$default_localhost\n";
[root@server]perl test.pl
Bus error
and, here's the stack trace:
**********
Date/Time: 2002-06-01 18:40:32 -0700
OS Version: 10.1.4 (Build 5Q125)
Host: server.internal.net
Command: perl
PID: 24782
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x700c92fc
Thread 0 Crashed:
#0 0x70003b08 in memmove
#1 0x00008540 in __res_vinit
#2 0x00007624 in gen_res_get
#3 0x000058f0 in net_data_create
#4 0x0000582c in __net_data_init
#5 0x00004340 in init
#6 0x00003254 in gethostbyaddr
#7 0x004658b8 in Perl_pp_ghostent
#8 0x004656e4 in Perl_pp_ghbyaddr
#9 0x003f8120 in Perl_runops_standard
#10 0x00373eb8 in S_run_body
#11 0x003739c4 in perl_run
#12 0x00001c20 in main
#13 0x00001a54 in _start
#14 0x00001884 in start
PPC Thread State:
srr0: 0x70003b08 srr1: 0x0000f030 vrsave: 0x00000000
xer: 0x00000020 lr: 0x00008540 ctr: 0x70003a00 mq: 0x00000000
r0: 0x10020035 r1: 0xbfffe650 r2: 0x700c930c r3: 0x700c92fc
r4: 0x000fe740 r5: 0x00000000 r6: 0xac1e0a02 r7: 0x00000000
r8: 0x00000000 r9: 0x000fe720 r10: 0x00000000 r11: 0x0003350c
r12: 0x70003a00 r13: 0x00000000 r14: 0x80008a98 r15: 0x8000219c
r16: 0xbfffea88 r17: 0xbfffeaa8 r18: 0x8000214c r19: 0x00000000
r20: 0x00000001 r21: 0x87859393 r22: 0xc24bc195 r23: 0x87859393
r24: 0x8000213c r25: 0x00000000 r26: 0xbffff2a0 r27: 0x00000000
r28: 0x00000000 r29: 0x00000000 r30: 0xbfffe693 r31: 0x00007f90
**********
--On Saturday, June 1, 2002 6:26 PM -0700 Doug MacEachern
<do...@covalent.net> wrote:
> On Sat, 1 Jun 2002, R Blake wrote:
>
>> # 7 0x004658b8 in Perl_pp_ghostent
>
> we call this in Apache::TestConfig::default_localhost, does the script
> below work for you or cause the same bus error?
>
> use strict;
> use Socket;
>
> my $localhost_addr = pack('C4', 127, 0, 0, 1);
> my $default_localhost =
> gethostbyaddr($localhost_addr, Socket::AF_INET()) || 'localhost';
>
> print "localhost=$default_localhost\n";
>
>
--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------
Re: Stacktrace for BusError: failed MODPERL-2 build on MacOSX
(Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.6.1)
Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 1 Jun 2002, R Blake wrote:
> #7 0x004658b8 in Perl_pp_ghostent
we call this in Apache::TestConfig::default_localhost, does the script
below work for you or cause the same bus error?
use strict;
use Socket;
my $localhost_addr = pack('C4', 127, 0, 0, 1);
my $default_localhost =
gethostbyaddr($localhost_addr, Socket::AF_INET()) || 'localhost';
print "localhost=$default_localhost\n";
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Stacktrace for BusError: failed MODPERL-2 build on MacOSX
(Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.6.1)
Posted by R Blake <bl...@mac.com>.
doug,
>> just curious, any comments re: the "bus error" i'd rec'd and the code i
>> commented out (previous msg ....)?
>
> no ideas unless i can reproduce or you can post a stacktrace.
>
here's the invoke & resulting stack trace ......
[root@server]perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_USE_DSO=1
MP_USE_STATIC=0 MP_STATIC_EXTS=0
Reading Makefile.PL args from @ARGV
MP_AP_PREFIX = /usr/local/apache2
MP_USE_DSO = 1
MP_USE_STATIC =
MP_STATIC_EXTS =
Configuring Apache/2.0.36 mod_perl/1.99_02-dev Perl/v5.8.0
Bus error
[root@server]
**********
Date/Time: 2002-06-01 17:39:38 -0700
OS Version: 10.1.4 (Build 5Q125)
Host: server.internal.presence-group.net
Command: perl
PID: 20193
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x700c92fc
Thread 0 Crashed:
#0 0x70003b08 in memmove
#1 0x00008540 in __res_vinit
#2 0x00007624 in gen_res_get
#3 0x000058f0 in net_data_create
#4 0x0000582c in __net_data_init
#5 0x00004340 in init
#6 0x00003254 in gethostbyaddr
#7 0x004658b8 in Perl_pp_ghostent
#8 0x004656e4 in Perl_pp_ghbyaddr
#9 0x003f8120 in Perl_runops_standard
#10 0x00373e7c in S_run_body
#11 0x003739c4 in perl_run
#12 0x00001c20 in main
#13 0x00001a54 in _start
#14 0x00001884 in start
PPC Thread State:
srr0: 0x70003b08 srr1: 0x0000f030 vrsave: 0x00000000
xer: 0x00000020 lr: 0x00008540 ctr: 0x70003a00 mq: 0x00000000
r0: 0x10020035 r1: 0xbfffe7f0 r2: 0x700c930c r3: 0x700c92fc
r4: 0x00a57230 r5: 0x00000000 r6: 0xac1e0a02 r7: 0x00000000
r8: 0x00000000 r9: 0x00a57210 r10: 0x00000000 r11: 0x0003350c
r12: 0x70003a00 r13: 0x00000000 r14: 0x80008a98 r15: 0x8000219c
r16: 0xbfffec28 r17: 0xbfffec48 r18: 0x8000214c r19: 0x00000000
r20: 0x00000001 r21: 0x87859393 r22: 0xc24bc195 r23: 0x87859393
r24: 0x8000213c r25: 0x00000000 r26: 0xbffff424 r27: 0x00000000
r28: 0x00000000 r29: 0x00000000 r30: 0xbfffe833 r31: 0x00007f90
**********
commenting out --
# for my $util (qw(Report Smoke)) {
# my $class = "Apache::Test${util}Perl";
# $class->generate_script;
# }
#
# for my $util (qw(Run)) {
# my $class = "ModPerl::Test${util}";
# $class->generate_script;
# }
in modperl-2.0/Makefile.PL, w/
perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 MP_USE_DSO=1
MP_USE_STATIC=0 MP_STATIC_EXTS=0
results in a 'successful' result of:
Writing Makefile for ModPerl::XS
Writing Makefile for mod_perl
Note (probably harmless): No library found for -lm
Note (probably harmless): No library found for -lc
Note (probably harmless): No library found for -lm
Note (probably harmless): No library found for -lc
*** mod_perl dso library will be built as mod_perl.so
*** You'll need to add the following to httpd.conf:
*** LoadModule perl_module modules/mod_perl.so
Why no -lm or -lc found? (i'm looking ....)
richard
--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------
MacOSX ..... because Windows sux.
--------------------------------------
Re: failed MODPERL-2 build on MacOSX (Apache/2.0.36 mod_perl/1.99_02-dev
Perl/v5.6.1)
Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 31 May 2002, R Blake wrote:
> OSX uses (usually) an HFS partition (read problems with case sensitivity!)
> so
> specifying "-Dfirstmakefile=GNUmakefile" simply sidesteps the problems
> known to occur with "Makefile" vs. "makefile" ......
ok. have you tried using -des -Dusethreads instead of the interactive
Configure dialog?
> just curious, any comments re: the "bus error" i'd rec'd and the code i
> commented out (previous msg ....)?
no ideas unless i can reproduce or you can post a stacktrace.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: failed MODPERL-2 build on MacOSX (Apache/2.0.36
mod_perl/1.99_02-dev Perl/v5.6.1)
Posted by R Blake <bl...@mac.com>.
>> config_args='-Dfirstmakefile=GNUmakefile -Dusedevel'
>
> what is this -Dfirstmakefile=... ?
OSX uses (usually) an HFS partition (read problems with case sensitivity!)
so
specifying "-Dfirstmakefile=GNUmakefile" simply sidesteps the problems
known to occur with "Makefile" vs. "makefile" ......
a quick commentary on the issue can be read at:
http://archive.develooper.com/perl5-porters@perl.org/msg24932.html
> my config_args are:
> perl -V:config_args
> config_args='-des -Dprefix=/Users/dougm/perl -Dusethreads -Doptimize=-g';
my config args are set via the "./Configure" dialog ...... i did it this
way for 'tutorial' purposes on my web-site. u can jump directly to
perl-relevant info via http://homepage.mac.com/blakers/main_frame.html &
click on the "Perl" link in the nav frame .....
>> Linker and Libraries:
>> ld='cc', ldflags ='-flat_namespace -undefined suppress -L/usr/lib
>> -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib'
>
> here's why i don't have the problem with -undefined suppress:
> perl -V:ldflags
> ldflags=' -flat_namespace';
aha! there's the difference ...... i have "-undefined suppress" in both
LDFLAGS and LDDLFLAGS ..... i'll change & retry .... i'll report when
finished.
just curious, any comments re: the "bus error" i'd rec'd and the code i
commented out (previous msg ....)?
thanks!
richard
> i registered with sourceforge to try a different darwin version, but
> can't figure out how to access the compile farm without registering a
> project.
>
> full perl -V from my build on moof.apache.org below..
>
> Summary of my perl5 (revision 5.0 version 8 subversion 0 patch 16897)
> configuration: Platform:
> osname=darwin, osvers=5.2, archname=darwin-thread-multi
> uname='darwin moof.apache.org 5.2 darwin kernel version 5.2: fri dec
> 7 21:39:35 pst 2001; root:xnuxnu-201.14.obj~1release_ppc power macintosh
> powerpc ' config_args='-des -Dprefix=/Users/dougm/perl -Dusethreads
> -Doptimize=-g' hint=recommended, useposix=true, d_sigaction=define
> usethreads=define use5005threads=undef useithreads=define
> usemultiplicity=define useperlio=define d_sfio=undef
> uselargefiles=define usesocks=undef use64bitint=undef
> use64bitall=undef uselongdouble=undef
> usemymalloc=n, bincompat5005=undef
> Compiler:
> cc='cc', ccflags ='-pipe -fno-common -DINT32_MIN_BROKEN
> -DINT64_MIN_BROKEN -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing',
> optimize='-g',
> cppflags='-no-cpp-precomp -pipe -fno-common -DINT32_MIN_BROKEN
> -DINT64_MIN_BROKEN -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing'
> ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
> ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8 alignbytes=8, prototype=define
> Linker and Libraries:
> ld='cc', ldflags =' -flat_namespace'
> libpth=/usr/lib
> libs=-lm -lc
> perllibs=-lm -lc
> libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,
> libperl=libperl.dylib Dynamic Linking:
> dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
> cccdlflags=' ', lddlflags=' -flat_namespace -bundle -undefined
> suppress'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS
> USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches:
> DEVEL16892
> Built under darwin
> Compiled at May 30 2002 13:07:18
> @INC:
> /Users/dougm/perl/lib/5.8.0/darwin-thread-multi
> /Users/dougm/perl/lib/5.8.0
> /Users/dougm/perl/lib/site_perl/5.8.0/darwin-thread-multi
> /Users/dougm/perl/lib/site_perl/5.8.0
> /Users/dougm/perl/lib/site_perl
> .
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
> For additional commands, e-mail: dev-help@perl.apache.org
>
--------------------------------------
R Blake
blakers <at> mac.com
http://homepage.mac.com/blakers
--------------------------------------
Re: failed MODPERL-2 build on MacOSX (Apache/2.0.36 mod_perl/1.99_02-dev
Perl/v5.6.1)
Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 31 May 2002, R Blake wrote:
> config_args='-Dfirstmakefile=GNUmakefile -Dusedevel'
what is this -Dfirstmakefile=... ?
my config_args are:
perl -V:config_args
config_args='-des -Dprefix=/Users/dougm/perl -Dusethreads -Doptimize=-g';
> Linker and Libraries:
> ld='cc', ldflags ='-flat_namespace -undefined suppress -L/usr/lib
> -L/usr/local/lib -L/usr/X11R6/lib -L/usr/local/BerkeleyDB/lib'
here's why i don't have the problem with -undefined suppress:
perl -V:ldflags
ldflags=' -flat_namespace';
i registered with sourceforge to try a different darwin version, but can't
figure out how to access the compile farm without registering a project.
full perl -V from my build on moof.apache.org below..
Summary of my perl5 (revision 5.0 version 8 subversion 0 patch 16897) configuration:
Platform:
osname=darwin, osvers=5.2, archname=darwin-thread-multi
uname='darwin moof.apache.org 5.2 darwin kernel version 5.2: fri dec 7 21:39:35 pst 2001; root:xnuxnu-201.14.obj~1release_ppc power macintosh powerpc '
config_args='-des -Dprefix=/Users/dougm/perl -Dusethreads -Doptimize=-g'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing',
optimize='-g',
cppflags='-no-cpp-precomp -pipe -fno-common -DINT32_MIN_BROKEN -DINT64_MIN_BROKEN -no-cpp-precomp -DDEBUGGING -fno-strict-aliasing'
ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -flat_namespace'
libpth=/usr/lib
libs=-lm -lc
perllibs=-lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -flat_namespace -bundle -undefined suppress'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Locally applied patches:
DEVEL16892
Built under darwin
Compiled at May 30 2002 13:07:18
@INC:
/Users/dougm/perl/lib/5.8.0/darwin-thread-multi
/Users/dougm/perl/lib/5.8.0
/Users/dougm/perl/lib/site_perl/5.8.0/darwin-thread-multi
/Users/dougm/perl/lib/site_perl/5.8.0
/Users/dougm/perl/lib/site_perl
.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org