-
Notifications
You must be signed in to change notification settings - Fork 902
"make install" fails on MacOS with flang-new #13137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Indeed,
I re-ran I will try to have a look. |
There are a few things going on here... on Darwin,
then autotools try to generate a shared library even if it somehow knows it cannot, it silently fails and we ultimately end up with the reported error message. I was somehow able to build Open MPI after manually hacking the generated |
@ggouaillardet Yoinks. Ok. Do we need another libtool patch? (similar to the |
Refs. open-mpi#13137 - replace -framework foo with -Wl,-framework,foo - replace -dynamiclib with --shared when flang is used - use -Wl when needed Signed-off-by: Gilles Gouaillardet <[email protected]>
Refs. open-mpi#13137 - replace -framework foo with -Wl,-framework,foo - replace -dynamiclib with --shared when flang is used - use -Wl when needed Signed-off-by: Gilles Gouaillardet <[email protected]>
Refs. open-mpi#13137 - replace -framework foo with -Wl,-framework,foo - replace -dynamiclib with --shared when flang is used - use -Wl when needed Signed-off-by: Gilles Gouaillardet <[email protected]>
Refs. open-mpi#13137 - replace -framework foo with -Wl,-framework,foo - replace -dynamiclib with --shared when flang is used - use -Wl when needed Signed-off-by: Gilles Gouaillardet <[email protected]>
Refs. open-mpi#13137 - replace -framework foo with -Wl,-framework,foo - replace -dynamiclib with --shared when flang is used - use -Wl when needed Signed-off-by: Gilles Gouaillardet <[email protected]> (back-ported from commit fb3e4c2)
Refs. open-mpi#13137 - replace -framework foo with -Wl,-framework,foo - replace -dynamiclib with --shared when flang is used - use -Wl when needed Signed-off-by: Gilles Gouaillardet <[email protected]> (backported from cherry picked commit fb3e4c2)
Refs. open-mpi#13137 - replace -framework foo with -Wl,-framework,foo - replace -dynamiclib with --shared when flang is used - use -Wl when needed Signed-off-by: Gilles Gouaillardet <[email protected]> (cherry picked from commit fb3e4c2)
This was fixed on both main and v5.0.x. |
On
main
, on macOS 15.3.1 with homebrew-installedflang-new
, I ran into an interesting error duringmake install
:I note that
make
completed successfully.When looking in the
.libs
dir,.libs/libmpi_usempif08.0.dylib
is, indeed, not there:I'm not sure what happened here. Forcing the build again in this directory:
The needed file is still not in
.libs
:Here's my
flang-new
version:I don't have time to investigate this at the moment.
Has anyone else seen this?
The text was updated successfully, but these errors were encountered: