bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in fortran.m4 _AC_FC_LIBRARY_LDFLAGS


From: Jim Edwards
Subject: bug in fortran.m4 _AC_FC_LIBRARY_LDFLAGS
Date: Thu, 9 Jun 2011 10:26:11 -0600

I think that I've found a bug in this function,  I am using pgf90 10.3-0
and the -v flag is producing a line which includes a flag -list which is
then
interpreted as a library and causes a failure later when it trys to link.

In the function I found:

      # Ignore these flags.
    -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -little \
      |-LANG:=* | -LIST:* | -LNO:* | -link )
      ;;


And the obvious thing to do is add -list to this list.   I did that and it
solves the problem.   But this list seems really kludgey to me - wouldn't it
be better to test link with all of the -lwhatever
flags and keep the ones that pass that test?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]