diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-08-18 14:52:58 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-20 09:26:18 -0700 |
commit | 36066f34e81fabf9d93e62eac851097c111427a8 (patch) | |
tree | 1ac61ae6b6e71e522a0d541bddab627137d10295 /meta-oe/recipes-devtools/mpich | |
parent | 15ee78730ae2793c5211562fdac7619279794870 (diff) | |
download | meta-openembedded-36066f34e81fabf9d93e62eac851097c111427a8.tar.gz |
mpich: link explictly with libgcc
libmpi.so does need specific symbols from libgcc eg __multf3
on x86 irrespective of C library
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/mpich')
-rw-r--r-- | meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb b/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb index 3fe32f8c94..1fa916c0e8 100644 --- a/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb +++ b/meta-oe/recipes-devtools/mpich/mpich_3.4.2.bb | |||
@@ -31,8 +31,9 @@ PACKAGECONFIG += " \ | |||
31 | " | 31 | " |
32 | PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11" | 32 | PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR},--without-x,virtual/libx11" |
33 | 33 | ||
34 | LDFLAGS:append:libc-glibc:x86-64 = " -lgcc" | 34 | # libmpi.so needs symbols like __multf3 and somehow it does not respect --rtlib option passed by clang |
35 | LDFLAGS:append:libc-glibc:x86 = " -lgcc" | 35 | LDFLAGS:append:x86-64 = " -lgcc" |
36 | LDFLAGS:append:x86 = " -lgcc" | ||
36 | 37 | ||
37 | inherit autotools gettext pkgconfig | 38 | inherit autotools gettext pkgconfig |
38 | 39 | ||