View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014814CMakeCMakepublic2014-03-19 10:562014-10-06 10:32
ReporterGerhard Grimm 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformhppaOSHP-UXOS Version11.11
Product VersionCMake 2.8.12.2 
Target VersionCMake 3.1Fixed in VersionCMake 3.1 
Summary0014814: CMake 2.8.12.2 cannot be built on HP-UX 11.11 (hppa)
DescriptionThe compilation fails in file kwsys/SystemInformation.cxx, line 4984. The macro CPU_IA64_ARCHREV_0 is not defined on HP-UX 11.11, since that release does not yet support the Itanium CPU.
Steps To ReproduceAttempt to build CMake on this platform.
Additional InformationThere are also some "break" statements missing in the switch (t) block starting at line 4973. I have attached a corrected version of the file below.
TagsNo tags attached.
Attached Filescxx file icon SystemInformation.cxx [^] (147,468 bytes) 2014-03-19 10:56

 Relationships

  Notes
(0035432)
Brad King (manager)
2014-03-19 11:02

CMake supports only the set of platforms for which nightly build/test runs are submitted to our dashboard:

 http://open.cdash.org/index.php?project=CMake [^]

Currently there is no HP-UX submission. We've asked for help before:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/47839 [^]

but there is still no one running a build for us. Instructions are here:

 http://www.cmake.org/Wiki/CMake/Git/Dashboard [^]

Would you be able to run one?
(0035433)
Brad King (manager)
2014-03-19 11:16

The CPU_IA64_ARCHREV_0 macro problem was fixed in upstream KWSys here:

 http://public.kitware.com/gitweb?p=KWSys.git;a=commitdiff;h=a02a1ad2 [^]

has already been integrated into CMake 'master' in Git.
(0035434)
Brad King (manager)
2014-03-19 11:18

I've submitted the missing 'break' statement fixes to upstream KWSys here:

 http://review.source.kitware.com/14795 [^]
(0035435)
Gerhard Grimm (reporter)
2014-03-19 11:23

Thank you Brad, I'll have a look at the instructions and check if this could be done.
(0035436)
Rolf Eike Beer (developer)
2014-03-19 14:16

Hm, slightly faster than me ;)
(0035437)
Rolf Eike Beer (developer)
2014-03-19 14:19

Brad, the code for the Itanium chips is not reachable if neither of the Intel macros is defined. I don't know if it's worths #ifdef'ing the whole case out then as it may create compiler warnings.
(0035438)
Brad King (manager)
2014-03-19 14:58

Re 0014814:0035437: So far the change is only in the review stage in KWSys. If you want to revise or extend the topic there then please do.
(0035439)
Brad King (manager)
2014-03-19 15:22

Re 0014814:0035438: Okay, I see what you meant. I added the change for it here:

 http://review.source.kitware.com/14799 [^]
(0035452)
Brad King (manager)
2014-03-20 09:30

The fixes are now in KWSys upstream master:

 SystemInformation: Fix HP-UX PA-RISC processor detection
 http://public.kitware.com/gitweb?p=KWSys.git;a=commitdiff;h=fa86f1ba [^]

 SystemInformation: Fix HP-UX Intel processor detection
 http://public.kitware.com/gitweb?p=KWSys.git;a=commitdiff;h=a8aa1014 [^]
(0035453)
Brad King (manager)
2014-03-20 09:45

KWSys changes integrated into CMake here:

 KWSys 2014-03-19 (a8aa1014)
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=12faf00d [^]
(0036948)
Robert Maynard (manager)
2014-10-06 10:32

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

 Issue History
Date Modified Username Field Change
2014-03-19 10:56 Gerhard Grimm New Issue
2014-03-19 10:56 Gerhard Grimm File Added: SystemInformation.cxx
2014-03-19 11:02 Brad King Note Added: 0035432
2014-03-19 11:16 Brad King Note Added: 0035433
2014-03-19 11:18 Brad King Note Added: 0035434
2014-03-19 11:23 Gerhard Grimm Note Added: 0035435
2014-03-19 14:16 Rolf Eike Beer Note Added: 0035436
2014-03-19 14:19 Rolf Eike Beer Note Added: 0035437
2014-03-19 14:58 Brad King Note Added: 0035438
2014-03-19 15:22 Brad King Note Added: 0035439
2014-03-20 09:30 Brad King Note Added: 0035452
2014-03-20 09:45 Brad King Note Added: 0035453
2014-03-20 09:48 Brad King Assigned To => Brad King
2014-03-20 09:48 Brad King Status new => resolved
2014-03-20 09:48 Brad King Resolution open => fixed
2014-03-20 09:48 Brad King Fixed in Version => CMake 3.1
2014-03-20 09:48 Brad King Target Version => CMake 3.1
2014-10-06 10:32 Robert Maynard Note Added: 0036948
2014-10-06 10:32 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team