[cmake-developers] [CMake 0014154]: CMAKE_LINKER in toolchain file containing a + breaks regex
Mantis Bug Tracker
mantis at public.kitware.com
Fri May 17 07:53:04 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14154
======================================================================
Reported By: Stephen Kelly
Assigned To:
======================================================================
Project: CMake
Issue ID: 14154
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-05-17 07:53 EDT
Last Modified: 2013-05-17 07:53 EDT
======================================================================
Summary: CMAKE_LINKER in toolchain file containing a + breaks
regex
Description:
With 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!
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-05-17 07:53 Stephen Kelly New Issue
======================================================================
More information about the cmake-developers
mailing list