[llvm-bugs] [Bug 44707] New: successful compile yields broken llc.exe
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jan 29 06:59:34 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=44707
Bug ID: 44707
Summary: successful compile yields broken llc.exe
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: flip101 at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
I searched for a similar bug but i could not find it. I'm building on windows
10 64 bits with msys2
I checked out version 9c24fca2a33fc0fd059e278bb95c84803dfff9ae of 27 january
and followed the following commands:
# from:
https://llvm.org/docs/GettingStarted.html#getting-the-source-code-and-building-llvm
pacman -S mingw64/mingw-w64-x86_64-ninja
git clone --config core.autocrlf=false https://github.com/llvm/llvm-project.git
mkdir llvm-project/build
cd llvm-project/build
cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Debug
-DLLVM_PARALLEL_LINK_JOBS=1
-DCMAKE_EXE_LINKER_FLAGS="-Wl,--reduce-memory-overheads -Wl,--hash-size=1021"
../llvm
/usr/bin/time ninja
/usr/bin/time ninja check-all
Compiling was a success, but then running
/llvm-project/build/bin/llc.exe --version
gives
bash: /llvm-project/build/bin/llc.exe: cannot execute binary file: Exec format
error
I tried the same in windows command shell, this opens up a windows dialog that
says "this app can't run on your pc"
As a bit of additional information .. the architecture seems to be right
$ file /llvm-project/build/bin/llc.exe
/llvm-project/build/bin/llc.exe: PE32+ executable (console) x86-64, for MS
Windows
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200129/7626a955/attachment.html>
More information about the llvm-bugs
mailing list