[llvm-bugs] [Bug 43149] New: Regression(r369850): Several tests fail when building with gcc5.1, usually with Assertion `FeatureBitset({mode}) == (STI.getFeatureBits() & AllModes)' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 28 10:39:18 PDT 2019


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

            Bug ID: 43149
           Summary: Regression(r369850): Several tests fail when building
                    with gcc5.1, usually with Assertion
                    `FeatureBitset({mode}) == (STI.getFeatureBits() &
                    AllModes)' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses
          Assignee: unassignedbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvm-bugs at lists.llvm.org

When building with gcc5.1, these tests fail:

********************
Failing Tests (8):
    LLVM :: MC/AsmParser/dot-symbol-assignment.s
    LLVM :: MC/ELF/relocation-386.s
    LLVM :: MC/X86/AlignedBundling/bundle-subtarget-change-error.s
    LLVM :: MC/X86/address-size.s
    LLVM :: MC/X86/code16gcc.s
    LLVM :: MC/X86/fixup-cpu-mode.s
    LLVM :: MC/X86/intel-syntax-error.s
    LLVM :: MC/X86/x86-branch-relaxation.s


An example failure looks like this:

-- Testing: 46847 tests, 32 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: MC/AsmParser/dot-symbol-assignment.s (34461 of 46847)
******************** TEST 'LLVM :: MC/AsmParser/dot-symbol-assignment.s' FAILED
********************
Script:
--
: 'RUN: at line 1';  
/b/swarming/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/llvm-mc
-triple i386-unknown-unknown
/b/swarming/w/ir/cache/builder/src/third_party/llvm/llvm/test/MC/AsmParser/dot-symbol-assignment.s
| /b/swarming/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck
/b/swarming/w/ir/cache/builder/src/third_party/llvm/llvm/test/MC/AsmParser/dot-symbol-assignment.s
--
Exit Code: 2

Command Output (stderr):
--
llvm-mc:
/b/swarming/w/ir/cache/builder/src/third_party/llvm/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp:933:
void {anonymous}::X86AsmParser::SwitchMode(unsigned int): Assertion
`FeatureBitset({mode}) == (STI.getFeatureBits() & AllModes)' failed.
Stack dump:
0.      Program arguments:
/b/swarming/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/llvm-mc
-triple i386-unknown-unknown
/b/swarming/w/ir/cache/builder/src/third_party/llvm/llvm/test/MC/AsmParser/dot-symbol-assignment.s 
#0 0x00000000005577ed PrintStackTraceSignalHandler(void*)
(/b/swarming/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/llvm-mc+0x5577ed)
FileCheck error: '-' is empty.
FileCheck command line: 
/b/swarming/w/ir/cache/builder/src/third_party/llvm-bootstrap/bin/FileCheck
/b/swarming/w/ir/cache/builder/src/third_party/llvm/llvm/test/MC/AsmParser/dot-symbol-assignment.s


A full build log is at
https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8903903395454047440/+/steps/package_clang/0/stdout


With other host compilers, things are fine, but for 5.1 it looks like r369852
traded the gcc ICE for a gcc miscompile.

(We're going to switch the Chromium bots to 5.3 to get out of the "find all the
5.1 bugs" business, but here's a last bug report.)


See https://bugs.chromium.org/p/chromium/issues/detail?id=998569 for more
details.

-- 
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/20190828/db19dbf4/attachment.html>


More information about the llvm-bugs mailing list