-
Notifications
You must be signed in to change notification settings - Fork 11
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
libtool link failure when using compiler wrappers #84
Comments
So you first noticed the issue in an older release candidate, and it's not in 1.7, is that correct? |
My description wasn't that clear. Here is exactly what I saw:
|
Hmm... I guess it's not clear to me where that naked |
I have absolutely no idea. It is super weird that this problem only shows up when I use my shell script shims for the compilers. I was hoping you might know since the same problem used to exist in libMesh but was fixed at some point recently. |
OK, unfortunately it's not something I remember fixing. We had an issue once where an MPI compiler wrapper was generating bad commands (in that case it was "-l gfortran -l m" that broke things). What does your |
|
I first noticed this in the libMesh release candidate and traced the issue back here.
I have a compiler wrapper script
cxx-shim.sh
:configuring TIMPI to use this like
results in a weird libtool problem:
i.e., the compiler wrapper script is treated as a linker instead of as a C++ compiler and the preceding
-Wl,
flag is not present.It looks like libMesh 1.5.x had a similar bug when I went back and checked - I see the same failure there when trying to link
libmesh_opt.so
but I don't see it in the 1.7 release candidate for libMesh itself.The text was updated successfully, but these errors were encountered: