perl: Enable threading
PATCH 1/1 perl: Enable threading
When the tranisiton to perl-cross occured, the threading define seems to have been missed. The perl tests for threading where simply skipped, so there was no direct failures. This was verified by running perl ptest before and after the change to see PASS vs SKIP results of threaded related tests.
--- meta/recipes-devtools/perl/perl_5.34.0.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/perl/perl_5.34.0.bb +1 -0
@@ -53,6 +53,7 @@ do_configure:class-target() { ./configure --prefix=${prefix} --libdir=${libdir} \ --target=${TARGET_SYS} \ -Duseshrplib \ + -Dusethreads \ -Dsoname=libperl.so.5 \ -Dvendorprefix=${prefix} \ -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \
Signature · 1 line
2.31.1
Quoted 7 lines · Saul Wold
When the tranisiton to perl-cross occured, the threading define seems to have been missed. The perl tests for threading where simply skipped, so there was no direct failures. This was verified by running perl ptest before and after the change to see PASS vs SKIP results of threaded related tests.
Do we need this for perl-native too ? I am seeing failures like below
https://errors.yoctoproject.org/Errors/Details/621556/
https://errors.yoctoproject.org/Errors/Details/621555/
can you take a look ?
Quoted 29 lines
Signed-off-by Saul Wold <[email protected]>--- meta/recipes-devtools/perl/perl_5.34.0.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/perl/perl_5.34.0.bb +1
-1@@ -53,6 +53,7 @@ do_configure:class-target() { ./configure --prefix=${prefix} --libdir=${libdir} \ --target=${TARGET_SYS} \ -Duseshrplib \ + -Dusethreads \ -Dsoname=libperl.so.5 \ -Dvendorprefix=${prefix} \ -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \ --2.31.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160066): https://lists.openembedded.org/g/openembedded-core/message/160066
Mute This Topic: https://lists.openembedded.org/mt/88042607/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 9 lines · Khem Raj
Quoted 7 lines · Saul Wold
When the tranisiton to perl-cross occured, the threading define seems to have been missed. The perl tests for threading where simply skipped, so there was no direct failures. This was verified by running perl ptest before and after the change to see PASS vs SKIP results of threaded related tests.
Quoted 7 lines
Do we need this for perl-native too ? I am seeing failures like below
https://errors.yoctoproject.org/Errors/Details/621556/
https://errors.yoctoproject.org/Errors/Details/621555/can you take a look ?
Yes, I am looking into it. RP mentioned it earlier today.
Yes, I guess I just enabled for the target and not native or nativesdk, building and testing now.
Sau!
Quoted 29 lines
Quoted 29 lines
Signed-off-by Saul Wold <[email protected]>--- meta/recipes-devtools/perl/perl_5.34.0.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-devtools/perl/perl_5.34.0.bb +1
-1@@ -53,6 +53,7 @@ do_configure:class-target() { ./configure --prefix=${prefix} --libdir=${libdir} \ --target=${TARGET_SYS} \ -Duseshrplib \ + -Dusethreads \ -Dsoname=libperl.so.5 \ -Dvendorprefix=${prefix} \ -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \ --2.31.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160066): https://lists.openembedded.org/g/openembedded-core/message/160066
Mute This Topic: https://lists.openembedded.org/mt/88042607/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 1 line
Sau!