[llvm-bugs] [Bug 40414] New: [ThinLTO] Missing vtable COMDAT symbol after r347948

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 22 12:49:43 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=40414

            Bug ID: 40414
           Summary: [ThinLTO] Missing vtable COMDAT symbol after r347948
           Product: new-bugs
           Version: 7.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: dmajor at mozilla.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    peter at pcc.me.uk, tejohnson at google.com
            Blocks: 40331

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: https://searchfox.org/mozilla-central/search?q=KeywordsSink

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!


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=40331
[Bug 40331] [meta] 8.0.0 Release Blockers
-- 
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/20190122/cc2252bc/attachment.html>


More information about the llvm-bugs mailing list