Skip to contentSkip to conversation

mpich: Upgrade to 3.4.2

PATCH New Khem Raj 1 participant 1 message May 31, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 mpich: Upgrade to 3.4.2

Explicitly link with libgcc for __addtf3, __multf3 etc 128bit builtins on x86_64 as they are not available with compiler-rt and when using compiler-rt the link would fail

---
 .../recipes-devtools/mpich/{mpich_3.4.1.bb => mpich_3.4.2.bb} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-devtools/mpich/{mpich_3.4.1.bb => mpich_3.4.2.bb} (93%)
meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb renamed from meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb +3 -1
similarity index 93%
rename from meta-oe/recipes-devtools/mpich/mpich_3.4.1.bb
rename to meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb
index 77e080c8b8..0ee02d685c 100644
@@ -6,7 +6,7 @@ LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=bd4d7ab13df98988b1ca2a4e01c8c163"
 
 SRC_URI = "http://www.mpich.org/static/downloads/${PV}/mpich-${PV}.tar.gz"
-SRC_URI[sha256sum] = "8836939804ef6d492bcee7d54abafd6477d2beca247157d92688654d13779727"
+SRC_URI[sha256sum] = "5c19bea8b84e8d74cca5f047e82b147ff3fba096144270e3911ad623d6c587bf"
 
 RDEPENDS_${PN} += "bash perl libxml2"
 
@@ -31,6 +31,8 @@ PACKAGECONFIG += " \
 "
 PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11"
 
+LDFLAGS_append_x86-64 = " -lgcc"
+
 inherit autotools gettext pkgconfig
 
 do_configure() {
Signature · 1 line
2.31.1