View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015147CMakeModulespublic2014-09-10 08:552015-03-02 08:57
ReporterFelix Geyer 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake 3.0.1 
Target VersionCMake 3.1Fixed in VersionCMake 3.1 
Summary0015147: CMAKE_HOST_SYSTEM_PROCESSOR not detected on GNU/Hurd
DescriptionCMAKE_HOST_SYSTEM_NAME is "unknown" on Debian GNU/Hurd as uname -p prints "unknown".

"uname -m" works and returns i686-AT386.
I guess it's usually expected to be i[3-6]86 on x86 but changing what the OS reports doesn't seem like the right thing to do.

Attached is a patch that switches the uname call to "-m" like it does for Linux.
I opted for an exact match for "GNU" because there is also a Debian "GNU/kFreeBSD" architecture.
TagsNo tags attached.
Attached Filesdiff file icon host_system_processor_gnu.diff [^] (580 bytes) 2014-09-10 08:55 [Show Content]

 Relationships

  Notes
(0036771)
Brad King (manager)
2014-09-10 09:09

Applied, thanks:

 Fix CMAKE_HOST_SYSTEM_PROCESSOR detection on GNU/Hurd
 http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=89d7a5a4 [^]
(0038112)
Robert Maynard (manager)
2015-03-02 08:57

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

 Issue History
Date Modified Username Field Change
2014-09-10 08:55 Felix Geyer New Issue
2014-09-10 08:55 Felix Geyer File Added: host_system_processor_gnu.diff
2014-09-10 09:09 Brad King Note Added: 0036771
2014-09-10 09:09 Brad King Assigned To => Brad King
2014-09-10 09:09 Brad King Status new => resolved
2014-09-10 09:09 Brad King Resolution open => fixed
2014-09-10 09:09 Brad King Fixed in Version => CMake 3.1
2014-09-10 09:09 Brad King Target Version => CMake 3.1
2015-03-02 08:57 Robert Maynard Note Added: 0038112
2015-03-02 08:57 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team