From: "Stas Bekman" <stas@xxxxxxxxxx>
> twh@xxxxxxxxxxxxxxxxxxxxx wrote:
> > -------------8<---------- Start Bug Report ------------8<----------
> > 1. Problem Description:
> >
> > gcc 3.3, solaris 8, perl 5.8.0, apache 2.0.46, mod_perl 1.99_10
> > make test failed
> > I used gcc 2.95.2 built perl5.8.0 and mod_perl and it works ok.
> > however, I upgraded gcc 3.3 and rebuilt perl, apache, and mod_perl.
> > it still core dumps on me.
> > apache 2.0.46 works ok by itself.
> > I have setup my PATH and LD_LIBRARY_PATH ok.
> > what could I do wrong?
>
> You need to compile modperl with MP_DEBUG=1, since the trace doesn't show
the
> arguments to mod_perl calls. You do have perl and httpd compiled with
debug
> symbols.
I did compile with MP_DEBUG=1 option.
It said in the section 2 on the t/REPORT and it shows up at the compile
line -DMP_DEBUG -DMP_TRACE too.
Anyway, I rebuilt it again this morning but it did not give me extra
statements on gdb.
Shall I manually add the -g options into Makefile?
$ perl Makefile.PL MP_INST_APACHE2=1 MP_DEBUG=1
MP_AP_PREFIX=/s5/twh/apache2
$ make
cd "src/modules/perl" && make -f Makefile.modperl
make[1]: Entering directory `/s5/twh/papache/modperl-2.0/src/modules/perl'
gcc -B/usr/ccs/bin/ -I/s5/twh/papache/modperl-2.0/src/modules/perl -I/s5/twh
/pap
ache/modperl-2.0/xs -I/s5/twh/apache2/include -I/s5/twh/apache2/include -fno
-str
ict-aliasing -I/opt/exp/gnu/include -I/s5/twh/perl580/lib/5.8.0/sun4-solar
is/C
ORE -DMOD_PERL -DMP_COMPAT_1X -DMP_DEBUG -DMP_TRACE -fPIC \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
......
2. Used Components and their Configuration:
*** mod_perl version 1.9910
*** using lib/Apache/BuildConfig.pm
*** Makefile.PL options:
MP_AP_PREFIX => /s5/twh/apache2
MP_COMPAT_1X => 1
MP_DEBUG => 1
MP_GENERATE_XS => 1
MP_INST_APACHE2 => 1
MP_LIBNAME => mod_perl
MP_TRACE => 1
MP_USE_DSO => 1
MP_USE_STATIC => 1
> > #26 0xfed5d46c in modperl_require_file ()
> > from /s5/twh/build-dir/modperl-2.0/src/modules/perl/mod_perl.so
> > #27 0xfed56e1c in modperl_config_apply_PerlRequire ()
> > from /s5/twh/build-dir/modperl-2.0/src/modules/perl/mod_perl.so
|