You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/12/04 11:52:43 UTC

[jira] Created: (HARMONY-5246) [drlvm][gc][build] ICL compilation fails

[drlvm][gc][build] ICL compilation fails
----------------------------------------

                 Key: HARMONY-5246
                 URL: https://issues.apache.org/jira/browse/HARMONY-5246
             Project: Harmony
          Issue Type: Sub-task
          Components: DRLVM
         Environment: Win32 ICL
            Reporter: Alexey Varlamov
            Priority: Minor


The gc_gen cannot be compiled by Intel compiler due to following error which occurs in many files:

       [cc] compilation aborted for C:\users\avarlamo\trunk\working_vm\vm\gc_gen
\src\mark_sweep\sspace_verify.cpp (code 2)
       [cc] c:\Program Files\Microsoft Visual Studio .NET 2003\VC7\INCLUDE\xmmintrin.h(317): error: more than one instance of overloaded function "_aligned_malloc" has "C" linkage
       [cc]   extern void* __cdecl _mm_malloc(int siz, int al);
       [cc]                        ^

Seems there is a conflict between declarations in xmmintrin.h and malloc.h which probably depends on order of inclusion of those headers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5246) [drlvm][gc][build] ICL compilation fails

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548975 ] 

Alexey Varlamov commented on HARMONY-5246:
------------------------------------------

Hmm, no I did not - just assumed that build.bat should do it :(

> [drlvm][gc][build] ICL compilation fails
> ----------------------------------------
>
>                 Key: HARMONY-5246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5246
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Win32 ICL
>            Reporter: Alexey Varlamov
>            Assignee: Xiao-Feng Li
>            Priority: Minor
>
> The gc_gen cannot be compiled by Intel compiler due to following error which occurs in many files:
>        [cc] compilation aborted for C:\users\avarlamo\trunk\working_vm\vm\gc_gen
> \src\mark_sweep\sspace_verify.cpp (code 2)
>        [cc] c:\Program Files\Microsoft Visual Studio .NET 2003\VC7\INCLUDE\xmmintrin.h(317): error: more than one instance of overloaded function "_aligned_malloc" has "C" linkage
>        [cc]   extern void* __cdecl _mm_malloc(int siz, int al);
>        [cc]                        ^
> Seems there is a conflict between declarations in xmmintrin.h and malloc.h which probably depends on order of inclusion of those headers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-5246) [drlvm][gc][build] ICL compilation fails

Posted by "Xiao-Feng Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao-Feng Li reassigned HARMONY-5246:
-------------------------------------

    Assignee: Xiao-Feng Li

> [drlvm][gc][build] ICL compilation fails
> ----------------------------------------
>
>                 Key: HARMONY-5246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5246
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Win32 ICL
>            Reporter: Alexey Varlamov
>            Assignee: Xiao-Feng Li
>            Priority: Minor
>
> The gc_gen cannot be compiled by Intel compiler due to following error which occurs in many files:
>        [cc] compilation aborted for C:\users\avarlamo\trunk\working_vm\vm\gc_gen
> \src\mark_sweep\sspace_verify.cpp (code 2)
>        [cc] c:\Program Files\Microsoft Visual Studio .NET 2003\VC7\INCLUDE\xmmintrin.h(317): error: more than one instance of overloaded function "_aligned_malloc" has "C" linkage
>        [cc]   extern void* __cdecl _mm_malloc(int siz, int al);
>        [cc]                        ^
> Seems there is a conflict between declarations in xmmintrin.h and malloc.h which probably depends on order of inclusion of those headers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5246) [drlvm][gc][build] ICL compilation fails

Posted by "Chen Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548962 ] 

Chen Yang commented on HARMONY-5246:
------------------------------------

Have you called the iclvars.bat? I found without calling that, it will report this error, but if you have called that to set proper environment variable, it will finish the compilation happily.


> [drlvm][gc][build] ICL compilation fails
> ----------------------------------------
>
>                 Key: HARMONY-5246
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5246
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>         Environment: Win32 ICL
>            Reporter: Alexey Varlamov
>            Assignee: Xiao-Feng Li
>            Priority: Minor
>
> The gc_gen cannot be compiled by Intel compiler due to following error which occurs in many files:
>        [cc] compilation aborted for C:\users\avarlamo\trunk\working_vm\vm\gc_gen
> \src\mark_sweep\sspace_verify.cpp (code 2)
>        [cc] c:\Program Files\Microsoft Visual Studio .NET 2003\VC7\INCLUDE\xmmintrin.h(317): error: more than one instance of overloaded function "_aligned_malloc" has "C" linkage
>        [cc]   extern void* __cdecl _mm_malloc(int siz, int al);
>        [cc]                        ^
> Seems there is a conflict between declarations in xmmintrin.h and malloc.h which probably depends on order of inclusion of those headers.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.