View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014154CMake(No Category)public2013-05-17 07:532013-10-07 10:09
ReporterStephen Kelly 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 2.8.11 
Target VersionCMake 2.8.12Fixed in VersionCMake 2.8.12 
Summary0014154: CMAKE_LINKER in toolchain file containing a + breaks regex
DescriptionWith a toolchain file like this:

 set(CMAKE_SYSTEM_NAME Linux)

 set(CMAKE_C_COMPILER "/home/stephen/rpi/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-gcc")
 SET(CMAKE_LINKER "/home/stephen/rpi/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++" CACHE PATH "Linker Program")

CMake fails with any project:

  RegularExpression::compile(): Nested *?+.
 RegularExpression::compile(): Error in compile.
 CMake Error at /home/stephen/dev/prefix/qt48/kde/share/cmake-2.8/Modules/CMakeParseImplicitLinkInfo.cmake:38 (if):
   if given arguments:

     "Change Dir: /home/stephen/dev/src/playground/cmake/build/CMakeFiles/CMakeTmp" "MATCHES" "^( *|.*[/\\])(arm-linux-gnueabihf-g++|ld|collect2)[^/\\]*( |\$)" "AND" "NOT" "Change Dir: /home/stephen/dev/src/playground/cmake/build/CMakeFiles/CMakeTmp" "MATCHES" "collect2 version "

   Regular expression "^(
   *|.*[/\])(arm-linux-gnueabihf-g++|ld|collect2)[^/\]*( |$)" cannot compile
 Call Stack (most recent call first):
   /home/stephen/dev/prefix/qt48/kde/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:77 (CMAKE_PARSE_IMPLICIT_LINK_INFO)
   /home/stephen/dev/prefix/qt48/kde/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:68 (CMAKE_DETERMINE_COMPILER_ABI)
   CMakeLists.txt:2 (project)


 -- Configuring incomplete, errors occurred!

TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033087)
Brad King (manager)
2013-05-17 09:07

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ffda082e [^]
(0034051)
Robert Maynard (manager)
2013-10-07 10:09

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-05-17 07:53 Stephen Kelly New Issue
2013-05-17 09:07 Brad King Note Added: 0033087
2013-05-17 09:07 Brad King Assigned To => Brad King
2013-05-17 09:07 Brad King Status new => resolved
2013-05-17 09:07 Brad King Resolution open => fixed
2013-05-17 09:07 Brad King Fixed in Version => CMake 2.8.12
2013-05-17 09:07 Brad King Target Version => CMake 2.8.12
2013-05-17 09:07 Brad King Description Updated
2013-10-07 10:09 Robert Maynard Note Added: 0034051
2013-10-07 10:09 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team