hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11547) hadoop-common native compilation fails on Windows due to missing support for __attribute__ declaration.
Date Wed, 04 Feb 2015 17:07:35 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Nauroth updated HADOOP-11547:
-----------------------------------
    Attachment: HADOOP-11547.001.patch

The attached patch removes the include.  It's unclear to me why this was added in HADOOP-11403,
because the changes that were made in NativeIO.c don't seem to require it.  I verified that
this builds successfully on Linux and Windows.  HADOOP-11403 was a patch related to Solaris,
but I don't have access to a Solaris machine right now to verify on that platform.

> hadoop-common native compilation fails on Windows due to missing support for __attribute__
declaration.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-11547
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11547
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: native
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>         Attachments: HADOOP-11547.001.patch
>
>
> HADOOP-11403 made a change to include exception.h in NativeIO.c.  This header includes
use of the non-standard gcc {{\_\_attribute\_\_}} declaration, and thus fails compilation
on Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message