[llvm-bugs] [Bug 30438] New: lld build failure with GCC
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Sep 18 08:38:39 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30438
Bug ID: 30438
Summary: lld build failure with GCC
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: willdtz at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
~~/llvm/tools/lld/ELF/LinkerScript.cpp: In member function 'void
lld::elf::LinkerScript<ELFT>::assignOffsets(lld::elf::OutputSectionCommand*)':
~~/llvm/tools/lld/ELF/LinkerScript.cpp:450:8: error: inconsistent deduction for
'auto': 'auto' and then
'__gnu_cxx::__normal_iterator<std::unique_ptr<lld::elf::BaseCommand>*,
std::vector<std::unique_ptr<lld::elf::BaseCommand> > >'
for (auto I = E, E = Cmd->Commands.end(); I != E; ++I)
^~~~
When building lld with GCC 6.2.0.
Relevant line:
https://github.com/llvm-mirror/lld/blob/master/ELF/LinkerScript.cpp#L450
While I'm curious as to why exactly GCC is unhappy here (and whether it's
"right" to reject it), it seems worth fixing anyway :).
--
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/20160918/c7626612/attachment.html>
More information about the llvm-bugs
mailing list