Skip to contentSkip to conversation

libgomp: add libgomp (openmp) library, and build for powerpc targets by default

PATCH Superseded Matthew McClintock 4 participants 11 messages Jul 6, 2012 – Jul 9, 2012

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgomp: add libgomp (openmp) library, and build for powerpc targets by default

---
 meta/recipes-devtools/gcc/gcc-4.6.inc               |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-runtime.inc |    2 ++
 meta/recipes-devtools/gcc/gcc-package-runtime.inc   |    9 +++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
index 020e21b..32545eb 100644
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r25"
+PR = "r26"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
index 34bfaeb..a7d478c 100644
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
     --with-build-sysroot=${STAGING_DIR_TARGET}"
 
 RUNTIMETARGET = "libssp libstdc++-v3"
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
 #  ?
 # libiberty
 # libmudflap
meta/recipes-devtools/gcc/gcc-package-runtime.inc +9 -0
index feb8735..001a444 100644
@@ -13,6 +13,8 @@ PACKAGES = "\
   libgfortran-dev \
   libmudflap \
   libmudflap-dev \
+  libgomp \
+  libgomp-dev \
 "
 # The base package doesn't exist, so we clear the recommends.
 RRECOMMENDS_${PN}-dbg = ""
@@ -61,3 +63,10 @@ FILES_libmudflap-dev = "\
   ${libdir}/libmudflap*.a \
   ${libdir}/libmudflap*.la"
 
+FILES_libgomp = "${libdir}/libgomp*.so.*"
+FILES_libgomp-dev = "\
+  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*.a \
+  ${libdir}/libgomp*.la \
+  ${libdir}/libgomp.spec \
+  ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h"
Signature · 1 line
1.7.10
#1 lore raw
Quoted 46 lines · Matthew McClintock
---
 meta/recipes-devtools/gcc/gcc-4.6.inc               |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-runtime.inc |    2 ++
 meta/recipes-devtools/gcc/gcc-package-runtime.inc   |    9 +++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
index 020e21b..32545eb 100644
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r25"
+PR = "r26"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
index 34bfaeb..a7d478c 100644
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
     --with-build-sysroot=${STAGING_DIR_TARGET}"
 
 RUNTIMETARGET = "libssp libstdc++-v3"
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
 #  ?
 # libiberty
 # libmudflap
meta/recipes-devtools/gcc/gcc-package-runtime.inc +2 -0
index feb8735..001a444 100644
@@ -13,6 +13,8 @@ PACKAGES = "\
   libgfortran-dev \
   libmudflap \
   libmudflap-dev \
+  libgomp \
+  libgomp-dev \
 "
 # The base package doesn't exist, so we clear the recommends.
 RRECOMMENDS_${PN}-dbg = ""

meta/recipes-devtools/gcc/gcc-package-runtime.inc FILES_libmudflap-dev = "\ · line 72

Quoted 10 lines
meta/recipes-devtools/gcc/gcc-package-runtime.inc +7 -0
@@ -61,3 +63,10 @@ FILES_libmudflap-dev = "\
   ${libdir}/libmudflap*.a \
   ${libdir}/libmudflap*.la"
 
+FILES_libgomp = "${libdir}/libgomp*.so.*"
+FILES_libgomp-dev = "\
+  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*.a \
+  ${libdir}/libgomp*.la \
+  ${libdir}/libgomp.spec \
+  ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h"

Did you build a non ppc architecture to verify that it does not complain about empty packages ?

Quoted 9 lines

--
1.7.10

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 50 lines · Khem Raj
Quoted 49 lines · Matthew McClintock
---
 meta/recipes-devtools/gcc/gcc-4.6.inc               |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-runtime.inc |    2 ++
 meta/recipes-devtools/gcc/gcc-package-runtime.inc   |    9 +++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
index 020e21b..32545eb 100644
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r25"
+PR = "r26"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
index 34bfaeb..a7d478c 100644
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
     --with-build-sysroot=${STAGING_DIR_TARGET}"
 
 RUNTIMETARGET = "libssp libstdc++-v3"
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
 #  ?
 # libiberty
 # libmudflap
meta/recipes-devtools/gcc/gcc-package-runtime.inc +2 -0
index feb8735..001a444 100644
@@ -13,6 +13,8 @@ PACKAGES = "\
   libgfortran-dev \
   libmudflap \
   libmudflap-dev \
+  libgomp \
+  libgomp-dev \
 "
 # The base package doesn't exist, so we clear the recommends.
 RRECOMMENDS_${PN}-dbg = ""
