[cfe-dev] Failure building x86_64-w64-mingw32 triplet of clang on Windows
Yaron Keren via cfe-dev
cfe-dev at lists.llvm.org
Tue Jun 14 07:40:49 PDT 2016
libxml is optional library, used if found.
Maybe CMake finds your libxml2 but does not check if its 32 or 64 bit, just
assumes it's the right one?
2016-06-14 16:59 GMT+03:00 NAKAMURA Takumi via cfe-dev <
cfe-dev at lists.llvm.org>:
> On Tue, Jun 14, 2016 at 10:50 PM Edward Diener via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> On 6/14/2016 8:21 AM, NAKAMURA Takumi via cfe-dev wrote:
>> > I guess you are building on msys2 with external mingw-w64.
>>
>> No, I am not. Ninja is calling mingw-64/gcc-5.3 directly to build
>> llvm/clang
>
> .
>>
> > CMake picks up msys2's libxml2, I guess.
>>
>> I do have a 32-bit libxml2 on my Windows PATH from the GnuWin32 package.
>> But why is a build of llvm/clang requiring libxml2, whether a 32-bit or
>> 64-bit version ?
>>
>
> I don't know why CMake finds but doesn't ignore it.
> c-index-test uses libxml2 if available. libxml2 is not essential.
>
> We could add extra checks if libxml2 would be really available.
>
> > Could you try overriding CMake and reconfigure?
>> >
>> -DCMAKE_LIBRARY_PATH="C:/mingw-w64/x86_64-4.9.3-posix-seh-rt_v4-rev1/mingw64/x86_64-w64-mingw32/lib"
>>
>> Why would using gcc-4.9.3 make any difference ?
>>
>
> Excuse me. It was just an example. Please substitute with your mingw-w64's
> path.
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160614/2190aa3e/attachment.html>
More information about the cfe-dev
mailing list