[llvm-bugs] [Bug 35382] New: No matching function for call to RegisterTarget
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Nov 22 06:49:56 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35382
Bug ID: 35382
Summary: No matching function for call to RegisterTarget
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AVR
Assignee: unassignedbugs at nondot.org
Reporter: laguest at archeia.com
CC: llvm-bugs at lists.llvm.org
FAILED:
lib/Target/AVR/TargetInfo/CMakeFiles/LLVMAVRInfo.dir/AVRTargetInfo.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++ -m32 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -Ilib/Target/AVR/TargetInfo
-I/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AVR/TargetInfo
-I/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AVR
-Ilib/Target/AVR -I/usr/include/libxml2 -Iinclude
-I/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/include
-Ilib/Target/AVR/TargetInfo/..
-I/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AVR/TargetInfo/..
-DNDEBUG -march=native -O2 -pipe -fPIC -fvisibility-inlines-hidden
-Werror=date-time -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings
-Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment
-ffunction-sections -fdata-sections -fPIC -MD -MT
lib/Target/AVR/TargetInfo/CMakeFiles/LLVMAVRInfo.dir/AVRTargetInfo.cpp.o -MF
lib/Target/AVR/TargetInfo/CMakeFiles/LLVMAVRInfo.dir/AVRTargetInfo.cpp.o.d -o
lib/Target/AVR/TargetInfo/CMakeFiles/LLVMAVRInfo.dir/AVRTargetInfo.cpp.o -c
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp:
In function ‘void LLVMInitializeAVRTargetInfo()’:
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp:21:72:
error: no matching function for call to
‘llvm::RegisterTarget<(llvm::Triple::ArchType)6u>::RegisterTarget(llvm::Target&,
const char [4], const char [26])’
"Atmel AVR Microcontroller");
^
In file included from
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp:11:0:
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/include/llvm/Support/TargetRegistry.h:898:3:
note: candidate: llvm::RegisterTarget<TargetArchType,
HasJIT>::RegisterTarget(llvm::Target&, const char*, const char*, const char*)
[with llvm::Triple::ArchType TargetArchType = (llvm::Triple::ArchType)6u; bool
HasJIT = false]
RegisterTarget(Target &T, const char *Name, const char *Desc,
^~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/include/llvm/Support/TargetRegistry.h:898:3:
note: candidate expects 4 arguments, 3 provided
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/include/llvm/Support/TargetRegistry.h:897:8:
note: candidate: constexpr
llvm::RegisterTarget<(llvm::Triple::ArchType)6u>::RegisterTarget(const
llvm::RegisterTarget<(llvm::Triple::ArchType)6u>&)
struct RegisterTarget {
^~~~~~~~~~~~~~
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/include/llvm/Support/TargetRegistry.h:897:8:
note: candidate expects 1 argument, 3 provided
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/include/llvm/Support/TargetRegistry.h:897:8:
note: candidate: constexpr
llvm::RegisterTarget<(llvm::Triple::ArchType)6u>::RegisterTarget(llvm::RegisterTarget<(llvm::Triple::ArchType)6u>&&)
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/include/llvm/Support/TargetRegistry.h:897:8:
note: candidate expects 1 argument, 3 provided
[1395/2623] cd
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86 &&
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/bin/llvm-tblgen
-gen-asm-writer -I
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/X86 -I
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/include -I
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/X86/X86.td -o
lib/Target/X86/X86GenAsmWriter.inc.tmp -d lib/Target/X86/X86GenAsmWriter.inc.d
[1396/2623] cd
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86 &&
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999-abi_x86_32.x86/bin/llvm-tblgen
-gen-asm-writer -asmwriternum=1 -I
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/X86 -I
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/include -I
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target
/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/X86/X86.td -o
lib/Target/X86/X86GenAsmWriter1.inc.tmp -d
lib/Target/X86/X86GenAsmWriter1.inc.d
--
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/20171122/46556be5/attachment.html>
More information about the llvm-bugs
mailing list