The following issue has been SUBMITTED. 
====================================================================== 
https://cmake.org/Bug/view.php?id=15994 
====================================================================== 
Reported By:                Steven Newbury
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15994
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2016-02-29 11:21 EST
Last Modified:              2016-02-29 11:21 EST
====================================================================== 
Summary:                    CMake support for the Linux x86-64 32-bit ABI
(x32-abi)
Description: 
Currently CMake assumes library files can be located in
${CMAKE_INSTALL_PREFIX}/lib{64}, or otherwise on the system in /lib{64},
/usr/lib{64} etc.  This isn't the case with x32-abi, where library directories
are postfixed with x32, for example: ${CMAKE_INSTALL_PREFIX}/libx32

This results in CMake modules being unable to locate their resources, including
failure during the configuration of CMake itself after initial bootstrap if
CMAKE_INSTALL_PREFIX and individual *_DIR=/usr/libx32/cmake/* variables aren't
manually provided.

Steps to Reproduce: 
Build CMake from source on x32.  Attempt to build projects with CMake.

Additional Information: 
The attached patch is from pld-linux, a similar patch also exists for Gentoo
Linux.  This gives CMake the extra knowledge necessary to successfully locate
the library paths on x32-abi.

Perhaps, in the future a centralised CMake facility could provide system library
paths?

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2016-02-29 11:21 Steven Newbury New Issue                                    
2016-02-29 11:21 Steven Newbury File Added: cmake-libx32.patch                  
 
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to