[llvm-bugs] [Bug 47353] New: Using LTO on PowerPC generates broken binaries
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Aug 29 09:41:12 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47353
Bug ID: 47353
Summary: Using LTO on PowerPC generates broken binaries
Product: libraries
Version: 11.0
Hardware: Other
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: pkubaj at anongoth.pl
CC: llvm-bugs at lists.llvm.org, nemanja.i.ibm at gmail.com
FreeBSD head, LLVM 11.0.0-rc2, powerpc64 elfv2
FreeBSD uses GH BC as its bc implementation. It tries to build using -flto, but
it's disabled for powerpc64, because it generates a broken bc that segfaults at
start.
I also tried to build ffmpeg 4.3.1 with --enable-lto passed to configure. -flto
is passed properly and ffmpeg builds fine. I can also compile software that
links to ffmpeg libraries. However, running such software (e.g. mpv, or just
ffmpeg itself) leads to instant segfault.
Compiling such software with GCC mitigates this issue.
--
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/20200829/0ec1f03a/attachment.html>
More information about the llvm-bugs
mailing list