All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] squid: disable gnu atomic operations for mipsel
@ 2016-11-02  6:19 jackie.huang
  2016-11-02  6:33 ` Huang, Jie (Jackie)
  0 siblings, 1 reply; 2+ messages in thread
From: jackie.huang @ 2016-11-02  6:19 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

Disable GNU atomic operations for mipsel since it's
not supportted.

Refer to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56300:

  There is no hardware support for 8 bytes atomic operations on
  32-bit MIPS targets.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta-networking/recipes-daemons/squid/squid_3.5.20.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-daemons/squid/squid_3.5.20.bb b/meta-networking/recipes-daemons/squid/squid_3.5.20.bb
index 364d00e..fc7f768 100644
--- a/meta-networking/recipes-daemons/squid/squid_3.5.20.bb
+++ b/meta-networking/recipes-daemons/squid/squid_3.5.20.bb
@@ -38,6 +38,7 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir /var/run/squid --she
 
 PACKAGECONFIG ??= "${@bb.utils.contains('TARGET_ARCH', 'powerpc', 'noatomics', '', d)} \
                    ${@bb.utils.contains('TARGET_ARCH', 'mips', 'noatomics', '', d)} \
+                   ${@bb.utils.contains('TARGET_ARCH', 'mipsel', 'noatomics', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
                   "
 PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-netfilter-conntrack, libnetfilter-conntrack"
-- 
2.8.3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-networking][PATCH] squid: disable gnu atomic operations for mipsel
  2016-11-02  6:19 [meta-networking][PATCH] squid: disable gnu atomic operations for mipsel jackie.huang
@ 2016-11-02  6:33 ` Huang, Jie (Jackie)
  0 siblings, 0 replies; 2+ messages in thread
From: Huang, Jie (Jackie) @ 2016-11-02  6:33 UTC (permalink / raw)
  To: openembedded-devel



> -----Original Message-----
> From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-
> bounces@lists.openembedded.org] On Behalf Of jackie.huang@windriver.com
> Sent: Wednesday, November 02, 2016 2:19 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: [oe] [meta-networking][PATCH] squid: disable gnu atomic operations for mipsel
> 
> From: Jackie Huang <jackie.huang@windriver.com>
> 
> Disable GNU atomic operations for mipsel since it's
> not supportted.

s/supportted/supported/

Sorry for the typo, fixed and v2 will be sent.

Thanks,
Jackie

> 
> Refer to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56300:
> 
>   There is no hardware support for 8 bytes atomic operations on
>   32-bit MIPS targets.
> 
> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
> ---
>  meta-networking/recipes-daemons/squid/squid_3.5.20.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-networking/recipes-daemons/squid/squid_3.5.20.bb b/meta-networking/recipes-
> daemons/squid/squid_3.5.20.bb
> index 364d00e..fc7f768 100644
> --- a/meta-networking/recipes-daemons/squid/squid_3.5.20.bb
> +++ b/meta-networking/recipes-daemons/squid/squid_3.5.20.bb
> @@ -38,6 +38,7 @@ USERADD_PARAM_${PN} = "--system --no-create-home --home-dir
> /var/run/squid --she
> 
>  PACKAGECONFIG ??= "${@bb.utils.contains('TARGET_ARCH', 'powerpc', 'noatomics', '', d)} \
>                     ${@bb.utils.contains('TARGET_ARCH', 'mips', 'noatomics', '', d)} \
> +                   ${@bb.utils.contains('TARGET_ARCH', 'mipsel', 'noatomics', '', d)} \
>                     ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
>                    "
>  PACKAGECONFIG[libnetfilter-conntrack] = "--with-netfilter-conntrack=${includedir}, --without-
> netfilter-conntrack, libnetfilter-conntrack"
> --
> 2.8.3
> 
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-02  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-02  6:19 [meta-networking][PATCH] squid: disable gnu atomic operations for mipsel jackie.huang
2016-11-02  6:33 ` Huang, Jie (Jackie)

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.