<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - No matching function for call to RegisterTarget"
href="https://bugs.llvm.org/show_bug.cgi?id=35382">35382</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>No matching function for call to RegisterTarget
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: AVR
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>laguest@archeia.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>