All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gcc-4.6: Fix packaging of native toolchains
@ 2011-07-22 13:57 Kumar Gala
  2011-07-25  1:33 ` Khem Raj
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Kumar Gala @ 2011-07-22 13:57 UTC (permalink / raw)
  To: openembedded-core

The base gcc package is missing liblto_plugin.so.  If we try a simple
hello world compile we get something like:

root@p5020-ds:~# gcc hello.c
gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.

We need to include liblto_plugin.so in the base gcc package and not
gcc-dev.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 meta/recipes-devtools/gcc/gcc-4.6.inc            |    2 +-
 meta/recipes-devtools/gcc/gcc-package-target.inc |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index a724594..4c1e1e1 100644
--- a/meta/recipes-devtools/gcc/gcc-4.6.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r1"
+PR = "r2"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
index e6105da..a0e5da4 100644
--- a/meta/recipes-devtools/gcc/gcc-package-target.inc
+++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
@@ -17,6 +17,7 @@ FILES_${PN} = "\
   ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \
   ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \
   ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
+  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \
   ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
   ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
   ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
-- 
1.7.3.4




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] gcc-4.6: Fix packaging of native toolchains
  2011-07-22 13:57 [PATCH] gcc-4.6: Fix packaging of native toolchains Kumar Gala
@ 2011-07-25  1:33 ` Khem Raj
  2011-07-25 12:25 ` Koen Kooi
  2011-07-25 16:27 ` Saul Wold
  2 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2011-07-25  1:33 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: openembedded-core



On Jul 22, 2011, at 6:57 AM, Kumar Gala <galak@kernel.crashing.org> wrote:

> The base gcc package is missing liblto_plugin.so.  If we try a simple
> hello world compile we get something like:
> 
> root@p5020-ds:~# gcc hello.c
> gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
> compilation terminated.
> 
> We need to include liblto_plugin.so in the base gcc package and not
> gcc-dev.
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Acked-by: Khem Raj <raj.khem@gmail.com>

> ---
> meta/recipes-devtools/gcc/gcc-4.6.inc            |    2 +-
> meta/recipes-devtools/gcc/gcc-package-target.inc |    1 +
> 2 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
> index a724594..4c1e1e1 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.6.inc
> +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
> @@ -1,6 +1,6 @@
> require gcc-common.inc
> 
> -PR = "r1"
> +PR = "r2"
> 
> # Third digit in PV should be incremented after a minor release
> # happens from this branch on gcc e.g. currently its 4.6.0
> diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
> index e6105da..a0e5da4 100644
> --- a/meta/recipes-devtools/gcc/gcc-package-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
> @@ -17,6 +17,7 @@ FILES_${PN} = "\
>   ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \
>   ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \
>   ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
> +  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \
>   ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
>   ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
>   ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
> -- 
> 1.7.3.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gcc-4.6: Fix packaging of native toolchains
  2011-07-22 13:57 [PATCH] gcc-4.6: Fix packaging of native toolchains Kumar Gala
  2011-07-25  1:33 ` Khem Raj
@ 2011-07-25 12:25 ` Koen Kooi
  2011-07-25 18:00   ` Khem Raj
  2011-07-25 16:27 ` Saul Wold
  2 siblings, 1 reply; 5+ messages in thread
From: Koen Kooi @ 2011-07-25 12:25 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer


Op 22 jul. 2011, om 15:57 heeft Kumar Gala het volgende geschreven:

> The base gcc package is missing liblto_plugin.so.  If we try a simple
> hello world compile we get something like:
> 
> root@p5020-ds:~# gcc hello.c
> gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
> compilation terminated.
> 
> We need to include liblto_plugin.so in the base gcc package and not
> gcc-dev.
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> meta/recipes-devtools/gcc/gcc-4.6.inc            |    2 +-
> meta/recipes-devtools/gcc/gcc-package-target.inc |    1 +
> 2 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
> index a724594..4c1e1e1 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.6.inc
> +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
> @@ -1,6 +1,6 @@
> require gcc-common.inc
> 
> -PR = "r1"
> +PR = "r2"

