[ 
https://issues.apache.org/jira/browse/HADOOP-11691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14375872#comment-14375872
 ] 

Remus Rusanu commented on HADOOP-11691:
---------------------------------------

Hi [~kiranmr] the trunk still fail for me to build x86:
{code}
"E:\HW\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\winutils.vcxproj"
 (default target) (4) ->
(Link target) ->
  
E:\HW\project\hadoop-common\hadoop-common-project\hadoop-common\target/winutils/hadoopwinutilsvc_s.obj
 : fatal error LNK1112: module machine type 'x
64' conflicts with target machine type 'X86' 
[E:\HW\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\winutils.vcxproj]
{code}

I think the 
{code}
-      <TargetEnvironment>X64</TargetEnvironment>
+      <TargetEnvironment>$(Platform)</TargetEnvironment>
{code}
is incorrect because $(Platform) expands to `Release|Win32` or `Debug|Win32` 
but the MIDL Task https://msdn.microsoft.com/en-us/library/ee862478.aspx 
expects `win32` or `x64`.

> X86 build of libwinutils is broken
> ----------------------------------
>
>                 Key: HADOOP-11691
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11691
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build, native
>    Affects Versions: 3.0.0
>            Reporter: Remus Rusanu
>            Assignee: Kiran Kumar M R
>         Attachments: HADOOP-11691-001.patch, HADOOP-11691-002.patch, 
> HADOOP-11691-003.patch
>
>
> Hadoop-9922 recently fixed x86 build. After YARN-2190 compiling x86 results 
> in error:
> {code}
> (Link target) ->
>   
> E:\HW\project\hadoop-common\hadoop-common-project\hadoop-common\target/winutils/hadoopwinutilsvc_s.obj
>  : fatal error LNK1112: module machine type 'x64' conflicts with target 
> machine type 'X86' 
> [E:\HW\project\hadoop-common\hadoop-common-project\hadoop-common\src\main\winutils\winutils.vcxproj]
> {code}



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

Reply via email to