>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

When you run configure it makes config.sh that has many lines set to 'undef' I
am not sure if this is at all related.  

>
>>      hint=recommended, useposix=true, d_sigactionÞfine
>> -    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
>> -    useperlio=undef d_sfio=undef uselargefilesÞfine usesocks=undef
>> -    use64bitint=undef use64bitall=undef uselongdouble=undef
>> +    usethreadsÞfine use5005threads=undef' useithreadsÞfine
usemultiplicity> +    useperlio= d_sfio=undef uselargefilesÞfine 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)

This is going to be the next thing I try.  I am 99.9% sure we do not need
ithreads.  

>
>>    Compiler:
>> -    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include
>> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITSd',
>> -    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, byteorder34
>> +    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_BITSd -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.

Both these perls where build from source downloaded from perl.org.  I have no
idea why -DDEBUGGING is enabled but I agree we do not need it.  

>
>> +    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, byteorder34
>>      d_longlongÞfine, longlongsize=8, d_longdblÞfine, longdblsize
>> -    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
>> lseeksize=8
>> -    alignbytes=4, usemymalloc=n, prototypeÞfine
>> +    ivtype='long'
>> +k', ivsize=4'
>> +ivtype='long'
>> +known_ext, nvtype='double'
>> +o_nonbl', nvsize=, Off_t='', lseeksize=8
>> +    alignbytes=4, prototypeÞfine
>>    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úlse, 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.

I build a static perl 5.8.0 last night, did not seem to change anything.  

>
>> +    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'


I think next I may try and see if perl 5.6.1 can be build on the 5.8.0 system
and see what this leads to.  I wonder if it could be the newer gcc or glibc?


Aaron Thul
e-mol Development Team
http://www.e-mol.com/?layout=emol103


_______________________________________________________
Sent through e-mol. E-mail, Anywhere, Anytime. http://www.e-mol.com





-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to