View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015028CMakeCMakepublic2014-07-17 06:232015-01-05 08:39
ReporterBob E. 
Assigned ToBrad King 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Platformx86OSQNXOS Version6.5.0
Product VersionCMake 2.8.12.2 
Target VersionCMake 3.0.1Fixed in VersionCMake 3.0.1 
Summary0015028: CMake build error on QNX
Descriptioncmake-2.8.12.2/Source/kwsys/SystemInformation.cxx:3682: error: 'SA_RESTART' was not declared in this scope
cc: /usr/qnx650/host/qnx6/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/cc1plus error 1
make[2]: *** [Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o] Error 1
Steps To ReproduceMake Cmake from sources.
Additional InformationQNX not support SA_RESTART signal:

qnx6\usr\include\signal.h
/* #define SA_RESTART 0x0040 (not supported yet) */ /* Restart the kernel call on signal return */

In ProcessUNIX.c this error was resolved earlier.
Patch correct it in SystemInformation.cxx
TagsNo tags attached.
Attached Files? file icon SystemInformation.cxx.QNX.path [^] (468 bytes) 2014-07-17 06:23

 Relationships

  Notes
(0036406)
Brad King (manager)
2014-07-17 08:15

Thanks. I've submitted the change to upstream KWSys for testing:

 http://review.source.kitware.com/#/c/16252/ [^]

Once it is there it will be integrated into CMake.
(0036407)
Brad King (manager)
2014-07-17 08:49

Our upstream policy is that only platforms with nightly testing are officially supported. We used to have nightly testing on QNX but the submitter is no longer available. Since then we've accumulated a few problems on the platform. Would you be able to run testing? Instructions are here:

 http://www.cmake.org/Wiki/CMake/Git/Dashboard [^]
(0036410)
Brad King (manager)
2014-07-18 12:49

The change is being integrated into CMake here:

 KWSys 2014-07-18 (65b36ede)
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d4d1b7f7 [^]
(0036424)
Brad King (manager)
2014-07-21 10:51

I've backported the change for inclusion in 3.0.1:

 KWSys SystemInformation: No SA_RESTART on QNX
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cc3248f4 [^]
(0037591)
Robert Maynard (manager)
2015-01-05 08:39

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

 Issue History
Date Modified Username Field Change
2014-07-17 06:23 Bob E. New Issue
2014-07-17 06:23 Bob E. File Added: SystemInformation.cxx.QNX.path
2014-07-17 08:15 Brad King Note Added: 0036406
2014-07-17 08:15 Brad King Assigned To => Brad King
2014-07-17 08:15 Brad King Status new => assigned
2014-07-17 08:15 Brad King Target Version => CMake 3.1
2014-07-17 08:49 Brad King Note Added: 0036407
2014-07-18 12:49 Brad King Note Added: 0036410
2014-07-21 10:51 Brad King Note Added: 0036424
2014-07-21 10:51 Brad King Status assigned => resolved
2014-07-21 10:51 Brad King Resolution open => fixed
2014-07-21 10:51 Brad King Fixed in Version => CMake 3.0.1
2014-07-21 10:51 Brad King Target Version CMake 3.1 => CMake 3.0.1
2015-01-05 08:39 Robert Maynard Note Added: 0037591
2015-01-05 08:39 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team