Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08F7418028 for ; Thu, 28 May 2015 19:54:18 +0000 (UTC) Received: (qmail 4289 invoked by uid 500); 28 May 2015 19:54:17 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 4239 invoked by uid 500); 28 May 2015 19:54:17 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 4227 invoked by uid 99); 28 May 2015 19:54:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 May 2015 19:54:17 +0000 Date: Thu, 28 May 2015 19:54:17 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11975) Native code needs to be built to match the 32/64 bitness of the JVM MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-11975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563573#comment-14563573 ] Colin Patrick McCabe commented on HADOOP-11975: ----------------------------------------------- Let's address these concerns in HADOOP-12036. > Native code needs to be built to match the 32/64 bitness of the JVM > ------------------------------------------------------------------- > > Key: HADOOP-11975 > URL: https://issues.apache.org/jira/browse/HADOOP-11975 > Project: Hadoop Common > Issue Type: Sub-task > Components: build > Affects Versions: 2.7.0 > Environment: Solaris > Reporter: Alan Burlison > Assignee: Alan Burlison > > When building with a 64-bit JVM on Solaris the following error occurs at the link stage of building the native code: > [exec] ld: fatal: file /usr/jdk/instances/jdk1.8.0/jre/lib/amd64/server/libjvm.so: wrong ELF class: ELFCLASS64 > [exec] collect2: error: ld returned 1 exit status > [exec] make[2]: *** [target/usr/local/lib/libhadoop.so.1.0.0] Error 1 > [exec] make[1]: *** [CMakeFiles/hadoop.dir/all] Error 2 > The compilation flags in the makefiles need to explicitly state if 32 or 64 bit code is to be generated, to match the JVM. -- This message was sent by Atlassian JIRA (v6.3.4#6332)