Closed
Bug 772112
Opened 13 years ago
Closed 9 years ago
libvpx encoder fails to build with clang lto
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
backlog | tech-debt |
People
(Reporter: jcranmer, Unassigned)
Details
The libvpx encoder uses (effectively) a $(CC) -S | grep to find symbols for its asm files to compile. When using clang lto, $(CC) -S produces an LLVM IR file instead of an x86 assembly file, causing the compile to break.
Comment 1•13 years ago
|
||
(In reply to Joshua Cranmer [:jcranmer] from comment #0)
> The libvpx encoder uses (effectively) a $(CC) -S | grep to find symbols for
> its asm files to compile. When using clang lto, $(CC) -S produces an LLVM IR
> file instead of an x86 assembly file, causing the compile to break.
So, the simplest solution is probably to disable lto when building those files. We had to do a similar thing for MSVC (see bug 771588). Do you want to try to put together a patch for that?
Updated•10 years ago
|
Component: Audio/Video → WebRTC
Comment 3•10 years ago
|
||
This particular feature was removed from libvpx. I believe this is obsolete.
Updated•8 years ago
|
Flags: needinfo?(giles)
You need to log in
before you can comment on or make changes to this bug.
Description
•