@@ -61,3 +63,10 @@ FILES_libmudflap-dev = "\
   ${libdir}/libmudflap*.a \
   ${libdir}/libmudflap*.la"
 
Quoted 10 lines

meta/recipes-devtools/gcc/gcc-package-runtime.inc FILES_libmudflap-dev = "\ · line 72

Quoted 7 lines
meta/recipes-devtools/gcc/gcc-package-runtime.inc +7 -0
+FILES_libgomp = "${libdir}/libgomp*.so.*"
+FILES_libgomp-dev = "\
+  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*.a \
+  ${libdir}/libgomp*.la \
+  ${libdir}/libgomp.spec \
+  ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h"

Did you build a non ppc architecture to verify that it does not complain about empty packages ?

I tested without the powerpc overrides first...

-M

Quoted 15 lines
Quoted 10 lines

--
1.7.10

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 62 lines · On Thu, Jul 5, 2012 at 10:36 PM, McClintock Matthew-B29882…
Quoted 50 lines · Khem Raj
Quoted 49 lines · Matthew McClintock
---
 meta/recipes-devtools/gcc/gcc-4.6.inc               |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-runtime.inc |    2 ++
 meta/recipes-devtools/gcc/gcc-package-runtime.inc   |    9 +++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
index 020e21b..32545eb 100644
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r25"
+PR = "r26"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
index 34bfaeb..a7d478c 100644
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
     --with-build-sysroot=${STAGING_DIR_TARGET}"
 
 RUNTIMETARGET = "libssp libstdc++-v3"
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
 #  ?
 # libiberty
 # libmudflap
meta/recipes-devtools/gcc/gcc-package-runtime.inc +2 -0
index feb8735..001a444 100644
@@ -13,6 +13,8 @@ PACKAGES = "\
   libgfortran-dev \
   libmudflap \
   libmudflap-dev \
+  libgomp \
+  libgomp-dev \
 "
 # The base package doesn't exist, so we clear the recommends.
 RRECOMMENDS_${PN}-dbg = ""
@@ -61,3 +63,10 @@ FILES_libmudflap-dev = "\
   ${libdir}/libmudflap*.a \
   ${libdir}/libmudflap*.la"
 
Quoted 10 lines

meta/recipes-devtools/gcc/gcc-package-runtime.inc FILES_libmudflap-dev = "\ · line 72

Quoted 7 lines
meta/recipes-devtools/gcc/gcc-package-runtime.inc +7 -0
+FILES_libgomp = "${libdir}/libgomp*.so.*"
+FILES_libgomp-dev = "\
+  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*.a \
+  ${libdir}/libgomp*.la \
+  ${libdir}/libgomp.spec \
+  ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h"

Did you build a non ppc architecture to verify that it does not complain about empty packages ?

Quoted 1 line

I tested without the powerpc overrides first...

OK let me put it differently remove

+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"

and leave the rest of patch in

then build for powerpc

Quoted 23 lines

-M

Quoted 11 lines
Quoted 10 lines

--
1.7.10

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#4 lore raw
Quoted 71 lines · Khem Raj
Quoted 62 lines · On Thu, Jul 5, 2012 at 10:36 PM, McClintock Matthew-B29882…
Quoted 50 lines · Khem Raj
Quoted 49 lines · Matthew McClintock
---
 meta/recipes-devtools/gcc/gcc-4.6.inc               |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-runtime.inc |    2 ++
 meta/recipes-devtools/gcc/gcc-package-runtime.inc   |    9 +++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
index 020e21b..32545eb 100644
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r25"
+PR = "r26"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
index 34bfaeb..a7d478c 100644
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
     --with-build-sysroot=${STAGING_DIR_TARGET}"
 
 RUNTIMETARGET = "libssp libstdc++-v3"
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
 #  ?
 # libiberty
 # libmudflap
meta/recipes-devtools/gcc/gcc-package-runtime.inc +2 -0
index feb8735..001a444 100644
@@ -13,6 +13,8 @@ PACKAGES = "\
   libgfortran-dev \
   libmudflap \
   libmudflap-dev \
+  libgomp \
+  libgomp-dev \
 "
 # The base package doesn't exist, so we clear the recommends.
 RRECOMMENDS_${PN}-dbg = ""
@@ -61,3 +63,10 @@ FILES_libmudflap-dev = "\
   ${libdir}/libmudflap*.a \
   ${libdir}/libmudflap*.la"
 
Quoted 10 lines

