Bad value ppc64le for CMAKE_SYSTEM_PROCESSOR on IBM power. Must be ppc64

Bug #1384784 reported by Silvestre daniele
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cmake (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

With Trusty, cmake --system-information reports
CMAKE_HOST_SYSTEM_PROCESSOR "ppc64le"
CMAKE_SYSTEM_PROCESSOR "ppc64le"
JAVA_JVM_LIBRARY:FILEPATH=/usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/ppc64le/server/libjvm.so

These CMAKE variable are badly set on cmake version 2.8.12.2 within Ubuntu 14.04
(cmake -version command returns cmake version 2.8.12.2)

I read this Internet page showing a cmake commit in July 2014
http://www.cmake.org/pipermail/cmake-commits/2014-July/019899.html

It looks like that the commit was done only for cmake version 3.0.0 and later
but it is requested in the current version of cmake for PowerPC platforms

Hereafter details about cmake commit
-----------------------------------------------------------------

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=18ac6713e8657cca8fc791bcd581a47a7be6ebce
commit 18ac6713e8657cca8fc791bcd581a47a7be6ebce
Author: Dinar Valeev <dvaleev at suse.com>
AuthorDate: Mon Jun 30 18:29:20 2014 +0200
Commit: Dinar Valeev <dvaleev at suse.com>
CommitDate: Tue Jul 1 12:07:37 2014 +0200

    FindJNI: search for ppc64 on ppc64le as well

    IcedTea 2.5 have changed libarch for ppc64le to ppc64. Adjust FindJNI
    to look for both for backward compatibility.
-----------------------------------------------------------------

Bug found testing Hadoop Accumulo package which uses derivated JAVA_JVM_LIBRARY variable
and can't find /usr/lib/jvm/java-7-openjdk-ppc64el/jre/lib/ppc64/server/libjvm.so

Ubuntu version + arch
 uname -a
Linux XXXXX 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:27:09 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux

 cmake -version
cmake version 2.8.12.2

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

this should be fixed since a lot of time.

Changed in cmake (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.