Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found host D compiler /usr/bin/dmd, with default flags ''
-- Host D compiler ID: DigitalMars
-- Host D compiler version: DMD64 D Compiler v2.095.0
-- Host D compiler front-end version: 2095
-- LLVM_NATIVE_ARCH: X86
-- Found LLVM: /usr (found suitable version "12.0.0", minimum required is "6.0")
-- Could not find mlir-tblgen. Try manually setting MLIR_ROOT_DIR or MLIR_TABLEGEN.
-- Building LDC with MLIR support: OFF
-- Building with SPIR-V support
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- LDC version identifier: 1.25.0-git-b22d6b5-dirty
-- Building LDC with dynamic compilation support: ON (LDC_DYNAMIC_COMPILE=ON)
-- Building LDC with integrated LLD: OFF (LDC_WITH_LLD=OFF)
-- Performing Test LINKER_ACCEPTS_EXPORT_DYNAMIC_FLAG
-- Performing Test LINKER_ACCEPTS_EXPORT_DYNAMIC_FLAG - Success
-- Building LDC with plugin support: ON (LDC_ENABLE_PLUGINS=ON)
-- Host D compiler linker program: /usr/bin/cc
-- Host D compiler linker flags: -m64;-Xlinker;--export-dynamic;-L/usr/lib;-Xlinker;-Bstatic;-lphobos2;-Xlinker;-Bdynamic;-lpthread;-lm;-lrt;-ldl
-- Looking for _SC_ARG_MAX
-- Looking for _SC_ARG_MAX - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Using path for Intrinsics.td: /usr/include
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Use custom passes in jit: ON
-- Performing Test LINKER_ACCEPTS_EXCLUDE_LIBS_ALL
-- Performing Test LINKER_ACCEPTS_EXCLUDE_LIBS_ALL - Success
-- GDB 10.1 detected
-- Configuring done
-- Generating done
-- Build files have been written to: /home/solaraquarion/ldc-git/src/ldc/build
Scanning dependencies of target LDCShared
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/aa.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-aarch64.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-arm.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-mips64.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-nvptx.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-ppc.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-ppc64le.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-spirv.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-win64.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-x86-64.cpp.o
/home/solaraquarion/ldc-git/src/ldc/gen/abi-x86-64.cpp: In member function ‘{anonymous}::RegCount& X86_64TargetABI::getRegCount(IrFuncTy&)’:
/home/solaraquarion/ldc-git/src/ldc/gen/abi-x86-64.cpp:179:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
179 | return reinterpret_cast<RegCount &>(fty.tag);
| ~~~~^~~
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-x86.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/arrays.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/asm-gcc.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/asmstmt.cpp.o
In file included from /home/solaraquarion/ldc-git/src/ldc/gen/asmstmt.cpp:72:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘void AsmParserx8632::AsmProcessor::doInstruction()’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2194:41: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8632::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2194 | memset(operands, 0, sizeof(operands));
| ^
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2017:10: note: ‘struct AsmParserx8632::AsmProcessor::Operand’ declared here
2017 | struct Operand {
| ^~~~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘void AsmParserx8632::AsmProcessor::doData()’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:3917:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3917 | insnTemplate << reinterpret_cast<const d_uns32 &>(value);
| ^~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:3920:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3920 | insnTemplate << reinterpret_cast<const d_uns64 &>(value);
| ^~~~~
In file included from /home/solaraquarion/ldc-git/src/ldc/gen/asmstmt.cpp:74:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘void AsmParserx8664::AsmProcessor::doInstruction()’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2194:41: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8664::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2194 | memset(operands, 0, sizeof(operands));
| ^
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2017:10: note: ‘struct AsmParserx8664::AsmProcessor::Operand’ declared here
2017 | struct Operand {
| ^~~~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘bool AsmParserx8664::AsmProcessor::formatInstruction(int, AsmCode*)’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2605:42: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8664::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2605 | memset(operands, 0, sizeof(Operand));
| ^
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2017:10: note: ‘struct AsmParserx8664::AsmProcessor::Operand’ declared here
2017 | struct Operand {
| ^~~~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘void AsmParserx8664::AsmProcessor::doData()’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:3917:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3917 | insnTemplate << reinterpret_cast<const d_uns32 &>(value);
| ^~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:3920:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3920 | insnTemplate << reinterpret_cast<const d_uns64 &>(value);
| ^~~~~
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/attributes.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/binops.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/cl_helpers.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/classes.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/complex.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/coverage.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/ctfloat.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/druntime.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/target.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/targetCUDA.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/targetOCL.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/declarations.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dibuilder.cpp.o
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp: In member function ‘void ldc::DIBuilder::Declare(const Loc&, llvm::Value*, ldc::DILocalVariable, ldc::DIExpression)’:
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:197:72: error: no matching function for call to ‘llvm::DebugLoc::get(const unsigned int&, unsigned int, ldc::DIScope)’
197 | llvm::DebugLoc::get(loc.linnum, getColumn(loc), GetCurrentScope());
| ^
In file included from /usr/include/llvm/IR/Instruction.h:22,
from /usr/include/llvm/IR/BasicBlock.h:22,
from /usr/include/llvm/IR/Function.h:27,
from /usr/include/llvm/IR/IntrinsicInst.h:29,
from /home/solaraquarion/ldc-git/src/ldc/./gen/llvm.h:23,
from /home/solaraquarion/ldc-git/src/ldc/./gen/attributes.h:12,
from /home/solaraquarion/ldc-git/src/ldc/./gen/tollvm.h:22,
from /home/solaraquarion/ldc-git/src/ldc/./gen/dibuilder.h:12,
from /home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:10:
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate: ‘llvm::DILocation* llvm::DebugLoc::get() const’
54 | DILocation *get() const;
| ^~~
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate expects 0 arguments, 3 provided
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp: In member function ‘void ldc::DIBuilder::SetValue(const Loc&, llvm::Value*, ldc::DILocalVariable, ldc::DIExpression)’:
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:205:72: error: no matching function for call to ‘llvm::DebugLoc::get(const unsigned int&, unsigned int, ldc::DIScope)’
205 | llvm::DebugLoc::get(loc.linnum, getColumn(loc), GetCurrentScope());
| ^
In file included from /usr/include/llvm/IR/Instruction.h:22,
from /usr/include/llvm/IR/BasicBlock.h:22,
from /usr/include/llvm/IR/Function.h:27,
from /usr/include/llvm/IR/IntrinsicInst.h:29,
from /home/solaraquarion/ldc-git/src/ldc/./gen/llvm.h:23,
from /home/solaraquarion/ldc-git/src/ldc/./gen/attributes.h:12,
from /home/solaraquarion/ldc-git/src/ldc/./gen/tollvm.h:22,
from /home/solaraquarion/ldc-git/src/ldc/./gen/dibuilder.h:12,
from /home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:10:
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate: ‘llvm::DILocation* llvm::DebugLoc::get() const’
54 | DILocation *get() const;
| ^~~
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate expects 0 arguments, 3 provided
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp: In member function ‘void ldc::DIBuilder::EmitStopPoint(const Loc&)’:
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:1206:57: error: no matching function for call to ‘llvm::DebugLoc::get(unsigned int&, unsigned int&, ldc::DIScope)’
1206 | llvm::DebugLoc::get(linnum, col, GetCurrentScope()));
| ^
In file included from /usr/include/llvm/IR/Instruction.h:22,
from /usr/include/llvm/IR/BasicBlock.h:22,
from /usr/include/llvm/IR/Function.h:27,
from /usr/include/llvm/IR/IntrinsicInst.h:29,
from /home/solaraquarion/ldc-git/src/ldc/./gen/llvm.h:23,
from /home/solaraquarion/ldc-git/src/ldc/./gen/attributes.h:12,
from /home/solaraquarion/ldc-git/src/ldc/./gen/tollvm.h:22,
from /home/solaraquarion/ldc-git/src/ldc/./gen/dibuilder.h:12,
from /home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:10:
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate: ‘llvm::DILocation* llvm::DebugLoc::get() const’
54 | DILocation *get() const;
| ^~~
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate expects 0 arguments, 3 provided
make[2]: *** [CMakeFiles/LDCShared.dir/build.make:433: CMakeFiles/LDCShared.dir/gen/dibuilder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:368: CMakeFiles/LDCShared.dir/all] Error 2
make: *** [Makefile:182: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
   ~/ldc-git  on   main ?8  ma  4 ✘  took 1m 24s   at 05:44:47 PM 
-- external command --
mac2unix macedit machinectl macpack
macptopbm mactime mag magician
magick Magick++-config MagickCore-config magick-script
MagickWand-config magnet-link mail Mail
mailmail mailmail3 mailnag mailnag-config
mailspring mailsync mailx make
make2graph make4ht makealias makecert
makechrootpkg makeconv makedb makedepend
make_f2fs make_f2fs_casefold makefile2graph makeg
makeindex makeinfo makeinstancesufo makejvf
makemhr makeotf makeotfexe makepage
makepkg makepkg-template makepkgx makerepropkg
makeskel makeskel.rsj make_strings make_torrent
make_tpl_varnames_h make_utts make_wagon_desc mako
makoctl mako-render MAL malcontent-client
malcontent-control man man2pdf mandb
mandelbrot manga mangohud manifest
manpath man-recode manweb manywin
map mapd mapscrn mapster32
marble marco marco-compton marco-message
marco-no-composite marco-theme-viewer marco-window-demo mariabackup
mariadb mariadb-access mariadb-admin mariadb-backup
mariadb-binlog mariadb-check mariadb-client-test mariadb-client-test-embedded
mariadb-config mariadb_config mariadb-conv mariadb-convert-table-format
mariadbd mariadbd-multi mariadbd-safe mariadbd-safe-helper
mariadb-dump mariadb-dumpslow mariadb-embedded mariadb-find-rows
mariadb-fix-extensions mariadb-hotcopy mariadb-import mariadb-install-db
mariadb-ldb mariadb-plugin mariadb-secure-installation mariadb-service-convert
   ~/ldc-git  on   main ?8  makepkg -rsciC  4 ✘  took 1m 24s   at 05:44:47 PM 
==> Making package: ldc-git 1:v1.25.0.beta1.14.gb22d6b5f7-1 (Mon 08 Feb 2021 06:27:58 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating ldc git repo...
Fetching origin
-> Updating druntime git repo...
Fetching origin
-> Updating phobos git repo...
Fetching origin
-> Updating dmd-testsuite git repo...
Fetching origin
-> Found ldc2.conf
==> Validating source files with sha256sums...
ldc ... Skipped
druntime ... Skipped
phobos ... Skipped
dmd-testsuite ... Skipped
ldc2.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of ldc git repo...
Cloning into 'ldc'...
done.
-> Creating working copy of druntime git repo...
Cloning into 'druntime'...
done.
-> Creating working copy of phobos git repo...
Cloning into 'phobos'...
done.
-> Creating working copy of dmd-testsuite git repo...
Cloning into 'dmd-testsuite'...
done.
==> Starting prepare()...
Submodule 'druntime' (https://github.com/ldc-developers/druntime.git) registered for path 'runtime/druntime'
Submodule 'phobos' (https://github.com/ldc-developers/phobos.git) registered for path 'runtime/phobos'
Submodule 'tests/d2/dmd-testsuite' (https://github.com/ldc-developers/dmd-testsuite.git) registered for path 'tests/d2/dmd-testsuite'
Cloning into '/home/solaraquarion/ldc-git/src/ldc/runtime/druntime'...
done.
Cloning into '/home/solaraquarion/ldc-git/src/ldc/runtime/phobos'...
done.
Cloning into '/home/solaraquarion/ldc-git/src/ldc/tests/d2/dmd-testsuite'...
done.
Submodule path 'runtime/druntime': checked out '0d1a13f3680b3b53569bc9551e81274197831861'
Submodule path 'runtime/phobos': checked out 'a943459368511a0e022925d5599033d175bb00ba'
Submodule path 'tests/d2/dmd-testsuite': checked out '9220134b11f00db856f40f1fbd0c5a5de6ec9409'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found host D compiler /usr/bin/dmd, with default flags ''
-- Host D compiler ID: DigitalMars
-- Host D compiler version: DMD64 D Compiler v2.095.0
-- Host D compiler front-end version: 2095
-- LLVM_NATIVE_ARCH: X86
-- Found LLVM: /usr (found suitable version "12.0.0", minimum required is "6.0")
-- Could not find mlir-tblgen. Try manually setting MLIR_ROOT_DIR or MLIR_TABLEGEN.
-- Building LDC with MLIR support: OFF
-- Building with SPIR-V support
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- LDC version identifier: 1.25.0-git-b22d6b5-dirty
-- Building LDC with dynamic compilation support: ON (LDC_DYNAMIC_COMPILE=ON)
-- Building LDC with integrated LLD: OFF (LDC_WITH_LLD=OFF)
-- Performing Test LINKER_ACCEPTS_EXPORT_DYNAMIC_FLAG
-- Performing Test LINKER_ACCEPTS_EXPORT_DYNAMIC_FLAG - Success
-- Building LDC with plugin support: ON (LDC_ENABLE_PLUGINS=ON)
-- Host D compiler linker program: /usr/bin/cc
-- Host D compiler linker flags: -m64;-Xlinker;--export-dynamic;-L/usr/lib;-Xlinker;-Bstatic;-lphobos2;-Xlinker;-Bdynamic;-lpthread;-lm;-lrt;-ldl
-- Looking for _SC_ARG_MAX
-- Looking for _SC_ARG_MAX - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of void*
-- Check size of void* - done
-- Using path for Intrinsics.td: /usr/include
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Use custom passes in jit: ON
-- Performing Test LINKER_ACCEPTS_EXCLUDE_LIBS_ALL
-- Performing Test LINKER_ACCEPTS_EXCLUDE_LIBS_ALL - Success
-- GDB 10.1 detected
-- Configuring done
-- Generating done
-- Build files have been written to: /home/solaraquarion/ldc-git/src/ldc/build
Scanning dependencies of target LDCShared
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/aa.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-aarch64.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-arm.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-mips64.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-nvptx.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-ppc.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-ppc64le.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-spirv.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-win64.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-x86-64.cpp.o
/home/solaraquarion/ldc-git/src/ldc/gen/abi-x86-64.cpp: In member function ‘{anonymous}::RegCount& X86_64TargetABI::getRegCount(IrFuncTy&)’:
/home/solaraquarion/ldc-git/src/ldc/gen/abi-x86-64.cpp:179:45: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
179 | return reinterpret_cast<RegCount &>(fty.tag);
| ~~~~^~~
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-x86.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/arrays.cpp.o
[ 0%] Building CXX object CMakeFiles/LDCShared.dir/gen/asm-gcc.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/asmstmt.cpp.o
In file included from /home/solaraquarion/ldc-git/src/ldc/gen/asmstmt.cpp:72:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘void AsmParserx8632::AsmProcessor::doInstruction()’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2194:41: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8632::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2194 | memset(operands, 0, sizeof(operands));
| ^
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2017:10: note: ‘struct AsmParserx8632::AsmProcessor::Operand’ declared here
2017 | struct Operand {
| ^~~~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘void AsmParserx8632::AsmProcessor::doData()’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:3917:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3917 | insnTemplate << reinterpret_cast<const d_uns32 &>(value);
| ^~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:3920:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3920 | insnTemplate << reinterpret_cast<const d_uns64 &>(value);
| ^~~~~
In file included from /home/solaraquarion/ldc-git/src/ldc/gen/asmstmt.cpp:74:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘void AsmParserx8664::AsmProcessor::doInstruction()’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2194:41: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8664::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2194 | memset(operands, 0, sizeof(operands));
| ^
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2017:10: note: ‘struct AsmParserx8664::AsmProcessor::Operand’ declared here
2017 | struct Operand {
| ^~~~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘bool AsmParserx8664::AsmProcessor::formatInstruction(int, AsmCode*)’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2605:42: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct AsmParserx8664::AsmProcessor::Operand’ with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
2605 | memset(operands, 0, sizeof(Operand));
| ^
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:2017:10: note: ‘struct AsmParserx8664::AsmProcessor::Operand’ declared here
2017 | struct Operand {
| ^~~~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h: In member function ‘void AsmParserx8664::AsmProcessor::doData()’:
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:3917:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3917 | insnTemplate << reinterpret_cast<const d_uns32 &>(value);
| ^~~~~
/home/solaraquarion/ldc-git/src/ldc/gen/asm-x86.h:3920:63: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
3920 | insnTemplate << reinterpret_cast<const d_uns64 &>(value);
| ^~~~~
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/attributes.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/binops.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/cl_helpers.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/classes.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/complex.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/coverage.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/ctfloat.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/druntime.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/target.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/targetCUDA.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dcompute/targetOCL.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/declarations.cpp.o
[ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/dibuilder.cpp.o
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp: In member function ‘void ldc::DIBuilder::Declare(const Loc&, llvm::Value*, ldc::DILocalVariable, ldc::DIExpression)’:
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:197:72: error: no matching function for call to ‘llvm::DebugLoc::get(const unsigned int&, unsigned int, ldc::DIScope)’
197 | llvm::DebugLoc::get(loc.linnum, getColumn(loc), GetCurrentScope());
| ^
In file included from /usr/include/llvm/IR/Instruction.h:22,
from /usr/include/llvm/IR/BasicBlock.h:22,
from /usr/include/llvm/IR/Function.h:27,
from /usr/include/llvm/IR/IntrinsicInst.h:29,
from /home/solaraquarion/ldc-git/src/ldc/./gen/llvm.h:23,
from /home/solaraquarion/ldc-git/src/ldc/./gen/attributes.h:12,
from /home/solaraquarion/ldc-git/src/ldc/./gen/tollvm.h:22,
from /home/solaraquarion/ldc-git/src/ldc/./gen/dibuilder.h:12,
from /home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:10:
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate: ‘llvm::DILocation* llvm::DebugLoc::get() const’
54 | DILocation *get() const;
| ^~~
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate expects 0 arguments, 3 provided
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp: In member function ‘void ldc::DIBuilder::SetValue(const Loc&, llvm::Value*, ldc::DILocalVariable, ldc::DIExpression)’:
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:205:72: error: no matching function for call to ‘llvm::DebugLoc::get(const unsigned int&, unsigned int, ldc::DIScope)’
205 | llvm::DebugLoc::get(loc.linnum, getColumn(loc), GetCurrentScope());
| ^
In file included from /usr/include/llvm/IR/Instruction.h:22,
from /usr/include/llvm/IR/BasicBlock.h:22,
from /usr/include/llvm/IR/Function.h:27,
from /usr/include/llvm/IR/IntrinsicInst.h:29,
from /home/solaraquarion/ldc-git/src/ldc/./gen/llvm.h:23,
from /home/solaraquarion/ldc-git/src/ldc/./gen/attributes.h:12,
from /home/solaraquarion/ldc-git/src/ldc/./gen/tollvm.h:22,
from /home/solaraquarion/ldc-git/src/ldc/./gen/dibuilder.h:12,
from /home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:10:
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate: ‘llvm::DILocation* llvm::DebugLoc::get() const’
54 | DILocation *get() const;
| ^~~
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate expects 0 arguments, 3 provided
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp: In member function ‘void ldc::DIBuilder::EmitStopPoint(const Loc&)’:
/home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:1206:57: error: no matching function for call to ‘llvm::DebugLoc::get(unsigned int&, unsigned int&, ldc::DIScope)’
1206 | llvm::DebugLoc::get(linnum, col, GetCurrentScope()));
| ^
In file included from /usr/include/llvm/IR/Instruction.h:22,
from /usr/include/llvm/IR/BasicBlock.h:22,
from /usr/include/llvm/IR/Function.h:27,
from /usr/include/llvm/IR/IntrinsicInst.h:29,
from /home/solaraquarion/ldc-git/src/ldc/./gen/llvm.h:23,
from /home/solaraquarion/ldc-git/src/ldc/./gen/attributes.h:12,
from /home/solaraquarion/ldc-git/src/ldc/./gen/tollvm.h:22,
from /home/solaraquarion/ldc-git/src/ldc/./gen/dibuilder.h:12,
from /home/solaraquarion/ldc-git/src/ldc/gen/dibuilder.cpp:10:
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate: ‘llvm::DILocation* llvm::DebugLoc::get() const’
54 | DILocation *get() const;
| ^~~
/usr/include/llvm/IR/DebugLoc.h:54:17: note: candidate expects 0 arguments, 3 provided
make[2]: *** [CMakeFiles/LDCShared.dir/build.make:433: CMakeFiles/LDCShared.dir/gen/dibuilder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:368: CMakeFiles/LDCShared.dir/all] Error 2
make: *** [Makefile:182: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment