All of lore.kernel.org
 help / color / mirror / Atom feed
From: akuster808 <akuster808@gmail.com>
To: Tim Orling <timothy.t.orling@linux.intel.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [krogoth][PATCH 1/8] pkgconfig: Fix build with gcc-6
Date: Fri, 15 Jul 2016 06:53:12 -0700	[thread overview]
Message-ID: <5788EAC8.5090701@gmail.com> (raw)
In-Reply-To: <ba010ae55186d533ee35ed38839d7761d7b004a3.1468546499.git.timothy.t.orling@linux.intel.com>

So this is the host gcc not the one in OE?

- armin

On 07/14/2016 06:49 PM, Tim Orling wrote:
> Our patch in master was on top of 0.29.1 update.
> commit b83a808fcbd3e7aec3b0757c7180cf83dac44e92
> 
> Apply to krogoth stable 0.29 version instead.
> 
> [YOCTO #9897] (Fedora-24)
> 
> Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
> ---
>  ...te-suppress-string-format-literal-warning.patch | 34 ++++++++++++++++++++++
>  meta/recipes-devtools/pkgconfig/pkgconfig_git.bb   |  1 +
>  2 files changed, 35 insertions(+)
>  create mode 100644 meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch
> 
> diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch b/meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch
> new file mode 100644
> index 0000000..830d3d2
> --- /dev/null
> +++ b/meta/recipes-devtools/pkgconfig/pkgconfig/0001-gdate-suppress-string-format-literal-warning.patch
> @@ -0,0 +1,34 @@
> +The upstream patch would not apply cleanly, so perform the same changes.
> +
> +Original patch header:
> +From 00148329967adb196138372771052a3f606a6ea3 Mon Sep 17 00:00:00 2001
> +From: coypu <coypu@sdf.org>
> +Date: Wed, 2 Mar 2016 19:43:10 +0200
> +Subject: [PATCH 2/2] gdate: Suppress string format literal warning
> +
> +Newer versions of GCC emit an error here, but we know it's safe.
> +https://bugzilla.gnome.org/761550
> +
> +Upstream-Status: Backport
> +
> +Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
> +
> +Index: git/glib/glib/gdate.c
> +===================================================================
> +--- git.orig/glib/glib/gdate.c
> ++++ git/glib/glib/gdate.c
> +@@ -2439,6 +2439,8 @@ win32_strftime_helper (const GDate     *
> +  *
> +  * Returns: number of characters written to the buffer, or 0 the buffer was too small
> +  */
> ++#pragma GCC diagnostic push
> ++#pragma GCC diagnostic ignored "-Wformat-nonliteral"
> + gsize     
> + g_date_strftime (gchar       *s, 
> +                  gsize        slen, 
> +@@ -2549,3 +2551,5 @@ g_date_strftime (gchar       *s,
> +   return retval;
> + #endif
> + }
> ++
> ++#pragma GCC diagnostic pop
> diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
> index d34f608..cd4dc8e 100644
> --- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
> +++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb
> @@ -18,6 +18,7 @@ PV = "0.29+git${SRCPV}"
>  SRC_URI = "git://anongit.freedesktop.org/pkg-config \
>             file://pkg-config-native.in \
>             file://fix-glib-configure-libtool-usage.patch \
> +	   file://0001-gdate-suppress-string-format-literal-warning.patch \
>             "
>  
>  S = "${WORKDIR}/git"
> 


  reply	other threads:[~2016-07-15 13:53 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-15  1:49 [krogoth][PATCH 0/8] Fixes for gcc-6 (Fedora-24) Tim Orling
2016-07-15  1:49 ` [krogoth][PATCH 1/8] pkgconfig: Fix build with gcc-6 Tim Orling
2016-07-15 13:53   ` akuster808 [this message]
2016-07-15 14:08     ` Burton, Ross
2016-07-15 14:27       ` akuster808
2016-07-15 17:32         ` Tim Orling
2016-07-15  1:49 ` [krogoth][PATCH 2/8] elfutils-0.148: Fix build with gcc6 Tim Orling
2016-07-15  1:49 ` [krogoth][PATCH 3/8] elfutils: Fix build for gcc-6 Tim Orling
2016-07-15  1:49 ` [krogoth][PATCH 4/8] rpm: Fix build with gcc6 Tim Orling
2016-07-15  1:49 ` [krogoth][PATCH 5/8] glib-2.0: Ignore useless warning found with gcc-6 Tim Orling
2016-07-15  1:49 ` [krogoth][PATCH 6/8] binutils: disable werror on native build Tim Orling
2016-07-15  3:26   ` Khem Raj
2016-07-15  3:58     ` Tim Orling
2016-07-15  4:52       ` Khem Raj
2016-07-15  1:49 ` [krogoth][PATCH 7/8] openjade-native: work around bug exposed by GCC 6 Tim Orling
2016-07-15  1:49 ` [krogoth][PATCH 8/8] gcc-5.3: fix build for gcc-6 Tim Orling
2016-07-15 14:16 ` [krogoth][PATCH 0/8] Fixes for gcc-6 (Fedora-24) akuster808

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=5788EAC8.5090701@gmail.com \
    --to=akuster808@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=timothy.t.orling@linux.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 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.