[OE-core] [PATCH] eglibc-2.12: Fix build on powerpc/603e

Richard Purdie richard.purdie at linuxfoundation.org
Thu Sep 22 20:02:56 UTC 2011


On Thu, 2011-09-22 at 08:57 -0700, Khem Raj wrote:
> We pass --with-cpu to eglibc now. Which breaks
> the configure for cpus that it does not support
> We add support for ppc603e which gets 2.12
> building for qemuppc.
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  .../eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch   |   26 ++++++++++++++++++++
>  meta/recipes-core/eglibc/eglibc_2.12.bb            |    3 +-
>  2 files changed, 28 insertions(+), 1 deletions(-)
>  create mode 100644 meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
> 
> diff --git a/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch b/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
> new file mode 100644
> index 0000000..5c90e5b
> --- /dev/null
> +++ b/meta/recipes-core/eglibc/eglibc-2.12/ppc-enable-603e-cpu.patch
> @@ -0,0 +1,26 @@
> +We now pass --with-cpu option to eglibc this ends up with configure errors if we do
> +not pass a cpu which eglibc has support for in sysdeps
> +
> +| checking sysdep dirs... configure: error: The 603e subspecies of powerpc is not supported.
> +| + bbfatal 'oe_runconf failed'
> +| + echo 'ERROR: oe_runconf failed'
> +
> +We fix this by adding the 603e sub directories with Implies to generic
> +powerpc to overcome this error
> +
> +Upstream-Status: Inappropriate [OE config related]
> +
> +Signed-off-by: Khem Raj <raj.khem at gmail.com>

Merged to master, thanks.

Richard





More information about the Openembedded-core mailing list