Doesn't this need a PR bump in gcc-4.5 as well?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gcc-4.6: Fix packaging of native toolchains
  2011-07-22 13:57 [PATCH] gcc-4.6: Fix packaging of native toolchains Kumar Gala
  2011-07-25  1:33 ` Khem Raj
  2011-07-25 12:25 ` Koen Kooi
@ 2011-07-25 16:27 ` Saul Wold
  2 siblings, 0 replies; 5+ messages in thread
From: Saul Wold @ 2011-07-25 16:27 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 07/22/2011 06:57 AM, Kumar Gala wrote:
> The base gcc package is missing liblto_plugin.so.  If we try a simple
> hello world compile we get something like:
>
> root@p5020-ds:~# gcc hello.c
> gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
> compilation terminated.
>
> We need to include liblto_plugin.so in the base gcc package and not
> gcc-dev.
>
> Signed-off-by: Kumar Gala<galak@kernel.crashing.org>
> ---
>   meta/recipes-devtools/gcc/gcc-4.6.inc            |    2 +-
>   meta/recipes-devtools/gcc/gcc-package-target.inc |    1 +
>   2 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
> index a724594..4c1e1e1 100644
> --- a/meta/recipes-devtools/gcc/gcc-4.6.inc
> +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
> @@ -1,6 +1,6 @@
>   require gcc-common.inc
>
> -PR = "r1"
> +PR = "r2"
>
>   # Third digit in PV should be incremented after a minor release
>   # happens from this branch on gcc e.g. currently its 4.6.0
> diff --git a/meta/recipes-devtools/gcc/gcc-package-target.inc b/meta/recipes-devtools/gcc/gcc-package-target.inc
> index e6105da..a0e5da4 100644
> --- a/meta/recipes-devtools/gcc/gcc-package-target.inc
> +++ b/meta/recipes-devtools/gcc/gcc-package-target.inc
> @@ -17,6 +17,7 @@ FILES_${PN} = "\
>     ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/cc* \
>     ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lto* \
>     ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \
> +  ${libexecdir}/gcc/${TARGET_SYS}/${BINV}/liblto*${SOLIBSDEV} \
>     ${gcclibdir}/${TARGET_SYS}/${BINV}/*.o \
>     ${gcclibdir}/${TARGET_SYS}/${BINV}/specs \
>     ${gcclibdir}/${TARGET_SYS}/${BINV}/lib*${SOLIBS} \

Merged into OE-Core

Thanks
	Sau!



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] gcc-4.6: Fix packaging of native toolchains
  2011-07-25 12:25 ` Koen Kooi
@ 2011-07-25 18:00   ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2011-07-25 18:00 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Mon, Jul 25, 2011 at 5:25 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>
> Op 22 jul. 2011, om 15:57 heeft Kumar Gala het volgende geschreven:
>
>> The base gcc package is missing liblto_plugin.so.  If we try a simple
>> hello world compile we get something like:
>>
>> root@p5020-ds:~# gcc hello.c
>> gcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
>> compilation terminated.
>>
>> We need to include liblto_plugin.so in the base gcc package and not
>> gcc-dev.
>>
>> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
>> ---
>> meta/recipes-devtools/gcc/gcc-4.6.inc            |    2 +-
>> meta/recipes-devtools/gcc/gcc-package-target.inc |    1 +
>> 2 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
>> index a724594..4c1e1e1 100644
>> --- a/meta/recipes-devtools/gcc/gcc-4.6.inc
>> +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc
>> @@ -1,6 +1,6 @@
>> require gcc-common.inc
>>
>> -PR = "r1"
>> +PR = "r2"
>
> Doesn't this need a PR bump in gcc-4.5 as well?

yes indeed it does


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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-25 18:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-22 13:57 [PATCH] gcc-4.6: Fix packaging of native toolchains Kumar Gala
2011-07-25  1:33 ` Khem Raj
2011-07-25 12:25 ` Koen Kooi
2011-07-25 18:00   ` Khem Raj
2011-07-25 16:27 ` Saul Wold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.