Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/6] Fix perl for powerpc64 build
Date: Wed, 05 Oct 2011 12:46:44 +0100	[thread overview]
Message-ID: <1317815212.14671.142.camel@ted> (raw)
In-Reply-To: <1317765787-19127-2-git-send-email-msm@freescale.com>

On Tue, 2011-10-04 at 17:03 -0500, Matthew McClintock wrote:
> Build environment for ARCH was set to powerpc on a powerpc64
> build, this adds an override to set this to powerpc64 when
> doing this type of build
> 
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
> No comments on original patch:
> 
> http://lists.linuxtogo.org/pipermail/openembedded-core/2011-September/010340.html
> 
>  meta/recipes-devtools/perl/perl_5.12.3.bb |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/meta/recipes-devtools/perl/perl_5.12.3.bb b/meta/recipes-devtools/perl/perl_5.12.3.bb
> index e4769a4..d1ac0e8 100644
> --- a/meta/recipes-devtools/perl/perl_5.12.3.bb
> +++ b/meta/recipes-devtools/perl/perl_5.12.3.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=2b4c6ffbcfcbdee469f02565f253d81a \
>  # We need gnugrep (for -I)
>  DEPENDS = "virtual/db grep-native"
>  DEPENDS += "gdbm zlib"
> -PR = "r5"
> +PR = "r6"
>  
>  # 5.10.1 has Module::Build built-in
>  PROVIDES += "libmodule-build-perl"
> @@ -95,6 +95,8 @@ export LDDLFLAGS = "${LDFLAGS} -shared"
>  # We're almost Debian, aren't we?
>  CFLAGS += "-DDEBIAN"
>  
> +export ARCH_powerpc64 = "powerpc64"
> +

I'm finding it really hard to believe this makes any difference. I just
tried a powerpc64 build here and perl built fine. I can't find any
evidence for any part of the perl build using an ARCH variable
(TARGET_ARCH is used but that isn't ARCH).

Can you give some further information about how/where this is used?

>  do_nolargefile() {
>  	sed -i -e "s,\(uselargefiles=\)'define',\1'undef',g" \
>  		-e "s,\(d_readdir64_r=\)'define',\1'undef',g" \
> @@ -156,7 +158,7 @@ do_configure() {
>              config.sh-${TARGET_ARCH}-${TARGET_OS}
>  
>  	case "${TARGET_ARCH}" in
> -		x86_64 | powerpc | s390)
> +		x86_64 | powerpc | powerpc64 | s390)
>  			sed -i -e "s,\(need_va_copy=\)'undef',\1'define',g" \
>  				config.sh-${TARGET_ARCH}-${TARGET_OS}
>  			;;

This bit is fine...

Cheers,

Richard




  reply	other threads:[~2011-10-05 11:52 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-04 22:03 [PATCH 1/6] Fix mdadm for powerpc64 Matthew McClintock
2011-10-04 22:03 ` [PATCH 2/6] Fix perl for powerpc64 build Matthew McClintock
2011-10-05 11:46   ` Richard Purdie [this message]
2011-10-05 19:04     ` McClintock Matthew-B29882
2011-10-07 15:52       ` Richard Purdie
2011-10-07 16:07         ` McClintock Matthew-B29882
2011-10-04 22:03 ` [PATCH 3/6] Add new IMAGE_CLASSES variable for classes for image generation Matthew McClintock
2011-10-05 22:52   ` McClintock Matthew-B29882
2011-10-05 23:53     ` Richard Purdie
2011-10-06  0:25       ` McClintock Matthew-B29882
2011-10-11 16:44         ` McClintock Matthew-B29882
2011-10-04 22:03 ` [PATCH 4/6] scripts/oe-buildenv-internal: Add SOCKS5_{USER, PASSWD} to BB_ENV_EXTRAWHITE Matthew McClintock
2011-10-05 13:25   ` Richard Purdie
2011-10-04 22:03 ` [PATCH 5/6] Fix sysprof for powerpc64 Matthew McClintock
2011-10-05  0:05   ` Khem Raj
2011-10-05  6:44     ` McClintock Matthew-B29882
2011-10-05 11:35     ` Richard Purdie
2011-10-05 16:46       ` Khem Raj
2011-10-05 16:48       ` McClintock Matthew-B29882
2011-10-05 17:06         ` Khem Raj
2011-10-05 17:10           ` Saul Wold
2011-10-05 18:30       ` Phil Blundell
2011-10-05 18:41         ` McClintock Matthew-B29882
2011-10-05 19:13         ` Khem Raj
2011-10-04 22:03 ` [PATCH 6/6] Bring libnl up to date with meta-openebedded Matthew McClintock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1317815212.14671.142.camel@ted \
    --to=richard.purdie@linuxfoundation.org \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox