[llvm-bugs] [Bug 43987] New: PowerPC64: clang crash during MySQL 5.6 compilation

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 13 03:00:20 PST 2019


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

            Bug ID: 43987
           Summary: PowerPC64: clang crash during MySQL 5.6 compilation
           Product: clang
           Version: 9.0
          Hardware: Other
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pkubaj at anongoth.pl
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 22805
  --> https://bugs.llvm.org/attachment.cgi?id=22805&action=edit
crash data

The following crash happens when compiling MySQL 5.6.45 on
FreeBSD/powerpc64-elfv2:
Wrong types for attribute: inalloca nest noalias nocapture nonnull readnone
readonly signext sret zeroext 
byval dereferenceable(1) dereferenceable_or_null(1)
  %call = call signext i32 @my_atomic_add32(i32* %9, %union.U_32 signext %10)
Wrong types for attribute: inalloca nest noalias nocapture nonnull readnone
readonly signext sret zeroext 
byval dereferenceable(1) dereferenceable_or_null(1)
  %call20 = call signext i32 @my_atomic_cas32(i32* %26, i32* %28, %union.U_32
signext %29)
in function _lf_pinbox_get_pins
fatal error: error in backend: Broken function found, compilation aborted!

Preprocessed source and the running script are attached.

-- 
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/20191113/6b84386a/attachment.html>


More information about the llvm-bugs mailing list