Skip to contentSkip to conversation

squid: disable gnu atomic operations for mipsel

PATCH Superseded [email protected] 1 participant 2 messages Nov 2, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 squid: disable gnu atomic operations for mipsel

From: Jackie Huang <[email protected]>

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.

---
 meta-networking/recipes-daemons/squid/squid_3.5.20.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-daemons/squid/squid_3.5.20.bb +1 -0
index 364d00e..fc7f768 100644
@@ -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"
Signature · 1 line
2.8.3
#1 lore raw
Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:openembedded-devel- [email protected]] On Behalf Of [email protected]
Sent: Wednesday, November 02, 2016 2:19 PM
To: [email protected]
Subject: [oe] [meta-networking][PATCH] squid: disable gnu atomic operations for mipsel

Quoted 4 lines

From: Jackie Huang <[email protected]>

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

Quoted 34 lines

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.

---
 meta-networking/recipes-daemons/squid/squid_3.5.20.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes- renamed from meta-networking/recipes-daemons/squid/squid_3.5.20.bb +0 -0

daemons/squid/squid_3.5.20.bb
index 364d00e..fc7f768 100644

meta-networking/recipes-daemons/squid/squid_3.5.20.bb +0 -0
@@ -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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel