Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform--SOLVED

2012-11-06 Thread Alan W. Irwin
On 2012-10-26 16:24-0700 Alan W. Irwin wrote: On 2012-10-26 02:15-0700 Alan W. Irwin wrote: On 2012-10-25 23:26-0600 Clinton Stimpson wrote: Alan, you are in luck. They fixed it two days ago!! At first, I was confused because I was not able to reproduce it, then trying it against an

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-26 Thread Alan W. Irwin
On 2012-10-25 23:42-0400 Bill Hoffman wrote: Either one [of the executables] should show the issue. I did show the wrong output. When it fails you get no output. I now have a much simplified file (compressed so that mailers won't mess it up, but uncompressed it expands only to 205 bytes) to

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-26 Thread Alan W. Irwin
On 2012-10-25 23:26-0600 Clinton Stimpson wrote: Alan, you are in luck. They fixed it two days ago!! At first, I was confused because I was not able to reproduce it, then trying it against an older version of Wine showed the problem. commit 4a566ed3d6acd8a6e18eeaeb41d55d0f793029de Author:

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-26 Thread Alan W. Irwin
On 2012-10-26 02:15-0700 Alan W. Irwin wrote: On 2012-10-25 23:26-0600 Clinton Stimpson wrote: Alan, you are in luck. They fixed it two days ago!! At first, I was confused because I was not able to reproduce it, then trying it against an older version of Wine showed the problem. commit

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Alan W. Irwin
Here are the results requested by Brad: bash.exe-3.1$ ls CMakeFortranCompilerId.F a.exe info.cmake bash.exe-3.1$ cat info.cmake file(STRINGS a.exe _strings LIMIT_COUNT 4 REGEX INFO:) foreach(info ${_strings}) message(STATUS [${info}]) endforeach() bash.exe-3.1$

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Brad King
On 10/25/2012 02:20 PM, Alan W. Irwin wrote: bash.exe-3.1$ /z/home/wine/newstart/cmake-2.8.9-win32-x86/bin/cmake.exe -P info.cmake bash.exe-3.1$ /z/home/wine/newstart/bootstrap_cmake/install_4.7.0/bin/cmake.exe -P info.cmake -- [INFO:compiler[GNU]INFO:platform[]] So these results show

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Clinton Stimpson
Alan, I've been watching this somewhat. If this gets narrowed down enough to a relatively simple example, I could try it out myself too. I didn't see the example attached to this email thread, so maybe someone can send me the example. Clint On Thursday, October 25, 2012 11:20:17 AM Alan W.

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Alan W. Irwin
On 2012-10-25 15:14-0400 Brad King wrote: On 10/25/2012 02:20 PM, Alan W. Irwin wrote: bash.exe-3.1$ /z/home/wine/newstart/cmake-2.8.9-win32-x86/bin/cmake.exe -P info.cmake bash.exe-3.1$ /z/home/wine/newstart/bootstrap_cmake/install_4.7.0/bin/cmake.exe -P info.cmake --

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Brad King
On 10/25/2012 04:04 PM, Alan W. Irwin wrote: bash.exe-3.1$ /z/home/wine/newstart/cmake-2.8.9-win32-x86/bin/cmake.exe -P info.cmake bash.exe-3.1$ /z/home/wine/newstart/bootstrap_cmake/install_4.7.0/bin/cmake.exe -P info.cmake -- [INFO:compiler[GNU]] --

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Alan W. Irwin
On 2012-10-25 16:13-0400 Brad King wrote: On 10/25/2012 04:04 PM, Alan W. Irwin wrote: bash.exe-3.1$ /z/home/wine/newstart/cmake-2.8.9-win32-x86/bin/cmake.exe -P info.cmake bash.exe-3.1$ /z/home/wine/newstart/bootstrap_cmake/install_4.7.0/bin/cmake.exe -P info.cmake -- [INFO:compiler[GNU]]

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Brad King
On 10/25/2012 04:51 PM, Alan W. Irwin wrote: bash.exe-3.1$ /z/home/wine/newstart/bootstrap_cmake/install_4.7.0/bin/cmake.exe -P info.cmake -- [INFO:compiler[GNU]] -- [INFO:compiler_version[0004.0005.0002]] -- [INFO:platform[MinGW]] -- [INFO:arch[]] bash.exe-3.1$

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Alan W. Irwin
On 2012-10-25 13:37-0600 Clinton Stimpson wrote: Alan, I've been watching this somewhat. If this gets narrowed down enough to a relatively simple example, I could try it out myself too. I didn't see the example attached to this email thread, so maybe someone can send me the example. Hi

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Bill Hoffman
On 10/25/2012 6:06 PM, Alan W. Irwin wrote: I have just discovered an extremely simple test case of the whole We have already found the problem and have an even smaller test case. cat info.cmake file(STRINGS a.exe _strings LIMIT_COUNT 4 REGEX INFO:) foreach(info ${_strings}) message(STATUS

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Alan W. Irwin
On 2012-10-25 17:05-0400 Brad King wrote: On 10/25/2012 04:51 PM, Alan W. Irwin wrote: bash.exe-3.1$ /z/home/wine/newstart/bootstrap_cmake/install_4.7.0/bin/cmake.exe -P info.cmake -- [INFO:compiler[GNU]] -- [INFO:compiler_version[0004.0005.0002]] -- [INFO:platform[MinGW]] --

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Bill Hoffman
On Oct 25, 2012 11:15 PM, Clinton Stimpson clin...@elemtech.com wrote: On Oct 25, 2012, at 4:18 PM, Bill Hoffman wrote: On 10/25/2012 6:06 PM, Alan W. Irwin wrote: I have just discovered an extremely simple test case of the whole We have already found the problem and have an even

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-25 Thread Clinton Stimpson
On Oct 25, 2012, at 9:42 PM, Bill Hoffman wrote: On Oct 25, 2012 11:15 PM, Clinton Stimpson clin...@elemtech.com wrote: On Oct 25, 2012, at 4:18 PM, Bill Hoffman wrote: On 10/25/2012 6:06 PM, Alan W. Irwin wrote: I have just discovered an extremely simple test case of the

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-23 Thread Alan W. Irwin
Here is the current status of the hunt for the solution of this issue. In sum, the subject line should be changed to Incomplete gfortran library link command always issued for downloaded Microsoft version of CMake but not for a bootstrapped version of CMake for MinGW/MSYS on Wine-1.5.15 My

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-23 Thread David Cole
Short update: - I ran the script Alan sent me on a real Windows 7 machine, and didnot reproduce the problem while using the pre-built binary install of CMake 2.8.9 For more details, email back, and I'll give you any info you need... Cheers, David On Tue, Oct 23, 2012 at 3:57 PM, Alan W.

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-23 Thread Alan W. Irwin
On 2012-10-23 17:41-0400 David Cole wrote: Short update: - I ran the script Alan sent me on a real Windows 7 machine, and didnot reproduce the problem while using the pre-built binary install of CMake 2.8.9 Thanks, David, for running that test which appears to rule out a compiler bug (for

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-22 Thread Alan W. Irwin
On 2012-10-19 13:39-0400 Bill Hoffman wrote: On 10/19/2012 1:24 PM, Alan W. Irwin wrote: So far this morning there have been no takers, but I hope that changes since I am really stumped by CMake _intermittently_ not issuing the correct link command for libraries with no consistent pattern I

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-22 Thread Bill Hoffman
On 10/22/2012 3:34 AM, Alan W. Irwin wrote: The diff between them shows a lot of noise Can you send the CMakeFiles/* files? I suspect that it is detecting the compiler or platform different somehow. Also, send the CMakeCache.txt from both builds. You can send it directly to me to avoid

[cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-19 Thread Alan W. Irwin
I am getting some strange but apparently intermittent results for the gfortran link command generated with the CMake MSYS Makefiles generator for a MinGW/MSYS/Wine platform. What happens is that sometimes the library name has the lib prefix dropped and all the -Wl options disappear in the link

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-19 Thread David Cole
Hi Alan, Can you write a script that would reproduce the problem for us here if we ran the script? (Even if the project that it has to build is complex...) There is nightly testing using MSYS Makefiles with GNU 4.5.0 with Fortran: http://open.cdash.org/buildSummary.php?buildid=2618838 and

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-19 Thread Alan W. Irwin
On 2012-10-19 02:18-0700 Alan W. Irwin wrote: So this has been a long, sad, and continuing saga where I still haven't pinned down exactly why on some occasions CMake generates incomplete link commands for Fortran libraries. However, my feeling at this stage is the complete or incomplete

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-19 Thread Bill Hoffman
On 10/19/2012 1:24 PM, Alan W. Irwin wrote: So far this morning there have been no takers, but I hope that changes since I am really stumped by CMake _intermittently_ not issuing the correct link command for libraries with no consistent pattern I can spot with regard to anything I change.

Re: [cmake-developers] Incomplete gfortran library link command sometimes mysteriously occurs with MinGW/MSYS on Wine-1.5.15 platform

2012-10-19 Thread Alan W. Irwin
On 2012-10-19 13:08-0400 David Cole wrote: Hi Alan, Can you write a script that would reproduce the problem for us here if we ran the script? (Even if the project that it has to build is complex...) Thanks for that offer, and yes I do have the complete builds scripted by bash (see comment