Disclaimer:This message is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to other confidentiality protections. If you are not a designated recipient, you may not review, copy or distribute this message. Please notify the sender by e-mail and delete this message. GlobalEdge does not accept any liability for virus infected mails.--
You received this message because you are subscribed to the Google Groups "blis-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blis-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blis-devel/2e5218f6-085b-4707-b491-ad8f4b59ce4co%40googlegroups.com.
Can you run again and send the full output?Isuru
On Tue, Jun 16, 2020 at 1:28 PM Shivaprashanth H <shivprashanth.h@globaledgesoft.com> wrote:
Hello all,I am trying to build blis library in msys2 environment using clang compiler.I am running into below error,clang: error: linker command failed with exit code 1 (use -v to see invocation)make: * [Makefile:658: lib/haswell/libblis.lib] Error 1make: * Waiting for unfinished jobs....I am not able to see any more details for this linker error.Does anybody have idea whats going wrong here?Thanks in advance-Shiva
Disclaimer:This message is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to other confidentiality protections. If you are not a designated recipient, you may not review, copy or distribute this message. Please notify the sender by e-mail and delete this message. GlobalEdge does not accept any liability for virus infected mails.--
You received this message because you are subscribed to the Google Groups "blis-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blis-devel+unsubscribe@googlegroups.com.
Please find attached
Ran with make V=1 -j8
From: Isuru Fernando <isu...@gmail.com>
Sent: 17 June 2020 18:39
To: Shivaprashanth H <shivpra...@globaledgesoft.com>
Subject: Re: [blis-devel] clang build error
Thanks. Can you run "make V=1" and send the output?
Isuru.
On Wed, Jun 17, 2020 at 3:08 AM Shivaprashanth H <shivpra...@globaledgesoft.com> wrote:
I am building in msys2 64bit environment and passing CC=clang for compilation
I have attached the complete log for configure and make.
On Wednesday, June 17, 2020 at 11:11:53 AM UTC+5:30, Isuru Fernando wrote:
Can you run again and send the full output?
Isuru
On Tue, Jun 16, 2020 at 1:28 PM Shivaprashanth H <shivpra...@globaledgesoft.com> wrote:
Hello all,
I am trying to build blis library in msys2 environment using clang compiler.
I am running into below error,
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: * [Makefile:658: lib/haswell/libblis.lib] Error 1
make: * Waiting for unfinished jobs....
I am not able to see any more details for this linker error.
Does anybody have idea whats going wrong here?
Thanks in advance
-Shiva
Disclaimer:This message is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to other confidentiality protections. If you are not a designated recipient, you may not review, copy or distribute this message. Please notify the sender by e-mail and delete this message. GlobalEdge does not accept any liability for virus infected mails.
--
You received this message because you are subscribed to the Google Groups "blis-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blis-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blis-devel/2e5218f6-085b-4707-b491-ad8f4b59ce4co%40googlegroups.com.
Disclaimer:This message is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to other confidentiality protections. If you are not a designated recipient, you may not review, copy or distribute this message. Please notify the sender by e-mail and delete this message. GlobalEdge does not accept any liability for virus infected mails.
--
You received this message because you are subscribed to the Google Groups "blis-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blis-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blis-devel/b7419499-e26e-4b5f-a158-128aad407c26o%40googlegroups.com.
I am looking for msvc compatible library
$ clang --version
clang version 10.0.0 (https://github.com/msys2/MINGW-packages.git 7211ffb882cc3b7e7583c518aad45a22b278bc81)
Target: x86_64-w64-windows-gnu
Thread model: posix
InstalledDir: C:\msys64\mingw64\bin
I understand my mistake here. I guess I am using wrong one.
This worked!
The original linker issue is resolved
Now I think I am facing genuine compilation errors,
In file included from kernels/haswell/3/bli_gemm_haswell_asm_d6x8.c:36:
include/haswell\blis.h:32:10: fatal error: 'stdio.h' file not found
I see below headers part of clang installation,
stdalign.h
stdarg.h
stdatomic.h
stdbool.h
stddef.h
stdint.h
stdnoreturn.h
(paths is /mingw64/lib/clang/10.0.0/include)
However it seems stdio.h is not part of clang builtin headers.
To view this discussion on the web visit https://groups.google.com/d/msgid/blis-devel/CA%2B01voO_rXufzx393uO5RT7riEP3rEm1csjwiMMeDLKkX40bgg%40mail.gmail.com.
Just for your info attaching the latest log
From: Shivaprashanth H
Sent: 17 June 2020 23:59
To: 'Isuru Fernando' <isu...@gmail.com>
Subject: RE: [blis-devel] clang build error
The msys2 env is behaving strangely.
Previously I was not sure if my msys2 was started from within VS cmd prompt.
So I closed it and started msys2 from VS cmd,
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>C:\msys64\mingw64.exe
Then tried to configure and build.
But even with export CFLAGS="--target=x86_64-pc-windows-msvc", I am again facing same linker error which was resolved earlier.
C:\msys64\mingw64\bin\ld: unrecognised option: -implib:lib/haswell/libblis.lib
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:648: lib/haswell/libblis.lib] Error 1
make: *** Waiting for unfinished jobs....
echo lib/haswell/libblis.a
lib/haswell/libblis.a
I am investigating why its behaving differently
To view this discussion on the web visit https://groups.google.com/d/msgid/blis-devel/CA%2B01voOop6bovAnrPCGt6rwVuYxCcc6bOTvc%2BPVoqg788Fh2zQ%40mail.gmail.com.
After doing export for LDFLAGS with "--target=x86_64-pc-windows-msvc”
Below new linker error I am getting,
Dynamically linking lib/haswell/libblis.lib
libcmt.lib(chkstk.obj) : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
clang: error: linker command failed with exit code 1112 (use -v to see invocation)
make: *** [Makefile:658: lib/haswell/libblis.lib] Error 88
make: *** Waiting for unfinished jobs....
lib/haswell/libblis.a
This is understandable as we are modifying the LDFLAG
I tried passing -fuse-ld=ld-link.exe in the configure command but it has no effect it seems
Found the fix. We need to initialize x64 env by executing vcvars64.bat
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>VC\Auxiliary\Build\vcvars64.bat
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.6.2
** Copyright (c) 2020 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional>C:\msys64\mingw64.exe
Below lib files are built successfully now,
-rwxr-xr-x 1 sysadmin None 4.8M Jun 18 01:10 libblis.3.dll
-rw-r--r-- 1 sysadmin None 17M Jun 18 01:10 libblis.a
-rw-r--r-- 1 sysadmin None 155K Jun 18 01:10 libblis.exp
-rw-r--r-- 1 sysadmin None 260K Jun 18 01:10 libblis.lib
Disclaimer: "This message is intended only for the designated recipient(s). It may contain confidential or proprietary information and may be subject to other confidentiality protections. If you are not a designated recipient, you may not review, copy or distribute this message. Please notify the sender by e-mail and delete this message. GlobalEdge does not accept any liability for virus infected mails." --
You received this message because you are subscribed to the Google Groups "blis-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blis-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blis-devel/SG2PR03MB461338DE7723067652ACE3499A9A0%40SG2PR03MB4613.apcprd03.prod.outlook.com.
Below are the steps I followed. Hope it helps,
To view this discussion on the web visit https://groups.google.com/d/msgid/blis-devel/f13a4a47-14ac-2c63-aa95-3894c7e4848a%40smu.edu.