<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 - [ThinLTO] Missing vtable COMDAT symbol after r347948"
   href="https://bugs.llvm.org/show_bug.cgi?id=40414">40414</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[ThinLTO] Missing vtable COMDAT symbol after r347948
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </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>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>dmajor@mozilla.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, peter@pcc.me.uk, tejohnson@google.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>40331
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After r350948, a Win64 Firefox ThinLTO build fails with:

LLVM ERROR: Associative COMDAT symbol '??_7KeywordsSink@?A0x23271001@@6B@' does
not exist

(aka const `anonymous namespace'::KeywordsSink::`vftable')

Notably it started failing at r350948 and not r340949. I would have thought the
first patch of that pair was pretty innocuous.

Our flags do not include any of: -f[no]split-lto-unit, -fsanitize=cfi, or
-fwhole-program-vtables.

In case it's a clue, the KeywordsSink class is only used within a single
translation unit: <a href="https://searchfox.org/mozilla-central/search?q=KeywordsSink">https://searchfox.org/mozilla-central/search?q=KeywordsSink</a>

I'm requesting this to be an 8.0.0 blocker as this build config worked for us
in 7.0.1.

I can provide a linkrepro upon request though I'm not sure if that would be
sufficient to investigate this. Let me know if I can help with the debug
somehow. Thanks!</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [meta] 8.0.0 Release Blockers"
   href="https://bugs.llvm.org/show_bug.cgi?id=40331">Bug 40331</a>] [meta] 8.0.0 Release Blockers
              </li>
          </ul>
        </div>
        <br>

      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>