valec build panic!
chiuzon opened this issue · comments
>>> valec build mymodule=C:\Users\linustorvalds\Desktop\test\proj\main.vale
Moving existing output directory build to C:\Users\linustorvalds\AppData\Local\Temp\old_output_dir_2954937675512.
Running:
C:\ProgramData\Oracle\Java\javapath\java.exe -cp D:\vale\Frontend.jar dev.vale.passmanager.PassManager build --output_dir build --sanity_check true stdlib=D:\vale\stdlib\src mymodule=C:\Users\linustorvalds\Desktop\test\proj\main.vale
Running:
D:\vale\backend.exe --verify --output_dir build build\vast\mymodule.vast build\vast\stdlib.math.vast build\vast\stdlib.vast build\vast\__vale.vast
Region override: assist
Warning: not using census when in assist mode!
Running:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe" -Ibuild\include -O3 /ENTRY:"main" /SUBSYSTEM:CONSOLE /Fe:build\main /Fo:C:\Users\linustorvalds\Desktop\test\proj\build\\ build\build.obj D:\vale\builtins\assert.c D:\vale\builtins\census.c D:\vale\builtins\mainargs.c D:\vale\builtins\math.c D:\vale\builtins\stdio.c D:\vale\builtins\strings.c D:\vale\builtins\weaks.c D:\vale\stdlib\src\math\native\mathnative.c build\abi\stdlib\fsqrt.c build\abi\stdlib\i64.c build\abi\stdlib\lshift.c build\abi\stdlib\rshift.c build\abi\stdlib\xor.c build\abi\__vale\addStr.c build\abi\__vale\castFloatI32.c build\abi\__vale\castFloatStr.c build\abi\__vale\castI32Float.c build\abi\__vale\castI32Str.c build\abi\__vale\castI64Str.c build\abi\__vale\getMainArg.c build\abi\__vale\numMainArgs.c build\abi\__vale\printstr.c build\abi\__vale\strcmp.c build\abi\__vale\streq.c build\abi\__vale\strfromascii.c build\abi\__vale\strindexof.c build\abi\__vale\strtoascii.c build\abi\__vale\substring.c build\abi\__vale\TruncateI64ToI32.c
assert.c
D:\vale\builtins\assert.c(2): fatal error C1083: Cannot open include file: 'assert.h': No such file or directory
census.c
D:\vale\builtins\census.c(1): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
mainargs.c
D:\vale\builtins\mainargs.c(1): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
math.c
D:\vale\builtins\math.c(1): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
stdio.c
D:\vale\builtins\stdio.c(1): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
strings.c
D:\vale\builtins\strings.c(1): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
weaks.c
D:\vale\builtins\weaks.c(2): fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory
mathnative.c
D:\vale\stdlib\src\math\native\mathnative.c(1): fatal error C1083: Cannot open include file: 'math.h': No such file or directory
fsqrt.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
i64.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
lshift.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
rshift.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
xor.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
addStr.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
castFloatI32.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
castFloatStr.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
castI32Float.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
castI32Str.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
castI64Str.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
getMainArg.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
Generating Code...
Compiling...
numMainArgs.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
printstr.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
strcmp.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
streq.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
strfromascii.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
strindexof.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
strtoascii.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
substring.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
TruncateI64ToI32.c
build\include\ValeBuiltins.h(3): fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
Generating Code...
Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30145 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl : Command line warning D9002 : ignoring unknown option '-O3'
cl : Command line warning D9002 : ignoring unknown option '/ENTRY:"main"'
cl : Command line warning D9002 : ignoring unknown option '/SUBSYSTEM:CONSOLE'
clang returned error code 2, aborting.
(panic)