Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2018 22:18:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234232] clang Assertion failed when building the port devel/aws-checksums
Message-ID:  <bug-234232-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234232

            Bug ID: 234232
           Summary: clang Assertion failed when building the port
                    devel/aws-checksums
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: danilo@FreeBSD.org

Clang is segfaulting on CURRENT when building devel/aws-checksums.

It stops at this assertion:

Assertion failed: (i =3D=3D DstIdx || !MI->getOperand(i).isReg() ||
MI->getOperand(i).getReg() !=3D RegA), function processTiedPairs, file
/usr/src/contrib/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp, line 1544.

TwoAddressInstructionPass.cpp:1544.
#ifndef NDEBUG
    // First, verify that we don't have a use of "a" in the instruction
    // (a =3D b + a for example) because our transformation will not
    // work. This should never occur because we are in SSA form.
    for (unsigned i =3D 0; i !=3D MI->getNumOperands(); ++i)
      assert(i =3D=3D DstIdx ||
             !MI->getOperand(i).isReg() ||
             MI->getOperand(i).getReg() !=3D RegA);
#endif

The target file (source/intel/crc32c_sse42_asm.c) has a lot of assembly inl=
ine
code.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234232-227>