View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014918 | CMake | CMake | public | 2014-05-15 17:27 | 2014-11-03 08:38 | ||||
Reporter | Dave Dyer | ||||||||
Assigned To | Brad King | ||||||||
Priority | high | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | windows | OS | 7 x64 | OS Version | 7 | ||||
Product Version | CMake 2.8.12.2 | ||||||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||||||
Summary | 0014918: x64 build under cygwin fails | ||||||||
Description | undefined symbol cygwin_conv_to_win32_path I see in other traffic that this is a deprecated API that's not available in cygwin64 | ||||||||
Steps To Reproduce | just try to build it. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0035893) Brad King (manager) 2014-05-16 15:21 |
I've made a change in upstream KWSys to switch away from the deprecated API: http://review.source.kitware.com/#/c/15467/ [^] You can apply that patch locally to proceed. Once it is tested in upstream KWSys I will integrate it into CMake. |
(0035894) Dave Dyer (reporter) 2014-05-16 15:48 |
Your single file differs quite a bit from the distribution, enough so it doesn't complile. #include KWSYS_HEADER(FStream.hxx) Is there some repository branch I should pull from? |
(0035895) Brad King (manager) 2014-05-16 16:08 |
Re 0014918:0035894: Don't try to copy the file in. Look at the diff and apply the patch by hand if necessary. Otherwise you'll have to wait until the change is integrated into CMake. |
(0035896) Dave Dyer (reporter) 2014-05-16 16:26 |
Thanks, it builds with the patch manually applied. There's one other glitch in my build, the configuration decided that g++-4 was the appropriate compiler, despite the fact that it doesn't exist. I papered over that problem by linking g++-4 to g++ |
(0035897) Dave Dyer (reporter) 2014-05-16 18:41 |
Its possible that while this patch compiles, it doesn't quite make the grade. An exercise of the resulting cmake fails in a suspicious way. $ cmake CMakeDirectoryInformation CMake Error: The source directory "/cygdrive/c/crossbridge-master/build/win/llvm-debug/lib/Target/AVM2/CMakeFiles/CMakeD irectoryInformation" does not exist. Specify --help for usage, or press the help button on the CMake GUI. # CMAKE generated file: DO NOT EDIT! # Generated by "Unix Makefiles" Generator, CMake Version 2.8 # Relative path conversion top directories. SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/cygdrive/c/crossbridge-master/llvm-2.9") SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/cygdrive/c/crossbridge-master/build/win/llvm-debug") # Force unix paths in dependencies. SET(CMAKE_FORCE_UNIX_PATHS 1) # The C and CXX include file regular expressions for this directory. SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) |
(0035911) Brad King (manager) 2014-05-22 09:47 |
I've backported the KWSys change from 0014918:0035893 for inclusion in the release branch for 3.0.0-rc6: KWSys SystemTools: Port cygwin path conversion to modern API http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e604209c [^] |
(0035912) Brad King (manager) 2014-05-22 09:51 |
On my 64-bit Cygwin installation CMake now builds from source and passes all tests. The string "g++-4" does not appear anywhere in our source so the only way it could have been chosen was if it was specified, perhaps by a CXX environment variable. The command line "cmake CMakeDirectoryInformation" makes no sense. Please read the command-line manual for instructions: http://www.cmake.org/cmake/help/v3.0/manual/cmake.1.html [^] |
(0035913) Brad King (manager) 2014-05-22 09:52 |
Further help using CMake can also be obtained by posting to the mailing list: http://www.cmake.org/mailman/listinfo/cmake [^] |
(0037142) Robert Maynard (manager) 2014-11-03 08:38 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-05-15 17:27 | Dave Dyer | New Issue | |
2014-05-16 15:21 | Brad King | Note Added: 0035893 | |
2014-05-16 15:48 | Dave Dyer | Note Added: 0035894 | |
2014-05-16 16:08 | Brad King | Note Added: 0035895 | |
2014-05-16 16:26 | Dave Dyer | Note Added: 0035896 | |
2014-05-16 18:41 | Dave Dyer | Note Added: 0035897 | |
2014-05-22 09:47 | Brad King | Note Added: 0035911 | |
2014-05-22 09:51 | Brad King | Note Added: 0035912 | |
2014-05-22 09:52 | Brad King | Note Added: 0035913 | |
2014-05-27 09:25 | Brad King | Assigned To | => Brad King |
2014-05-27 09:25 | Brad King | Status | new => resolved |
2014-05-27 09:25 | Brad King | Resolution | open => fixed |
2014-05-27 09:25 | Brad King | Fixed in Version | => CMake 3.0 |
2014-05-27 09:25 | Brad King | Target Version | => CMake 3.0 |
2014-11-03 08:38 | Robert Maynard | Note Added: 0037142 | |
2014-11-03 08:38 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |