Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2024 20:29:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281557] net/mpich: fix build with clang 19 on i386
Message-ID:  <bug-281557-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281557

            Bug ID: 281557
           Summary: net/mpich: fix build with clang 19 on i386
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org
                CC: laurent.chardon@gmail.com
             Flags: maintainer-feedback?(laurent.chardon@gmail.com)
                CC: laurent.chardon@gmail.com

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281557-7788>