Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: swee.aun.khor@intel.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 7/7] libffi: Support musl-x32 build
Date: Thu, 6 Jul 2017 00:22:25 -0700	[thread overview]
Message-ID: <e67110b8-07b3-768b-e80b-2a06c4fb55e4@gmail.com> (raw)
In-Reply-To: <722571d3f7603fc4dbe132ba50c11057244a8161.1499127835.git.swee.aun.khor@intel.com>


[-- Attachment #1.1: Type: text/plain, Size: 2394 bytes --]



On 7/5/17 4:56 PM, swee.aun.khor@intel.com wrote:
> From: sweeaun <swee.aun.khor@intel.com>
> 
> Upstream-Status: Pending.
> Added target musl-x32 in configure.ac to support musl-x32 build in libffi.
> 
> Signed-off-by: sweeaun <swee.aun.khor@intel.com>
> ---
>  .../0001-libffi-Support-musl-x32-build.patch       | 29 ++++++++++++++++++++++
>  meta/recipes-support/libffi/libffi_3.2.1.bb        |  1 +
>  2 files changed, 30 insertions(+)
>  create mode 100644 meta/recipes-support/libffi/libffi/0001-libffi-Support-musl-x32-build.patch
> 
> diff --git a/meta/recipes-support/libffi/libffi/0001-libffi-Support-musl-x32-build.patch b/meta/recipes-support/libffi/libffi/0001-libffi-Support-musl-x32-build.patch
> new file mode 100644
> index 0000000..971a543
> --- /dev/null
> +++ b/meta/recipes-support/libffi/libffi/0001-libffi-Support-musl-x32-build.patch
> @@ -0,0 +1,29 @@
> +From 62ac8214b3e8b368bd9365a6920b081aa0125671 Mon Sep 17 00:00:00 2001
> +From: sweeaun <swee.aun.khor@intel.com>
> +Date: Mon, 3 Jul 2017 13:23:31 -0700
> +Subject: [PATCH] libffi: Support musl x32 build
> +
> +Support libffi build with target musl-x32.
> +
> +Signed-off-by: sweeaun <swee.aun.khor@intel.com>
> +---
> + configure.ac | 3 +++
> + 1 file changed, 3 insertions(+)
> +
> +diff --git a/configure.ac b/configure.ac
> +index a7bf5ee..f4e101d 100644
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -180,6 +180,9 @@ case "$host" in
> + 	    *-gnux32)
> + 	      TARGET=X86_64
> + 	      ;;
> ++            *-muslx32)
> ++              TARGET=X86_64
> ++              ;;

just OR it with case just above it.
*-gnux32 | *-muslx32

> + 	    *)
> + 	      TARGET=X86
> + 	      ;;
> +-- 
> +2.7.4
> +
> diff --git a/meta/recipes-support/libffi/libffi_3.2.1.bb b/meta/recipes-support/libffi/libffi_3.2.1.bb
> index 43eee8e..2a3f4b7 100644
> --- a/meta/recipes-support/libffi/libffi_3.2.1.bb
> +++ b/meta/recipes-support/libffi/libffi_3.2.1.bb
> @@ -13,6 +13,7 @@ SRC_URI = "ftp://sourceware.org/pub/libffi/${BP}.tar.gz \
>             file://not-win32.patch \
>  	   file://0001-mips-Use-compiler-internal-define-for-linux.patch \
>             file://0001-mips-fix-MIPS-softfloat-build-issue.patch \
> +           file://0001-libffi-Support-musl-x32-build.patch \
>  	   "
>  
>  SRC_URI[md5sum] = "83b89587607e3eb65c70d361f13bab43"
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 169 bytes --]

  reply	other threads:[~2017-07-06  7:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-05 23:56 [PATCH 0/7] Support combination of MUSL and x32 build swee.aun.khor
2017-07-05 23:56 ` [PATCH 1/7] insane.bbclass: Support musl-x32 swee.aun.khor
2017-07-05 23:56 ` [PATCH 2/7] siteinfo.bbclass: " swee.aun.khor
2017-07-05 23:56 ` [PATCH 3/7] gnu-efi: Support musl-x32 build swee.aun.khor
2017-07-05 23:56 ` [PATCH 4/7] grub-efi: Support musl-x32 swee.aun.khor
2017-07-05 23:56 ` [PATCH 5/7] openssl: Support musl-x32 build swee.aun.khor
2017-07-06  7:23   ` Khem Raj
2017-07-06  9:15     ` Khor, Swee Aun
2017-07-05 23:56 ` [PATCH 6/7] perl: " swee.aun.khor
2017-07-05 23:56 ` [PATCH 7/7] libffi: " swee.aun.khor
2017-07-06  7:22   ` Khem Raj [this message]
2017-07-06  8:25     ` Khor, Swee Aun
2017-07-06 14:51   ` Wold, Saul
2017-07-06 23:22     ` Khor, Swee Aun
2017-07-06  7:31 ` ✗ patchtest: failure for Support combination of MUSL and x32 build Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2017-07-07  3:43 [PATCH v2 0/7] " swee.aun.khor
2017-07-07  3:43 ` [PATCH 7/7] libffi: Support musl-x32 build swee.aun.khor

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=e67110b8-07b3-768b-e80b-2a06c4fb55e4@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=swee.aun.khor@intel.com \
    /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