[LLVMbugs] [Bug 23237] New: fatal error: error in backend: Cannot select: intrinsic %llvm.x86.sse2.mfence

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Apr 15 02:03:40 PDT 2015


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

            Bug ID: 23237
           Summary: fatal error: error in backend: Cannot select:
                    intrinsic %llvm.x86.sse2.mfence
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: paulepanter at users.sourceforge.net
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 14205
  --> https://llvm.org/bugs/attachment.cgi?id=14205&action=edit
Preprocessed source

Using Building a coreboot [1] firmware image for an AGESA board like the ASRock
E350M1, it fails with the following error.

Please note, that I needed to apply the patch with the work-around from bug
21538 [2] to get it past another error.

------ 8< ---- >8 ------
$ make
[…]
    CC         vendorcode/amd/agesa/f14/Lib/amdlib.libagesa.o
fatal error: error in backend: Cannot select: intrinsic %llvm.x86.sse2.mfence
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.7.0 (http://llvm.org/git/clang.git
111e330648f7da9910029bf4e1bc4547dbd8f43f) (http://llvm.org/git/llvm.git
058309ba87896d28a995118f5415011caa97cfbe)
Target: i386--linux-elf
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/amdlib-8ab3eb.c
clang: note: diagnostic msg: /tmp/amdlib-8ab3eb.sh
clang: note: diagnostic msg: 

********************
Makefile:250: recipe for target
'build/vendorcode/amd/agesa/f14/Lib/amdlib.libagesa.o' failed
make: *** [build/vendorcode/amd/agesa/f14/Lib/amdlib.libagesa.o] Error 70
------ 8< ---- >8 ------

Please find amdlib-8ab3eb.c attached.

[1] http://www.coreboot.org
[2] https://llvm.org/bugs/show_bug.cgi?id=21538

-- 
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/20150415/457f69e4/attachment.html>


More information about the llvm-bugs mailing list