develooper Front page | perl.perl5.porters | Postings from March 2000

various thread build failures

From:
Tom Christiansen
Date:
March 17, 2000 05:53
Subject:
various thread build failures
Message ID:
11078.953301181@chthon
README.threads says to do this:

    ./Configure -Dusethreads -Duse5005threads -des

to get 5005 threads running, since I can't find docs on how 
to use "interpreter threads" for thread programming.

Well, that didn't work.

% ./Configure -Dusethreads -Duse5005threads -des

% make test
[...]
All tests successful.
u=0.9  s=0.18  cu=59.13  cs=6.65  scripts=230  tests=11745

% grep -i thread config.sh
d_old_pthread_create_joinable='undef'
d_oldpthreads='undef'
d_pthread_yield='undef'
i_pthread='define'
known_extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Sys/Hostname Sys/Syslog Thread attrs re'
old_pthread_create_joinable=''
use5005threads='undef'
useithreads='undef'
usethreads='undef'
config_args='-Dusethreads -Duse5005threads -des'
config_arg1='-Dusethreads'
config_arg2='-Duse5005threads'

When I go back and ask it nicely via interactive Configure, I get this:

% grep -i thread config.sh
archname='i686-linux-thread'
d_old_pthread_create_joinable='undef'
d_oldpthreads='undef'
d_pthread_yield='undef'
i_pthread='define'
known_extensions='B ByteLoader DB_File Data/Dumper Devel/DProf Devel/Peek Fcntl File/Glob GDBM_File IO IPC/SysV NDBM_File ODBM_File Opcode POSIX SDBM_File Socket Sys/Hostname Sys/Syslog Thread attrs re'
old_pthread_create_joinable=''
use5005threads='define'
useithreads='undef'
usethreads='define'
config_arg1='-Dusethreads'
config_arg2='-Duse5005threads'

However, the build explodes spectacularly.  And if you try to type
make clean to fix this, you get this output repeated some
zillion times.   Well, over 21 times anyway, to the tune
of a megabyte of make output failure, which I shall spare you.
I don't understand why "make clean" should generate all these
compilation failures!

Here's a piece of "make clean":

make[1]: Entering directory `/tmp_mnt/home/doriath/tchrist/bleadperl/x2p'
rm -f a2p *.o find2perl.exe s2p.exe find2perl.c s2p.c a2p.loadmap
make[1]: Leaving directory `/tmp_mnt/home/doriath/tchrist/bleadperl/x2p'

        Making DynaLoader (clean)
make[1]: Entering directory `/tmp_mnt/home/doriath/tchrist/bleadperl/ext/DynaLoa
der'
Warning: ../../lib/Config.pm may be out of date with ../../config.sh
cd ../.. && make lib/Config.pm
make[2]: Entering directory `/tmp_mnt/home/doriath/tchrist/bleadperl'
`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
          CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   
`sh  cflags libperl.a perl.o`  perl.c
          CCCMD =  cc -DPERL_CORE -c -fno-strict-aliasing -I/usr/local/include -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   

Huh?  It tries to rebuilt Perl each time!  What's going on?

Anyway, here's the thread build failure.

--tom

begin 644 badmake.out
M'XL("!TWTC@"`VUA9&4`O5UMD]RVD?ZN7S'?DO.5;1($"4#?%)TCJ4J65%[9
MR=7=U08$P16S,\,).;N6[M<?20QGN4#/X(7PI2J6O-ZG&P\!-+H;#4"(S>;[
M]S\^]-V/VU;P[8_;IMQ\WVYVS;XYR&Z[^>\7F^%_\[_N>+/_H=VTA_$'PU^&
MWQY__`/??+_=]]OQGU6Y&_ZX4W]4Y?B/\>?COXGA_X>V;[Z.?^^^'8Z;%V<!
M?VX//[3_]G+S;K^I'_;BV+3[S3\^#?_I]L"K6[X=6K?[]J>7+\9?^_,/1_GU
M^._)UQ3C`;)[V!Z;PU9N*ED/S9J@;0V@7\SM?A*0B$%`W73]4:%EM?DB._EB
M^B)EL_]Q6[W<_(UW^V9_]W+3-_\K1]']MUW9;@$-&_&%[^\&(777[C9IFN2;
M8[M)LSS=-$.CAK9[,=;YULB=+\!64!R/K<859>E(%>'<E^G0CLKL6E%1%ZHG
ML,F5TS@]>U*@D:5L))OEQ)?L5O)':;*5.'%A.Z--NF691*$[:]#XILG4N:CP
MY=O)7AZ-:9LF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