harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Salishev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-5557) [build] Problem building Harmony on MSVC 2005
Date Wed, 19 Mar 2008 10:38:31 GMT

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

Sergey Salishev updated HARMONY-5557:

    Attachment: msvc2005.diff

It's a serious issue as it seems VS 2003 is EOL and can't be downloaded form MS site any more.
So this bug effectively means new developers can't build x86 version Harmony unless they already
have VS 2003. The good news I was able to build Harmony x86 using VS 2005 with minimal changes
to the code and build scripts. The patch is provided. 

I've found 2 problems: One is unfamous CL warning C4996 related to MS deprecating some POSIX
API for security reasons. To solve it in drlvm I've added /wd4996 to the common-vm.xml This
is the only way this issue can be handled as defining magic symbols leads to symbol redifinition
in apr.h and build failure. Also one line in one file file solves all the problems without
changing individula project builds.

Another problem is using intrin.h in "C" context which leads to C/C++ conflict. The solution
is moving #include outside of "C" context.

> [build] Problem building Harmony on MSVC 2005
> ---------------------------------------------
>                 Key: HARMONY-5557
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5557
>             Project: Harmony
>          Issue Type: Bug
>          Components: build - test - ci
>         Environment: x86, MSVC 2005
>            Reporter: Evgeny Razinkin
>         Attachments: code.txt, code1.txt, msvc2005.diff
> I have problem with harmony building. I installed all components, created repository,made
$ svn update. Then i made $ ant fetch-depends. And compiler showed successfull build.But when
i made $ ant and i had problems:
> NMAKE : fatal error U1077: retern code '0*2'
>    P.S. Please help me

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

View raw message