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: unassignedclangb...@nondot.org
          Reporter: pku...@anongoth.pl
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to