e-mol Development Team wrote:
diff -u 5.6.1.txt 5.8.0.txt
The two builds are quite different, I have pointed out below at least a few major differences.
[EMAIL PROTECTED] src]# diff -u 5.6.1.txt 5.8.0.txt --- 5.6.1.txt 2003-09-03 14:07:02.000000000 -0400 +++ 5.8.0.txt 2003-09-03 14:04:21.000000000 -0400 @@ -1,40 +1,58 @@ -Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: +Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: - osname=linux, osvers=2.4.2-2, archname=i686-linux + osname=linux, osvers=2.4.20-2.48smp, archname=i386-linux-thread-multi
+ uname='linux str' + config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -g -Dmyhostname=localhost [EMAIL PROTECTED] -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Dotherlibdirs=/usr/lib/perl5/5.8.0 -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
I'm not quite following, why 5.6.1 was built with -Dusethreads -Duseithreads but below it says: usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
hint=recommended, useposix=true, d_sigaction=define - usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef - useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef - use64bitint=undef use64bitall=undef uselongdouble=undef + usethreads=define use5005threads=undef' useithreads=define usemultiplicity= + useperlio= d_sfio=undef uselargefiles=define usesocks=undef + use64bitint=undef use64bitall=un uselongdouble= + usemymalloc=, bincompat5005=undef
OK, so try building 5.8.0 with -Uusethreads (unless you are going to use ithreads)
Compiler: - cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', - optimize='-O2', - cppflags='-fno-strict-aliasing -I/usr/local/include' - ccversion='', gccversion='egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)', gccosandvers='' - intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 + cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
Hmm, where did you get these perl from? did you build them yourself? Why -DDEBUGGING is enabled? You certaintly don't want this to be enabled in production. You have it in both perls.
+ optimize='', + cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm' + ccversion='', gccversion='3.2.2 20030213 (Red Hat Linux 8.0 3.2.2-1)', gccosandvers='' +gccversion='3.2.2 200302' + intsize=e, longsize= , ptrsize=p, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 - ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 - alignbytes=4, usemymalloc=n, prototype=define + ivtype='long' +k', ivsize=4' +ivtype='long' +known_ext, nvtype='double' +o_nonbl', nvsize=, Off_t='', lseeksize=8 + alignbytes=4, prototype=define Linker and Libraries: - ld='cc', ldflags =' -L/usr/local/lib' + ld='gcc' +l', ldflags =' -L/usr/local/lib' +ldf' libpth=/usr/local/lib /lib /usr/lib - libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil - perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil - libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a + libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil + perllibs= + libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libper
Your 5.6.1 is built as a static perl, whereas 5.8.0 as a dynamic.
+ gnulibc_version='2.3.1' Dynamic Linking: - dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' - cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' + dlsrc=dl_dlopen.xs, dlext=so', d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE' + cccdlflags='-fPIC' +ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5', lddlflags='s Unicode/Normalize XS/A'
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html