[oe-commits] org.oe.dev perl 5.8.7: Enable threading in perl for sh4 to fix modules that

lenehan commit openembedded-commits at lists.openembedded.org
Tue Oct 3 21:10:43 UTC 2006


perl 5.8.7: Enable threading in perl for sh4 to fix modules that
check for threading availability.

Since perl-native is used to compile modules, and perl-native is
built with threading enabled, any modules that check for threading
think that it's available. However when you attempt to use the module
on the target it complains about missing symbols (those related to
threading).

The two options to fix this are to enable threading in perl or to
disable it in perl-native. I've tested the later and will use that
since I have some modules that required threading.

This change is still needed for all the other targets.

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: 10d887a6bc65bb22550e2964935e1dea718ab462
ViewMTN: http://monotone.openembedded.org/revision.psp?id=10d887a6bc65bb22550e2964935e1dea718ab462
Files:
1
packages/perl/perl-5.8.7/config.sh-sh4-linux
Diffs:

#
# mt diff -r3d618cbb666981d93499716d0fa006009800b85a -r10d887a6bc65bb22550e2964935e1dea718ab462
#
# 
# 
# patch "packages/perl/perl-5.8.7/config.sh-sh4-linux"
#  from [410b1eb911514b8498124683bc1e5bf8695d9fd5]
#    to [5506b06f8803440bd240c630a378e059e522f67b]
# 
============================================================
--- packages/perl/perl-5.8.7/config.sh-sh4-linux	410b1eb911514b8498124683bc1e5bf8695d9fd5
+++ packages/perl/perl-5.8.7/config.sh-sh4-linux	5506b06f8803440bd240c630a378e059e522f67b
@@ -325,9 +325,9 @@ d_procselfexe='define'
 d_poll='define'
 d_portable='define'
 d_procselfexe='define'
-d_pthread_atfork='undef'
+d_pthread_atfork='define'
 d_pthread_attr_setscope='define'
-d_pthread_yield='undef'
+d_pthread_yield='define'
 d_pwage='undef'
 d_pwchange='undef'
 d_pwclass='undef'
@@ -716,12 +716,12 @@ libpth='/usr/local/lib /lib /usr/lib'
 libc='/lib/libc-2.2.5.so'
 libperl='libperl.so'
 libpth='/usr/local/lib /lib /usr/lib'
-libs='-lresolv -lnsl -ldl -lm -lcrypt -lutil -lc'
+libs='-lresolv -lnsl -ldl -lm -lpthread -lcrypt -lutil -lc'
 libsdirs=' /usr/lib'
-libsfiles=' libresolv.so libnsl.so libdl.so libm.so libcrypt.so libutil.so libc.so'
-libsfound=' /usr/lib/libresolv.so /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
+libsfiles=' libresolv.so libnsl.so libdl.so libm.so libpthread.so libcrypt.so libutil.so libc.so'
+libsfound=' /usr/lib/libresolv.so /usr/lib/libnsl.so /usr/lib/libdl.so /usr/lib/libm.so /usr/lib/libpthread.so /usr/lib/libcrypt.so /usr/lib/libutil.so /usr/lib/libc.so'
 libspath=' /usr/local/lib /lib /usr/lib'
-libswanted='sfio socket resolv inet nsl nm gdbm dbm db malloc dl dld ld sun m crypt sec util c cposix posix ucb BSD'
+libswanted='sfio socket resolv inet nsl nm gdbm dbm db malloc dl dld ld sun m pthread crypt sec util c cposix posix ucb BSD'
 libswanted_uselargefiles=''
 line=''
 lint=''
@@ -801,7 +801,7 @@ perladmin='root at localhost'
 perl=''
 perl_patchlevel=''
 perladmin='root at localhost'
-perllibs='-lresolv -lnsl -ldl -lm -lcrypt -lutil -lc'
+perllibs='-lresolv -lnsl -ldl -lm -lpthread -lcrypt -lutil -lc'
 perlpath='hostperl'
 pg='pg'
 phostname=''
@@ -958,7 +958,7 @@ usefaststdio='define'
 usecrosscompile='undef'
 usedl='define'
 usefaststdio='define'
-useithreads='undef'
+useithreads='define'
 uselargefiles='define'
 uselongdouble='undef'
 usemallocwrap='define'
@@ -974,7 +974,7 @@ usesocks='undef'
 useshrplib='true'
 usesitecustomize='undef'
 usesocks='undef'
-usethreads='undef'
+usethreads='define'
 usevendorprefix='undef'
 usevfork='false'
 usrinc='/usr/include'






More information about the Openembedded-commits mailing list