meta/recipes-devtools/gcc/gcc-package-runtime.inc FILES_libmudflap-dev = "\ · line 72

Quoted 7 lines
meta/recipes-devtools/gcc/gcc-package-runtime.inc +7 -0
+FILES_libgomp = "${libdir}/libgomp*.so.*"
+FILES_libgomp-dev = "\
+  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*.a \
+  ${libdir}/libgomp*.la \
+  ${libdir}/libgomp.spec \
+  ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h"

Did you build a non ppc architecture to verify that it does not complain about empty packages ?

Quoted 1 line

I tested without the powerpc overrides first...

OK let me put it differently remove

meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
Quoted 3 lines

and leave the rest of patch in

then build for powerpc

That's what I'm saying I did... I did not even get libgomp packages (rpm's) in this scenario....

-M

Quoted 29 lines
Quoted 20 lines

-M

Quoted 11 lines
Quoted 10 lines

--
1.7.10

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#5 lore raw
Quoted 72 lines · On Fri, Jul 6, 2012 at 7:26 AM, McClintock Matthew-B29882…
Quoted 71 lines · Khem Raj
Quoted 62 lines · On Thu, Jul 5, 2012 at 10:36 PM, McClintock Matthew-B29882…
Quoted 50 lines · Khem Raj
Quoted 49 lines · Matthew McClintock
---
 meta/recipes-devtools/gcc/gcc-4.6.inc               |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-runtime.inc |    2 ++
 meta/recipes-devtools/gcc/gcc-package-runtime.inc   |    9 +++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
index 020e21b..32545eb 100644
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r25"
+PR = "r26"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
index 34bfaeb..a7d478c 100644
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
     --with-build-sysroot=${STAGING_DIR_TARGET}"
 
 RUNTIMETARGET = "libssp libstdc++-v3"
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
 #  ?
 # libiberty
 # libmudflap
meta/recipes-devtools/gcc/gcc-package-runtime.inc +2 -0
index feb8735..001a444 100644
@@ -13,6 +13,8 @@ PACKAGES = "\
   libgfortran-dev \
   libmudflap \
   libmudflap-dev \
+  libgomp \
+  libgomp-dev \
 "
 # The base package doesn't exist, so we clear the recommends.
 RRECOMMENDS_${PN}-dbg = ""
@@ -61,3 +63,10 @@ FILES_libmudflap-dev = "\
   ${libdir}/libmudflap*.a \
   ${libdir}/libmudflap*.la"
 
Quoted 10 lines

meta/recipes-devtools/gcc/gcc-package-runtime.inc FILES_libmudflap-dev = "\ · line 72

Quoted 7 lines
meta/recipes-devtools/gcc/gcc-package-runtime.inc +7 -0
+FILES_libgomp = "${libdir}/libgomp*.so.*"
+FILES_libgomp-dev = "\
+  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*.a \
+  ${libdir}/libgomp*.la \
+  ${libdir}/libgomp.spec \
+  ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h"

Did you build a non ppc architecture to verify that it does not complain about empty packages ?

Quoted 1 line

I tested without the powerpc overrides first...

OK let me put it differently remove

meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
Quoted 6 lines
Quoted 3 lines

and leave the rest of patch in

then build for powerpc

That's what I'm saying I did... I did not even get libgomp packages (rpm's) in this scenario....

OK, Dont you get warnings about empty packages.

Quoted 38 lines

-M

Quoted 25 lines
Quoted 20 lines

-M

Quoted 11 lines
Quoted 10 lines

--
1.7.10

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Quoted 4 lines

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

#6 lore raw
Quoted 74 lines · Khem Raj
Quoted 72 lines · On Fri, Jul 6, 2012 at 7:26 AM, McClintock Matthew-B29882…
Quoted 71 lines · Khem Raj
Quoted 62 lines · On Thu, Jul 5, 2012 at 10:36 PM, McClintock Matthew-B29882…
Quoted 50 lines · Khem Raj
Quoted 49 lines · Matthew McClintock
---
 meta/recipes-devtools/gcc/gcc-4.6.inc               |    2 +-
 meta/recipes-devtools/gcc/gcc-configure-runtime.inc |    2 ++
 meta/recipes-devtools/gcc/gcc-package-runtime.inc   |    9 +++++++++
 3 files changed, 12 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
index 020e21b..32545eb 100644
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r25"
+PR = "r26"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
index 34bfaeb..a7d478c 100644
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
     --with-build-sysroot=${STAGING_DIR_TARGET}"
 
 RUNTIMETARGET = "libssp libstdc++-v3"
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
 #  ?
 # libiberty
 # libmudflap
meta/recipes-devtools/gcc/gcc-package-runtime.inc +2 -0
index feb8735..001a444 100644
@@ -13,6 +13,8 @@ PACKAGES = "\
   libgfortran-dev \
   libmudflap \
   libmudflap-dev \
+  libgomp \
+  libgomp-dev \
 "
 # The base package doesn't exist, so we clear the recommends.
 RRECOMMENDS_${PN}-dbg = ""
@@ -61,3 +63,10 @@ FILES_libmudflap-dev = "\
   ${libdir}/libmudflap*.a \
   ${libdir}/libmudflap*.la"
 
Quoted 10 lines

meta/recipes-devtools/gcc/gcc-package-runtime.inc FILES_libmudflap-dev = "\ · line 72

Quoted 7 lines
meta/recipes-devtools/gcc/gcc-package-runtime.inc +7 -0
+FILES_libgomp = "${libdir}/libgomp*.so.*"
+FILES_libgomp-dev = "\
+  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*.a \
+  ${libdir}/libgomp*.la \
+  ${libdir}/libgomp.spec \
+  ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h"

Did you build a non ppc architecture to verify that it does not complain about empty packages ?

Quoted 1 line

I tested without the powerpc overrides first...

OK let me put it differently remove

meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

and leave the rest of patch in

then build for powerpc

That's what I'm saying I did... I did not even get libgomp packages (rpm's) in this scenario....

OK, Dont you get warnings about empty packages.

Let me double check.... it does not seem to have any such messages:

$ bitbake -c cleanall gcc-runtime
$ bitbake gcc-runtime
$ grep libgomp -r tmp/cooker.log.20120706190*

With your changes above starting from scratch with a PR bump for kicks does not even make the packages.

-M

#7 lore raw
In reply to Matthew McClintock
Quoted 47 lines · Matthew McClintock
---
  meta/recipes-devtools/gcc/gcc-4.6.inc               |    2 +-
  meta/recipes-devtools/gcc/gcc-configure-runtime.inc |    2 ++
  meta/recipes-devtools/gcc/gcc-package-runtime.inc   |    9 +++++++++
  3 files changed, 12 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
index 020e21b..32545eb 100644
@@ -1,6 +1,6 @@
  require gcc-common.inc
 
-PR = "r25"
+PR = "r26"
 
  # Third digit in PV should be incremented after a minor release
  # happens from this branch on gcc e.g. currently its 4.6.0
meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
index 34bfaeb..a7d478c 100644
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
      --with-build-sysroot=${STAGING_DIR_TARGET}"
 
  RUNTIMETARGET = "libssp libstdc++-v3"
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
  #  ?
  # libiberty
  # libmudflap
meta/recipes-devtools/gcc/gcc-package-runtime.inc +2 -0
index feb8735..001a444 100644
@@ -13,6 +13,8 @@ PACKAGES = "\
    libgfortran-dev \
    libmudflap \
    libmudflap-dev \
+  libgomp \
+  libgomp-dev \
  "
  # The base package doesn't exist, so we clear the recommends.
  RRECOMMENDS_${PN}-dbg = ""

meta/recipes-devtools/gcc/gcc-package-runtime.inc FILES_libmudflap-dev = "\ · line 72

Quoted 10 lines
meta/recipes-devtools/gcc/gcc-package-runtime.inc +7 -0
@@ -61,3 +63,10 @@ FILES_libmudflap-dev = "\
    ${libdir}/libmudflap*.a \
    ${libdir}/libmudflap*.la"
 
+FILES_libgomp = "${libdir}/libgomp*.so.*"
+FILES_libgomp-dev = "\
+  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*.a \
+  ${libdir}/libgomp*.la \
+  ${libdir}/libgomp.spec \
+  ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h"

I should have noticed this before, but it took a build failure! Did you intend to have a ".a" in the -dev package vs the -staticdav package?

Quoted 6 lines

ERROR: QA Issue: non -staticdev package contains static .a library: libgomp-dev path '/work/ppc603e-poky-linux/gcc-runtime-4.7.1+svnr188658-r2/packages-split/libgomp-dev/usr/lib/libgomp.a'
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc603e-poky-linux/gcc-runtime-4.7.1+svnr188658-r2/temp/log.do_package.15360
NOTE: package gcc-runtime-4.7.1+svnr188658-r2: task do_package: Failed
ERROR: Task 654 (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/meta/recipes-devtools/gcc/gcc-runtime_4.7.bb, do_package) failed with exit code '1'

Sau!

#8 lore raw
Quoted 53 lines · Saul Wold
Quoted 52 lines · Matthew McClintock
---
  meta/recipes-devtools/gcc/gcc-4.6.inc               |    2 +-
  meta/recipes-devtools/gcc/gcc-configure-runtime.inc |    2 ++
  meta/recipes-devtools/gcc/gcc-package-runtime.inc   |    9 +++++++++
  3 files changed, 12 insertions(+), 1 deletion(-)
meta/recipes-devtools/gcc/gcc-4.6.inc +1 -1
index 020e21b..32545eb 100644
@@ -1,6 +1,6 @@
  require gcc-common.inc
 
-PR = "r25"
+PR = "r26"
 
  # Third digit in PV should be incremented after a minor release
  # happens from this branch on gcc e.g. currently its 4.6.0
meta/recipes-devtools/gcc/gcc-configure-runtime.inc +2 -0
index 34bfaeb..a7d478c 100644
@@ -9,6 +9,8 @@ EXTRA_OECONF_PATHS = " \
      --with-build-sysroot=${STAGING_DIR_TARGET}"
 
  RUNTIMETARGET = "libssp libstdc++-v3"
+RUNTIMETARGET_append_powerpc = " libgomp"
+RUNTIMETARGET_append_powerpc64 = " libgomp"
  #  ?
  # libiberty
  # libmudflap
meta/recipes-devtools/gcc/gcc-package-runtime.inc +2 -0
index feb8735..001a444 100644
@@ -13,6 +13,8 @@ PACKAGES = "\
    libgfortran-dev \
    libmudflap \
    libmudflap-dev \
+  libgomp \
+  libgomp-dev \
  "
  # The base package doesn't exist, so we clear the recommends.
  RRECOMMENDS_${PN}-dbg = ""
@@ -61,3 +63,10 @@ FILES_libmudflap-dev = "\
    ${libdir}/libmudflap*.a \
    ${libdir}/libmudflap*.la"
 
Quoted 26 lines

meta/recipes-devtools/gcc/gcc-package-runtime.inc FILES_libmudflap-dev = "\ · line 72

Quoted 8 lines
meta/recipes-devtools/gcc/gcc-package-runtime.inc +7 -0
+FILES_libgomp = "${libdir}/libgomp*.so.*"
+FILES_libgomp-dev = "\
+  ${libdir}/libgomp*.so \
+  ${libdir}/libgomp*.a \
+  ${libdir}/libgomp*.la \
+  ${libdir}/libgomp.spec \
+  ${libdir}/gcc/${TARGET_SYS}/${BINV}/include/omp.h"

I should have noticed this before, but it took a build failure! Did you intend to have a ".a" in the -dev package vs the -staticdav package?

Quoted 13 lines

ERROR: QA Issue: non -staticdev package contains static .a library:
libgomp-dev path '/work/ppc603e-poky-linux/gcc-runtime-4.7.1+svnr188658-r2/packages-split/libgomp-dev/usr/lib/libgomp.a'

ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in:
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/build/tmp/work/ppc603e-poky-linux/gcc-runtime-4.7.1+svnr188658-r2/temp/log.do_package.15360

NOTE: package gcc-runtime-4.7.1+svnr188658-r2: task do_package: Failed
ERROR: Task 654 (/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-ppc/build/meta/recipes-devtools/gcc/gcc-runtime_4.7.bb, do_package) failed with exit code '1'

And one more packaging issue:

Quoted 5 lines

ERROR: QA Issue: gcc-runtime: Files/directories were installed but not shipped
/usr/lib/gcc/powerpc-poky-linux/4.7.2/finclude
/usr/share/info
/usr/share/info/libgomp.info
/usr/share/info/dir

Sau!

Quoted 5 lines

Sau!

#9 lore raw
Quoted 1 line · Saul Wold

/usr/share/info/dir

I don't see this dir on my build... perhaps it's the specific version of gcc? or it's some munged text output?

If you still see if can you add it to the patch? v2 coming shortly.

-M

#10 lore raw
Quoted 7 lines · Matthew McClintock
Quoted 1 line · Saul Wold

/usr/share/info/dir

I don't see this dir on my build... perhaps it's the specific version of gcc? or it's some munged text output?

If you still see if can you add it to the patch? v2 coming shortly.

Nevermind, I do see this dir. Will fix.

-M