Skip to content

[META][Win64] build and test issues on MinGW-w64 #9444

@rubenvb

Description

@rubenvb
Bugzilla Link 9072
Resolution FIXED
Resolved on Nov 17, 2015 11:48
Version trunk
OS Windows NT
Depends On #9205 #9220 #9222 llvm/llvm-bugzilla-archive#9099
Blocks llvm/llvm-bugzilla-archive#9100
Attachments patch for the issues listed in the report
CC @rnk

Extended Description

When compiling LLVM with MinGW-w64, several easy to fix/workaround issues popped up:

  1. _WIN32_WINNT redefined
  2. lib/support/Windows/DynamicLibrary.inc: bad ifdef for mingw-w64 which needs the function ifdef'ed out
  3. explicit symbol declaration for functions not meant to be present on win64 MinGW platforms.
  4. tblgen.exe crashes on CellSPU *.inc files

I have attached a patch for these issues (except 3). I would be much obliged if applied to trunk.

I do not have a clue about number 4, and already opened a bug report about this here: http://llvm.org/bugs/show_bug.cgi?id=8850
Disabling the target in question lets the build continue and finish happily.

I will update the bug report with "make check" results.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions