[cmake-developers] [CMake 0012428]: PathScale compiler support isn't multiarch aware
Mantis Bug Tracker
mantis at public.kitware.com
Sun Aug 28 15:00:13 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://cmake.org/Bug/view.php?id=12428
======================================================================
Reported By: don la dieu
Assigned To:
======================================================================
Project: CMake
Issue ID: 12428
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-08-28 15:00 EDT
Last Modified: 2011-08-28 15:00 EDT
======================================================================
Summary: PathScale compiler support isn't multiarch aware
Description:
Running CMake on a Debian multiarch system (Ubuntu 11.04 (Natty)) fails when
trying to find multiarched packages. Using the system gcc works fine.
Seems to work fine on cmake 2.8.3
Steps to Reproduce:
On a multiarch system:
1) install cmake 2.8.5
2) install PathScale ekopath nightly build
3) find_package() a multiarch package (like zlib)
Additional Information:
[maru:~/i3/offline-software/ebuild/z] rm CMakeCache.txt;
PATH=/opt/ekopath-4.0.11/bin:${PATH} CC=pathcc CXX=pathCC FC=pathf90 cmake .
-- The C compiler identification is PathScale
-- The CXX compiler identification is PathScale
-- Check for working C compiler: /opt/ekopath-4.0.11/bin/pathcc
-- Check for working C compiler: /opt/ekopath-4.0.11/bin/pathcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /opt/ekopath-4.0.11/bin/pathCC
-- Check for working CXX compiler: /opt/ekopath-4.0.11/bin/pathCC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_SYSTEM_NAME = Linux
-- CMAKE_SYSTEM_VERSION = 2.6.38-11-generic
-- CMAKE_SYSTEM_PROCESSOR = x86_64
-- CMAKE_COMMAND = /usr/bin/cmake
-- CMAKE_VERSION = 2.8.3
-- zlib.h found at /usr/include
-- /usr/lib/x86_64-linux-gnu/libz.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nega/i3/offline-software/ebuild/z
[maru:~/i3/offline-software/ebuild/z] rm CMakeCache.txt;
PATH=/opt/ekopath-4.0.11/bin:${PATH} CC=pathcc CXX=pathCC FC=pathf90
/opt/cmake/bin/cmake .
-- The C compiler identification is PathScale
-- The CXX compiler identification is PathScale
-- Check for working C compiler: /opt/ekopath-4.0.11/bin/pathcc
-- Check for working C compiler: /opt/ekopath-4.0.11/bin/pathcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /opt/ekopath-4.0.11/bin/pathCC
-- Check for working CXX compiler: /opt/ekopath-4.0.11/bin/pathCC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- CMAKE_SYSTEM_NAME = Linux
-- CMAKE_SYSTEM_VERSION = 2.6.38-11-generic
-- CMAKE_SYSTEM_PROCESSOR = x86_64
-- CMAKE_COMMAND = /opt/cmake/bin/cmake
-- CMAKE_VERSION = 2.8.5
CMake Error at
/opt/cmake/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91
(MESSAGE):
Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.3.4")
Call Stack (most recent call first):
/opt/cmake/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252
(_FPHSA_FAILURE_MESSAGE)
/opt/cmake/share/cmake-2.8/Modules/FindZLIB.cmake:70
(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:14 (find_package)
-- Configuring incomplete, errors occurred!
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-08-28 15:00 don la dieu New Issue
2011-08-28 15:00 don la dieu File Added: CMakeLists.txt
======================================================================
More information about the cmake-developers
mailing list