Patchwork gcc-4.6: explicitly disable ppl

login
register
mail settings
Submitter Andreas Oberritter
Date May 4, 2012, 1:09 p.m.
Message ID <1336136984-11129-1-git-send-email-obi@opendreambox.org>
Download mbox | patch
Permalink /patch/27059/
State Accepted
Commit 2c0fb8265d4876db537850f4b20c898dde3a0f4c
Headers show

Comments

Andreas Oberritter - May 4, 2012, 1:09 p.m.
* Fixes the following error after a system library upgrade
| .../mipsel-oe-linux/4.6.4/cc1: error while loading shared libraries: libppl.so.10: cannot open shared object file: No such file or directory

Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
* This patch is based on the denzil branch.

 meta/recipes-devtools/gcc/gcc-4.6.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Saul Wold - May 4, 2012, 5:22 p.m.
On 05/04/2012 06:09 AM, Andreas Oberritter wrote:
> * Fixes the following error after a system library upgrade
> | .../mipsel-oe-linux/4.6.4/cc1: error while loading shared libraries: libppl.so.10: cannot open shared object file: No such file or directory
>
> Signed-off-by: Andreas Oberritter<obi@opendreambox.org>
> ---
> * This patch is based on the denzil branch.
>
>   meta/recipes-devtools/gcc/gcc-4.6.inc |    3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
> index 020e21b..74843ae 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 = "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
> @@ -93,6 +93,7 @@ EXTRA_OECONF_BASE = " --enable-lto \
>   			--disable-libmudflap \
>   			--with-system-zlib \
>   			--with-linker-hash-style=${LINKER_HASH_STYLE} \
> +			--without-ppl \
>   			--enable-cheaders=c_global "
>
>   EXTRA_OECONF_INITIAL = "--disable-libmudflap \

Merged into OE-Core

Thanks
	Sau!
Khem Raj - May 4, 2012, 6:08 p.m.
On Fri, May 4, 2012 at 6:09 AM, Andreas Oberritter <obi@opendreambox.org> wrote:
> * Fixes the following error after a system library upgrade
> | .../mipsel-oe-linux/4.6.4/cc1: error while loading shared libraries: libppl.so.10: cannot open shared object file: No such file or directory
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> ---
> * This patch is based on the denzil branch.
>
>  meta/recipes-devtools/gcc/gcc-4.6.inc |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
> index 020e21b..74843ae 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 = "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
> @@ -93,6 +93,7 @@ EXTRA_OECONF_BASE = " --enable-lto \
>                        --disable-libmudflap \
>                        --with-system-zlib \
>                        --with-linker-hash-style=${LINKER_HASH_STYLE} \
> +                       --without-ppl \
>                        --enable-cheaders=c_global "
>
>  EXTRA_OECONF_INITIAL = "--disable-libmudflap \
> --
> 1.7.9.5
>
>

You will also need to disable cloog
infact you should backport

commit 523df15bcc21e1749771cca757613f3520243b8e
Author: Khem Raj <raj.khem@gmail.com>
Date:   Thu Mar 22 16:08:03 2012 -0700

    gcc-4.7: Disable cloog and ppl

    If build system has those libraries installed
    gcc configure will pick them up. We want
    consistent builds so we disable them since we
    do not (yet) support them

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



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

Patch

diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc
index 020e21b..74843ae 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 = "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
@@ -93,6 +93,7 @@  EXTRA_OECONF_BASE = " --enable-lto \
 			--disable-libmudflap \
 			--with-system-zlib \
 			--with-linker-hash-style=${LINKER_HASH_STYLE} \
+			--without-ppl \
 			--enable-cheaders=c_global "
 
 EXTRA_OECONF_INITIAL = "--disable-libmudflap \