You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.git058309b)
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:
I suspect this occured because mmx was disabled which used to automaticall disable SSE. That was fixed in r249733. That looks to be after 3.7 released.
Extended Description
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 058309b)
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
The text was updated successfully, but these errors were encountered: