You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I am building Julia 1.3.1 (tag v1.3.1) with a few flags in the Make.user file.
I've built it before on Julia 0.7 and 1.0 and 1.1 and 1.3, but usually with older gcc versions (7.4 and 8.2). I'm setting it up on a new Windows machine to build Julia and the default version of gcc that comes with cygwin is now 9.3 or newer.
$ gcc --version
gcc (GCC) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Note between failed builds, I scrub everything with:
make distclean
git reset --hard
git clean -x -f -d
git status --ignored
The make errors out with 127 in line 60 of sysimage.mk
LINK usr/bin/libjulia.dll
CC ui/repl.o
LINK usr/bin/julia.exe
chmod a+x /cygdrive/c/development/julia_v1.3.1/julia.bat
JULIA usr/lib/julia/corecompiler.ji
make[1]: *** [sysimage.mk:60: /cygdrive/c/development/julia_v1.3.1/usr/lib/julia/corecompiler.ji] Error 127
make: *** [Makefile:81: julia-sysimg-ji] Error 2
Running make -n I get the following for the commands around there:
If I run the command without --output-ji it complains about no sys.dll present.
/cygdrive/c/development/julia_v1.3.1/usr/bin/julia.exe -C "core2" --startup-file=no -g2 -O0 compiler/compiler.jl || echo $?
ERROR: could not load library "C:\development\julia_v1.3.1\usr\lib\julia\sys.dll"
The specified module could not be found.
1
Any ideas of what should be done for gcc 9.3? Or is it just not supported yet, and the docs should just say something about sticking with gcc 8.x?
Here is the full output of the make session:
$ echo -e "XC_HOST = x86_64-w64-mingw32\nUSE_GPL_LIBS=0\nOPENBLAS_DYNAMIC_ARCH=1\nJULIA_CPU_TARGET=core2\n" > Make.user
$ time (make && make win-extras && make binary-dist)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 497 100 497 0 0 668 0 --:--:-- --:--:-- --:--:-- 678
100 2062k 100 2062k 0 0 1111k 0 0:00:01 0:00:01 --:--:-- 2227k
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Pkg <<===>> Pkg-f71e2c5a119b9c850f9b
357fc8c56068f5b51cc0
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Base64 <<===>> C:\development\julia_
v1.3.1\stdlib\Base64
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\CRC32c <<===>> C:\development\julia_
v1.3.1\stdlib\CRC32c
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Dates <<===>> C:\development\julia_v
1.3.1\stdlib\Dates
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\DelimitedFiles <<===>> C:\developmen
t\julia_v1.3.1\stdlib\DelimitedFiles
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Distributed <<===>> C:\development\j
ulia_v1.3.1\stdlib\Distributed
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\FileWatching <<===>> C:\development\
julia_v1.3.1\stdlib\FileWatching
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Future <<===>> C:\development\julia_
v1.3.1\stdlib\Future
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\InteractiveUtils <<===>> C:\developm
ent\julia_v1.3.1\stdlib\InteractiveUtils
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Libdl <<===>> C:\development\julia_v
1.3.1\stdlib\Libdl
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\LibGit2 <<===>> C:\development\julia
_v1.3.1\stdlib\LibGit2
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\LinearAlgebra <<===>> C:\development
\julia_v1.3.1\stdlib\LinearAlgebra
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Logging <<===>> C:\development\julia
_v1.3.1\stdlib\Logging
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Markdown <<===>> C:\development\juli
a_v1.3.1\stdlib\Markdown
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Mmap <<===>> C:\development\julia_v1
.3.1\stdlib\Mmap
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Printf <<===>> C:\development\julia_
v1.3.1\stdlib\Printf
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Profile <<===>> C:\development\julia
_v1.3.1\stdlib\Profile
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Random <<===>> C:\development\julia_
v1.3.1\stdlib\Random
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\REPL <<===>> C:\development\julia_v1
.3.1\stdlib\REPL
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Serialization <<===>> C:\development
\julia_v1.3.1\stdlib\Serialization
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\SHA <<===>> C:\development\julia_v1.
3.1\stdlib\SHA
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\SharedArrays <<===>> C:\development\
julia_v1.3.1\stdlib\SharedArrays
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Sockets <<===>> C:\development\julia
_v1.3.1\stdlib\Sockets
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\SparseArrays <<===>> C:\development\
julia_v1.3.1\stdlib\SparseArrays
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Statistics <<===>> C:\development\ju
lia_v1.3.1\stdlib\Statistics
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\SuiteSparse <<===>> C:\development\j
ulia_v1.3.1\stdlib\SuiteSparse
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Test <<===>> C:\development\julia_v1
.3.1\stdlib\Test
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\Unicode <<===>> C:\development\julia
_v1.3.1\stdlib\Unicode
Junction created for C:\development\julia_v1.3.1\usr\share\julia\stdlib\v1.3\UUIDs <<===>> C:\development\julia_v
1.3.1\stdlib\UUIDs
Junction created for C:\development\julia_v1.3.1\usr\share\julia\base <<===>> base
Junction created for C:\development\julia_v1.3.1\usr\share\julia\test <<===>> C:\development\julia_v1.3.1\test
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libgfortran-5.dll /cygdrive/c/development/julia_v1.3.1/usr/bin
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libgfortran-5.dll /cygdrive/c/development/julia_v1.3.1/usr/tools
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libquadmath-0.dll /cygdrive/c/development/julia_v1.3.1/usr/bin
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libquadmath-0.dll /cygdrive/c/development/julia_v1.3.1/usr/tools
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libstdc++-6.dll /cygdrive/c/development/julia_v1.3.1/usr/bin
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libstdc++-6.dll /cygdrive/c/development/julia_v1.3.1/usr/tools
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libgcc_s_seh-1.dll /cygdrive/c/development/julia_v1.3.1/usr/bin
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libgcc_s_seh-1.dll /cygdrive/c/development/julia_v1.3.1/usr/tools
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libssp-0.dll /cygdrive/c/development/julia_v1.3.1/usr/bin
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libssp-0.dll /cygdrive/c/development/julia_v1.3.1/usr/tools
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libwinpthread-1.dll /cygdrive/c/development/julia_v1.3.1/usr/bin
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libwinpthread-1.dll /cygdrive/c/development/julia_v1.3.1/usr/tools
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libatomic-1.dll /cygdrive/c/development/julia_v1.3.1/usr/bin
cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/../bin//libatomic-1.dll /cygdrive/c/development/julia_v1.3.1/usr/tools
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 521 100 521 0 0 795 0 --:--:-- --:--:-- --:--:-- 797
100 651k 100 651k 0 0 498k 0 0:00:01 0:00:01 --:--:-- 2300k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 509 100 509 0 0 681 0 --:--:-- --:--:-- --:--:-- 681
100 269k 100 269k 0 0 199k 0 0:00:01 0:00:01 --:--:-- 162k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 493 100 493 0 0 717 0 --:--:-- --:--:-- --:--:-- 717
100 18498 100 18498 0 0 15716 0 0:00:01 0:00:01 --:--:-- 15716
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 501 100 501 0 0 750 0 --:--:-- --:--:-- --:--:-- 752
100 163M 100 163M 0 0 6249k 0 0:00:26 0:00:26 --:--:-- 10.4M
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 497 100 497 0 0 680 0 --:--:-- --:--:-- --:--:-- 681
100 1447k 100 1447k 0 0 736k 0 0:00:01 0:00:01 --:--:-- 2598k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 509 100 509 0 0 770 0 --:--:-- --:--:-- --:--:-- 772
100 25.8M 100 25.8M 0 0 5067k 0 0:00:05 0:00:05 --:--:-- 6075k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 489 100 489 0 0 681 0 --:--:-- --:--:-- --:--:-- 682
100 1104k 100 1104k 0 0 678k 0 0:00:01 0:00:01 --:--:-- 1133k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 499 100 499 0 0 795 0 --:--:-- --:--:-- --:--:-- 795
100 1614k 100 1614k 0 0 1048k 0 0:00:01 0:00:01 --:--:-- 3077k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 497 100 497 0 0 666 0 --:--:-- --:--:-- --:--:-- 667
100 249k 100 249k 0 0 196k 0 0:00:01 0:00:01 --:--:-- 196k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 499 100 499 0 0 702 0 --:--:-- --:--:-- --:--:-- 703
100 874k 100 874k 0 0 582k 0 0:00:01 0:00:01 --:--:-- 2692k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 459 100 459 0 0 1031 0 --:--:-- --:--:-- --:--:-- 1036
100 216k 100 216k 0 0 209k 0 0:00:01 0:00:01 --:--:-- 457k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 491 100 491 0 0 450 0 0:00:01 0:00:01 --:--:-- 451
100 5864k 100 5864k 0 0 2017k 0 0:00:02 0:00:02 --:--:-- 4005k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 497 100 497 0 0 710 0 --:--:-- --:--:-- --:--:-- 711
100 151k 100 151k 0 0 126k 0 0:00:01 0:00:01 --:--:-- 385k
x86_64-w64-mingw32-ar: creating libutf8proc.a
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 493 100 493 0 0 689 0 --:--:-- --:--:-- --:--:-- 689
100 158k 100 158k 0 0 121k 0 0:00:01 0:00:01 --:--:-- 983k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 495 100 495 0 0 679 0 --:--:-- --:--:-- --:--:-- 679
100 923k 100 923k 0 0 625k 0 0:00:01 0:00:01 --:--:-- 2745k
Creating usr/etc/julia/startup.jl
Copying in usr/share/man/man1/julia.1
/cygdrive/c/development/julia_v1.3.1/contrib/install.sh 755 /cygdrive/c/development/julia_v1.3.1/contrib/julia-config.jl /cygdrive/c/development/julia_v1.3.1/usr/share/julia/
PERL base/pcre_h.jl
PERL base/errno_h.jl
PERL base/build_h.jl.phony
PERL base/file_constants.jl
PERL base/uv_constants.jl
PERL base/version_git.jl.phony
CC src/support/hashing.o
CC src/support/timefuncs.o
CC src/support/ptrhash.o
CC src/support/operators.o
CC src/support/utf8.o
/cygdrive/c/development/julia_v1.3.1/src/support/utf8.c: In function ‘u8_escape_wchar’:
/cygdrive/c/development/julia_v1.3.1/src/support/utf8.c:401:42: warning: unknown conversion type character ‘h’ in format [-Wformat=]
401 | return snprintf(buf, sz, "\\x%.2hhx", (unsigned char)ch);
| ^
/cygdrive/c/development/julia_v1.3.1/src/support/utf8.c:401:34: warning: too many arguments for format [-Wformat-extra-args]
401 | return snprintf(buf, sz, "\\x%.2hhx", (unsigned char)ch);
| ^~~~~~~~~~~
CC src/support/ios.o
CC src/support/htable.o
CC src/support/bitvector.o
CC src/support/int2str.o
CC src/support/libsupportinit.o
CC src/support/arraylist.o
CC src/support/strtod.o
CC src/support/asprintf.o
CC src/support/strptime.o
CC src/support/win32_ucontext.o
CC src/support/_setjmp.win64.o
LINK src/support/libsupport.a
CC src/flisp/flisp.o
CC src/flisp/builtins.o
CC src/flisp/string.o
CC src/flisp/equalhash.o
CC src/flisp/table.o
CC src/flisp/iostream.o
CC src/flisp/julia_extensions.o
LINK src/flisp/libflisp.a
CC src/flisp/flmain.o
make[2]: Circular /cygdrive/c/development/julia_v1.3.1/src/flisp/flisp.boot <- /cygdrive/c/development/julia_v1.3.1/src/flisp/flisp.boot dependency dropped.
LINK src/flisp/flisp.exe
FLISP src/julia_flisp.boot
FLISP src/julia_flisp.boot.inc
CC src/APInt-C.o
CC src/runtime_ccall.o
/cygdrive/c/development/julia_v1.3.1/src/runtime_ccall.cpp: In function ‘jl_value_t* jl_get_cfunction_trampoline(jl_value_t*, jl_datatype_t*, htable_t*, jl_svec_t*, void* (*)(void*, void**), jl_unionall_t*, jl_value_t**)’:
/cygdrive/c/development/julia_v1.3.1/src/runtime_ccall.cpp:250:15: warning: argument ‘cache’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
250 | htable_t *cache, // weakref htable indexed by (fobj, vals)
| ~~~~~~~~~~^~~~~
CC src/processor.o
CC src/rtutils.o
CC src/jltypes.o
CC src/gf.o
CC src/typemap.o
CC src/ast.o
CC src/builtins.o
CC src/module.o
CC src/interpreter.o
CC src/symbol.o
CC src/dlload.o
CC src/sys.o
CC src/init.o
CC src/task.o
CC src/array.o
CC src/dump.o
CC src/staticdata.o
CC src/toplevel.o
CC src/jl_uv.o
CC src/datatype.o
CC src/simplevector.o
CC src/runtime_intrinsics.o
CC src/precompile.o
CC src/threading.o
CC src/partr.o
CC src/stackwalk.o
/cygdrive/c/development/julia_v1.3.1/src/stackwalk.c: In function ‘jl_unw_stepn’:
/cygdrive/c/development/julia_v1.3.1/src/stackwalk.c:32:15: warning: unused variable ‘ptls’ [-Wunused-variable]
32 | jl_ptls_t ptls = jl_get_ptls_states();
| ^~~~
CC src/gc.o
CC src/gc-debug.o
CC src/gc-pages.o
CC src/gc-stacks.o
CC src/method.o
CC src/jlapi.o
CC src/signal-handling.o
CC src/safepoint.o
CC src/jloptions.o
CC src/timing.o
CC src/subtype.o
CC src/crc32c.o
CC src/codegen.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/CodeGen/TargetSubtargetInfo.h:22,
from /cygdrive/c/development/julia_v1.3.1/src/codegen.cpp:33:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/CodeGen/SchedulerRegistry.h: In constructor ‘llvm::RegisterScheduler::RegisterScheduler(const char*, const char*, llvm::RegisterScheduler::FunctionPassCtor)’:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/CodeGen/SchedulerRegistry.h:40:52: warning: cast between incompatible function types from ‘llvm::RegisterScheduler::FunctionPassCtor’ {aka ‘llvm::ScheduleDAGSDNodes* (*)(llvm::SelectionDAGISel*, llvm::CodeGenOpt::Level)’} to ‘llvm::MachinePassCtor’ {aka ‘void* (*)()’} [-Wcast-function-type]
40 | : MachinePassRegistryNode(N, D, (MachinePassCtor)C)
| ^
/cygdrive/c/development/julia_v1.3.1/src/codegen.cpp: In function ‘jl_code_instance_t* jl_compile_linfo(jl_method_instance_t*, jl_code_info_t*, size_t, const jl_cgparams_t*)’:
/cygdrive/c/development/julia_v1.3.1/src/codegen.cpp:1296:45: warning: unknown conversion type character ‘l’ in format [-Wformat=]
1296 | jl_printf(dump_compiles_stream, "%" PRIu64 "\t\"", this_time - last_time);
| ^~~~~~~~~~~~~~~~~
/cygdrive/c/development/julia_v1.3.1/src/codegen.cpp:1296:45: warning: too many arguments for format [-Wformat-extra-args]
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/CodeGen/TargetSubtargetInfo.h:17,
from /cygdrive/c/development/julia_v1.3.1/src/codegen.cpp:33:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = long long unsigned int]’:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/IR/DIBuilder.h:572:74: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<long long unsigned int>::Data’ from ‘std::initializer_list<long long unsigned int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Metadata*]’:
/cygdrive/c/development/julia_v1.3.1/src/cgutils.cpp:418:63: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Metadata*>::Data’ from ‘std::initializer_list<llvm::Metadata*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Value*]’:
/cygdrive/c/development/julia_v1.3.1/src/cgutils.cpp:830:69: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Value*>::Data’ from ‘std::initializer_list<llvm::Value*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Type*]’:
/cygdrive/c/development/julia_v1.3.1/src/intrinsics.cpp:1296:49: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Type*>::Data’ from ‘std::initializer_list<llvm::Type*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/STLExtras.h:21,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Host.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/Hashing.h:49,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/CodeGen/TargetSubtargetInfo.h:17,
from /cygdrive/c/development/julia_v1.3.1/src/codegen.cpp:33:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<_jl_value_t**, llvm::GlobalVariable*>]’:
/cygdrive/c/development/julia_v1.3.1/src/codegen.cpp:6893:53: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<_jl_value_t**, llvm::GlobalVariable*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
312 | memcpy(this->end(), &Elt, sizeof(T));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_algobase.h:64,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/char_traits.h:39,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/string:40,
from /cygdrive/c/development/julia_v1.3.1/src/codegen.cpp:21:
/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_pair.h:208:12: note: ‘struct std::pair<_jl_value_t**, llvm::GlobalVariable*>’ declared here
208 | struct pair
| ^~~~
/cygdrive/c/development/julia_v1.3.1/src/codegen.cpp: In function ‘jl_cgval_t emit_expr(jl_codectx_t&, jl_value_t*, ssize_t)’:
/cygdrive/c/development/julia_v1.3.1/src/codegen.cpp:3953:60: warning: argument ‘expr’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
3953 | static jl_cgval_t emit_expr(jl_codectx_t &ctx, jl_value_t *expr, ssize_t ssaval)
| ~~~~~~~~~~~~^~~~
CC src/jitlayers.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/STLExtras.h:21,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Host.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/Hashing.h:49,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMapInfo.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/BasicAliasAnalysis.h:17,
from /cygdrive/c/development/julia_v1.3.1/src/jitlayers.cpp:15:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long long unsigned int>]’:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Allocator.h:247:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long long unsigned int SlabSize = 4096; long long unsigned int SizeThreshold = 4096; size_t = long long unsigned int]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Allocator.h:57:67: required from ‘void* llvm::AllocatorBase<DerivedT>::Allocate(size_t, size_t) [with DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long long unsigned int]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Allocator.h:79:12: required from ‘T* llvm::AllocatorBase<DerivedT>::Allocate(size_t) [with T = llvm::BasicBlock*; DerivedT = llvm::BumpPtrAllocatorImpl<>; size_t = long long unsigned int]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/IR/PredIteratorCache.h:53:59: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
312 | memcpy(this->end(), &Elt, sizeof(T));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_algobase.h:64,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/char_traits.h:39,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/ios:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/ostream:38,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/iostream:39,
from /cygdrive/c/development/julia_v1.3.1/src/jitlayers.cpp:10:
/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_pair.h:208:12: note: ‘struct std::pair<void*, long long unsigned int>’ declared here
208 | struct pair
| ^~~~
CC src/disasm.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/STLExtras.h:21,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Object/ObjectFile.h:17,
from /cygdrive/c/development/julia_v1.3.1/src/disasm.cpp:30:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]’:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/MC/MCStreamer.h:351:66: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
312 | memcpy(this->end(), &Elt, sizeof(T));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_algobase.h:64,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/char_traits.h:39,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/string:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/locale_classes.h:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/ios_base.h:41,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/iomanip:40,
from /cygdrive/c/development/julia_v1.3.1/src/disasm.cpp:22:
/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_pair.h:208:12: note: ‘struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >’ declared here
208 | struct pair
| ^~~~
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/STLExtras.h:21,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Object/ObjectFile.h:17,
from /cygdrive/c/development/julia_v1.3.1/src/disasm.cpp:30:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long long unsigned int>]’:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Allocator.h:247:33: required from ‘void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long long unsigned int SlabSize = 4096; long long unsigned int SizeThreshold = 4096; size_t = long long unsigned int]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/MC/MCContext.h:613:44: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
312 | memcpy(this->end(), &Elt, sizeof(T));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_algobase.h:64,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/char_traits.h:39,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/string:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/locale_classes.h:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/ios_base.h:41,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/iomanip:40,
from /cygdrive/c/development/julia_v1.3.1/src/disasm.cpp:22:
/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_pair.h:208:12: note: ‘struct std::pair<void*, long long unsigned int>’ declared here
208 | struct pair
| ^~~~
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/STLExtras.h:21,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Object/ObjectFile.h:17,
from /cygdrive/c/development/julia_v1.3.1/src/disasm.cpp:30:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:405:5: required from ‘void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:881:5: required from ‘llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; <template-parameter-2-2> = void; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/MC/MCFragment.h:648:42: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
299 | memcpy(Dest, I, (E - I) * sizeof(T));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_algobase.h:64,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/char_traits.h:39,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/string:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/locale_classes.h:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/ios_base.h:41,
from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/iomanip:40,
from /cygdrive/c/development/julia_v1.3.1/src/disasm.cpp:22:
/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_pair.h:208:12: note: ‘struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>’ declared here
208 | struct pair
| ^~~~
CC src/debuginfo.o
CC src/llvm-simdloop.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/STLExtras.h:21,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Host.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/Hashing.h:49,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMapInfo.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/LoopInfo.h:39,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/LoopPass.h:18,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-simdloop.cpp:25:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = std::pair<void*, long long unsigned int>; T2 = std::pair<void*, long long unsigned int>; T = std::pair<void*, long long unsigned int>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:276:23: required from ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_move(It1, It1, It2) [with It1 = std::pair<void*, long long unsigned int>*; It2 = std::pair<void*, long long unsigned int>*; T = std::pair<void*, long long unsigned int>]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:834:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(llvm::SmallVectorImpl<T>&&) [with T = std::pair<void*, long long unsigned int>]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:906:36: required from ‘llvm::SmallVector<T, N>::SmallVector(llvm::SmallVector<T, N>&&) [with T = std::pair<void*, long long unsigned int>; unsigned int N = 0]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Allocator.h:159:43: required from ‘llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::BumpPtrAllocatorImpl(llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>&&) [with AllocatorT = llvm::MallocAllocator; long long unsigned int SlabSize = 4096; long long unsigned int SizeThreshold = 4096]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/LoopInfo.h:617:51: required from ‘llvm::LoopInfoBase<N, M>::LoopInfoBase(llvm::LoopInfoBase<N, M>&&) [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/LoopInfo.h:800:72: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
299 | memcpy(Dest, I, (E - I) * sizeof(T));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/utility:70,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/type_traits.h:19,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/Optional.h:22,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/STLExtras.h:20,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Host.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/Hashing.h:49,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMapInfo.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/LoopInfo.h:39,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/LoopPass.h:18,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-simdloop.cpp:25:
/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_pair.h:208:12: note: ‘struct std::pair<void*, long long unsigned int>’ declared here
208 | struct pair
| ^~~~
CC src/llvm-ptls.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMapInfo.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/PassRegistry.h:20,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/PassSupport.h:26,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Pass.h:376,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-ptls.cpp:15:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Value*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-ptls.cpp:140:83: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Value*>::Data’ from ‘std::initializer_list<llvm::Value*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
CC src/llvm-muladd.o
CC src/llvm-final-gc-lowering.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMapInfo.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/PassRegistry.h:20,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/PassSupport.h:26,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Pass.h:376,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/IR/LegacyPassManager.h:20,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-final-gc-lowering.cpp:3:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Value*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-final-gc-lowering.cpp:203:67: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Value*>::Data’ from ‘std::initializer_list<llvm::Value*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
CC src/llvm-pass-helpers.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMapInfo.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseSet.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/IR/Function.h:21,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-pass-helpers.cpp:8:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Type*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-pass-helpers.cpp:156:26: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Type*>::Data’ from ‘std::initializer_list<llvm::Type*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
CC src/llvm-late-gc-lowering.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/BitVector.h:17,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-late-gc-lowering.cpp:6:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned int]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-late-gc-lowering.cpp:480:83: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<unsigned int>::Data’ from ‘std::initializer_list<unsigned int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Value*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-late-gc-lowering.cpp:1759:22: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Value*>::Data’ from ‘std::initializer_list<llvm::Value*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Type*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-late-gc-lowering.cpp:1829:101: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Type*>::Data’ from ‘std::initializer_list<llvm::Type*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
CC src/llvm-lower-handlers.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/IR/Instruction.h:18,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/IR/BasicBlock.h:23,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/CFG.h:18,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-lower-handlers.cpp:7:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Type*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-lower-handlers.cpp:123:90: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Type*>::Data’ from ‘std::initializer_list<llvm::Type*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
CC src/llvm-gc-invariant-verifier.o
CC src/llvm-propagate-addrspaces.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/IR/Instruction.h:18,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/IR/BasicBlock.h:23,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/CFG.h:18,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-propagate-addrspaces.cpp:7:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Type*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-propagate-addrspaces.cpp:260:62: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Type*>::Data’ from ‘std::initializer_list<llvm::Type*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
CC src/llvm-multiversioning.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMapInfo.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/DenseMap.h:17,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/PassRegistry.h:20,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/PassSupport.h:26,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Pass.h:376,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-multiversioning.cpp:15:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = unsigned int]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-multiversioning.cpp:772:46: required from ‘llvm::Value* {anonymous}::CloneCtx::rewrite_inst_use(const Stack&, llvm::Value*, llvm::Instruction*) [with Stack = llvm::SmallVector<{anonymous}::ConstantUses<llvm::Instruction>::Frame, 4>]’
/cygdrive/c/development/julia_v1.3.1/src/llvm-multiversioning.cpp:824:69: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<unsigned int>::Data’ from ‘std::initializer_list<unsigned int>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/STLExtras.h:21,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Pass.h:32,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-multiversioning.cpp:15:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h: In instantiation of ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = std::pair<void*, long long unsigned int>; T2 = std::pair<void*, long long unsigned int>; T = std::pair<void*, long long unsigned int>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]’:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:276:23: required from ‘static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_move(It1, It1, It2) [with It1 = std::pair<void*, long long unsigned int>*; It2 = std::pair<void*, long long unsigned int>*; T = std::pair<void*, long long unsigned int>]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:834:3: required from ‘llvm::SmallVectorImpl<T>& llvm::SmallVectorImpl<T>::operator=(llvm::SmallVectorImpl<T>&&) [with T = std::pair<void*, long long unsigned int>]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:906:36: required from ‘llvm::SmallVector<T, N>::SmallVector(llvm::SmallVector<T, N>&&) [with T = std::pair<void*, long long unsigned int>; unsigned int N = 0]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/Allocator.h:159:43: required from ‘llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::BumpPtrAllocatorImpl(llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>&&) [with AllocatorT = llvm::MallocAllocator; long long unsigned int SlabSize = 4096; long long unsigned int SizeThreshold = 4096]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/LoopInfo.h:617:51: required from ‘llvm::LoopInfoBase<N, M>::LoopInfoBase(llvm::LoopInfoBase<N, M>&&) [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Analysis/LoopInfo.h:800:72: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:299:13: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<void*, long long unsigned int>’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
299 | memcpy(Dest, I, (E - I) * sizeof(T));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/utility:70,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/type_traits.h:19,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/Optional.h:22,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/STLExtras.h:20,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/StringRef.h:13,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Pass.h:32,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-multiversioning.cpp:15:
/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_pair.h:208:12: note: ‘struct std::pair<void*, long long unsigned int>’ declared here
208 | struct pair
| ^~~~
CC src/llvm-alloc-opt.o
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SetVector.h:23,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-alloc-opt.cpp:12:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Value*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-alloc-opt.cpp:715:62: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Value*>::Data’ from ‘std::initializer_list<llvm::Value*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
102 | : Data(Vec.begin() == Vec.end() ? (T*)nullptr : Vec.begin()),
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::AllocaInst*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-alloc-opt.cpp:1441:50: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::AllocaInst*>::Data’ from ‘std::initializer_list<llvm::AllocaInst*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h: In instantiation of ‘llvm::ArrayRef<T>::ArrayRef(const std::initializer_list<_Tp>&) [with T = llvm::Type*]’:
/cygdrive/c/development/julia_v1.3.1/src/llvm-alloc-opt.cpp:1469:90: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/ArrayRef.h:102:37: warning: initializing ‘llvm::ArrayRef<llvm::Type*>::Data’ from ‘std::initializer_list<llvm::Type*>::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
In file included from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallSet.h:19,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-alloc-opt.cpp:10:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<const llvm::DomTreeNodeBase<llvm::BasicBlock>*, __gnu_cxx::__normal_iterator<llvm::DomTreeNodeBase<llvm::BasicBlock>* const*, std::vector<llvm::DomTreeNodeBase<llvm::BasicBlock>*, std::allocator<llvm::DomTreeNodeBase<llvm::BasicBlock>*> > > >]’:
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/GenericDomTree.h:719:5: required from ‘void llvm::DominatorTreeBase<NodeT, IsPostDom>::updateDFSNumbers() const [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/GenericDomTree.h:445:7: required from ‘bool llvm::DominatorTreeBase<NodeT, IsPostDom>::dominates(const llvm::DomTreeNodeBase<NodeT>*, const llvm::DomTreeNodeBase<NodeT>*) const [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’
/cygdrive/c/development/julia_v1.3.1/src/llvm-alloc-opt.cpp:776:78: required from here
/cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallVector.h:312:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct std::pair<const llvm::DomTreeNodeBase<llvm::BasicBlock>*, __gnu_cxx::__normal_iterator<llvm::DomTreeNodeBase<llvm::BasicBlock>* const*, std::vector<llvm::DomTreeNodeBase<llvm::BasicBlock>*, std::allocator<llvm::DomTreeNodeBase<llvm::BasicBlock>*> > > >’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
312 | memcpy(this->end(), &Elt, sizeof(T));
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/utility:70,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/Support/type_traits.h:19,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallPtrSet.h:21,
from /cygdrive/c/development/julia_v1.3.1/usr/include/llvm/ADT/SmallSet.h:18,
from /cygdrive/c/development/julia_v1.3.1/src/llvm-alloc-opt.cpp:10:
/usr/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++/bits/stl_pair.h:208:12: note: ‘struct std::pair<const llvm::DomTreeNodeBase<llvm::BasicBlock>*, __gnu_cxx::__normal_iterator<llvm::DomTreeNodeBase<llvm::BasicBlock>* const*, std::vector<llvm::DomTreeNodeBase<llvm::BasicBlock>*, std::allocator<llvm::DomTreeNodeBase<llvm::BasicBlock>*> > > >’ declared here
208 | struct pair
| ^~~~
CC src/cgmemmgr.o
CC src/llvm-api.o
LINK usr/bin/libjulia.dll
CC ui/repl.o
LINK usr/bin/julia.exe
JULIA usr/lib/julia/corecompiler.ji
make[1]: *** [sysimage.mk:60: /cygdrive/c/development/julia_v1.3.1/usr/lib/julia/corecompiler.ji] Error 127
make: *** [Makefile:81: julia-sysimg-ji] Error 2
The text was updated successfully, but these errors were encountered:
After some trial and error, I found that cygwin doesn't have 8.x for all the gcc-xxxxx libraries selectable in their setup program, just 7.4.0-1 and 9.x. I moved the following packages down to 7.4.0-1 and now it looks like its working.
So I am building Julia 1.3.1 (tag v1.3.1) with a few flags in the
Make.user
file.I've built it before on Julia 0.7 and 1.0 and 1.1 and 1.3, but usually with older gcc versions (7.4 and 8.2). I'm setting it up on a new Windows machine to build Julia and the default version of gcc that comes with cygwin is now 9.3 or newer.
Note between failed builds, I scrub everything with:
The make errors out with 127 in line 60 of
sysimage.mk
Running
make -n
I get the following for the commands around there:Rerunning the individual command returns the 127. Seems like gcc is missing a file?
https://stackoverflow.com/questions/36365752/make-error-127-when-running-trying-to-compile-code/36368057
If I run the command without
--output-ji
it complains about nosys.dll
present.Any ideas of what should be done for gcc 9.3? Or is it just not supported yet, and the docs should just say something about sticking with gcc 8.x?
Here is the full output of the make session:
The text was updated successfully, but these errors were encountered: