HomeFreeBSD

net/mpich: fix build with clang 19 on i386

Description

net/mpich: fix build with clang 19 on i386

In bug 276035 this was already handled once, but with clang 19 on i386
we get similar link errors:

ld: error: undefined reference: __addtf3
>>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined)

ld: error: undefined reference: __gttf2
>>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined)

ld: error: undefined reference: __lttf2
>>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined)

ld: error: undefined reference: __multf3
>>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined)

ld: error: undefined reference: __extendxftf2
>>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined)

ld: error: undefined reference: __trunctfxf2
>>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined)

Again the cause is that the mpich configure script detects partial
float128 support on i386 (i.e. the compile doesn't immediately choke on
defining variables of that type). It then enables HAVE_FLOAT128, which
leads to the above errors, because compiler-rt does not support float128
on i386.

PR: 281557
Approved by: laurent.chardon@gmail.com (maintainer)
MFH: 2024Q3

Details

Provenance
dimAuthored on Sep 17 2024, 8:30 PM
Parents
R11:2e762b70abf9: security/vuxml: document gitlab vulnerability
Branches
Unknown
Tags
Unknown