Sample Header Ad - 728x90

How to Build Latest HandBrake on linux with FDO (PGO) + LTO?

1 vote
2 answers
682 views
Passing CFLAGS and CXXFLAGS to a HandBrake build for the latest version (v1.3.3 at the time of this writing) will work until you add -flto which will **FAIL** the whole build. How to build HandBrake with LTO option -flto and as a stretch goal, with FDO as well (feedback directed optimisation aka FDO aka PGO)? Most of the codecs within HandBrake are developed with "hand-coded" assembly, so many assert that the compiler optimisation gains would not be that much. I would like to test and challenge that assertion!
Asked by DanglingPointer (262 rep)
Jun 23, 2021, 12:56 AM
Last activity: Aug 2, 2021, 12:52 AM