glib-2.0: add missing libgcc dependency to glib-2.0-ptest

Message ID 20190516190105.2576-1-ross.burton@intel.com
State Accepted
Commit 0563003fea0ff432e61f7361fa8c1524ffbc925a
Headers show
Series
  • glib-2.0: add missing libgcc dependency to glib-2.0-ptest
Related show

Commit Message

Ross Burton May 16, 2019, 7:01 p.m.
The thread tests need libgcc for pthread_cancel to work.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-core/glib-2.0/glib.inc | 1 +
 1 file changed, 1 insertion(+)

-- 
2.20.1 (Apple Git-117)

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Khem Raj May 20, 2019, 6:17 p.m. | #1
On 5/16/19 12:01 PM, Ross Burton wrote:
> The thread tests need libgcc for pthread_cancel to work.

> 

> Signed-off-by: Ross Burton <ross.burton@intel.com>

> ---

>   meta/recipes-core/glib-2.0/glib.inc | 1 +

>   1 file changed, 1 insertion(+)

> 

> diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc

> index 9ffc4560a9e..82107a8a188 100644

> --- a/meta/recipes-core/glib-2.0/glib.inc

> +++ b/meta/recipes-core/glib-2.0/glib.inc

> @@ -140,6 +140,7 @@ CODEGEN_PYTHON_RDEPENDS_mingw32 = ""

>   RDEPENDS_${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}"

>   

>   RDEPENDS_${PN}-ptest += "\

> +            libgcc \

>               dbus \

>               gnome-desktop-testing \

>               tzdata \

> 


I wonder why shlibs is not detecting this rdep automatically. Is it 
dlopened ?
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 9ffc4560a9e..82107a8a188 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -140,6 +140,7 @@  CODEGEN_PYTHON_RDEPENDS_mingw32 = ""
 RDEPENDS_${PN}-codegen += "${CODEGEN_PYTHON_RDEPENDS}"
 
 RDEPENDS_${PN}-ptest += "\
+            libgcc \
             dbus \
             gnome-desktop-testing \
             tzdata \