[cmake-developers] [CMake 0015207]: FindJNI does not work when compiling 32-bit target on 64-bit host
Mantis Bug Tracker
mantis at public.kitware.com
Tue Oct 14 10:31:32 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15207
======================================================================
Reported By: Stepan Schejbal
Assigned To:
======================================================================
Project: CMake
Issue ID: 15207
Category: Modules
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-10-14 10:31 EDT
Last Modified: 2014-10-14 10:31 EDT
======================================================================
Summary: FindJNI does not work when compiling 32-bit target
on 64-bit host
Description:
When compiling 32-bit linux target using "-m32", FindJNI breaks, because it is
based on CMAKE_SYSTEM_PROCESSOR which does not match the target architecture.
This is related to issue http://public.kitware.com/Bug/view.php?id=9611.
Steps to Reproduce:
find_package(JNI REQUIRED)
export CC=gcc-4.8
export CXX=g++-4.8
export JAVA_HOME=/opt/jdk1.7.0_55-i586
export CFLAGS=-m32
export CXXFLAGS=-m32
export LDFALGS=-m32
cmake...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-10-14 10:31 Stepan SchejbalNew Issue
======================================================================
More information about the cmake-developers
mailing list