<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"Consolas\,";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">When we upped our ‘required compiler’ version we were VERY explicit about making sure we set our support matrix accordingly. All of those host compiler versions came after nearly a year of extended debates.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I WOULD expect it to compile with everything from 3.5 and newer, though I don’t know what buildbots we have in place to ensure that is the case.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I do note that this is a bit of a strange bug that I haven’t been able to minimally-reproduce on Godbolt. Presumably this
<a href="https://godbolt.org/z/xd1f4E">https://godbolt.org/z/xd1f4E</a> is a pretty close minimization of this, and it doesn’t reproduce. For some reason (despite the line-numbers matching what is in the LLVM 11.0 release), it doesn’t seem to be considering
line 100 of ValueEnumerator.h, the defaulted default constructor.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:#FFFFFE"><span style="color:black">Issam: Can you confirm that your copy of ValueEnumerator.h (</span><span style="color:black">/root/llvm-project-llvmorg-11.0.0/llvm/lib/Bitcode/Writer/ValueEnumerator.h) line 100 is
</span><span style="font-family:"Consolas,",serif;color:black"> MDRange() = </span><span style="font-family:"Consolas,",serif;color:blue">default</span><span style="font-family:"Consolas,",serif;color:black">;<o:p></o:p></span></p>
<p class="MsoNormal">?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As for bugs, you can go to bugs.llvm.org to report defects, though the signup has a manual process required by one of the admins due to spam.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> llvm-dev <llvm-dev-bounces@lists.llvm.org> <b>On Behalf Of
</b>Neil Nelson via llvm-dev<br>
<b>Sent:</b> Monday, October 26, 2020 11:42 AM<br>
<b>To:</b> llvm-dev@lists.llvm.org<br>
<b>Subject:</b> Re: [llvm-dev] Clang 3.9.1 fails to build LLVM 11.0.0<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p><span style="font-size:10.0pt">Not sure we would call that a bug. Looks more like a minor documentation change to a more recent clang version. I wonder which version that is.</span><o:p></o:p></p>
<p><span style="font-size:10.0pt">Neil Nelson</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">On 10/26/20 12:20 PM, Issam E. Maghni via llvm-dev wrote:</span><o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Hi folks. It’s my first time in this mailing list, and definitely not<o:p></o:p></pre>
<pre>the last :)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Recently, I’ve been into bootstrapping compilers. I’ve encountered<o:p></o:p></pre>
<pre>several issues, and will start with this one.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>The doc claims that Clang >= 3.5 is required to build LLVM 11.0.0 [1].<o:p></o:p></pre>
<pre>So I built LLVM+Clang 3.9.1, then tried to build LLVM 11.0.0. Doing so,<o:p></o:p></pre>
<pre>I faced this error:<o:p></o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>no matching constructor for initialization of<o:p></o:p></pre>
<pre>'llvm::ValueEnumerator::MDRange'<o:p></o:p></pre>
</blockquote>
<pre>(full log here [2])<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Don’t worry, I’ve done my job. For a minimal reproducible example, here<o:p></o:p></pre>
<pre>[3] is a script that you should execute on a new Debian 10 system, most<o:p></o:p></pre>
<pre>likely a VM.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>[1]<o:p></o:p></pre>
<pre><a href="https://releases.llvm.org/11.0.0/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library">https://releases.llvm.org/11.0.0/docs/GettingStarted.html#host-c-toolchain-both-compiler-and-standard-library</a><o:p></o:p></pre>
<pre>[2]<o:p></o:p></pre>
<pre><a href="https://gist.github.com/concatime/6b5b9bcbc91a74b2913234180a29c159#file-log-txt">https://gist.github.com/concatime/6b5b9bcbc91a74b2913234180a29c159#file-log-txt</a><o:p></o:p></pre>
<pre>[3]<o:p></o:p></pre>
<pre><a href="https://gist.github.com/concatime/6b5b9bcbc91a74b2913234180a29c159#file-build-sh">https://gist.github.com/concatime/6b5b9bcbc91a74b2913234180a29c159#file-build-sh</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Issam E.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>PS: a feedback too about how I report bugs would be awesome!<o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>LLVM Developers mailing list<o:p></o:p></pre>
<pre><a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><o:p></o:p></pre>
<pre><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><o:p></o:p></pre>
</blockquote>
</div>
</body>
</html>