[Scummvm-tracker] [ScummVM :: Bugs] #16301: LTO build is broken

ScummVM :: Bugs trac at scummvm.org
Sat Oct 18 17:43:33 UTC 2025


#16301: LTO build is broken
--------------------------+-----------------------
Reporter:  FabioPedretti  |      Owner:  (none)
    Type:  defect         |     Status:  new
Priority:  normal         |  Component:  --Unset--
 Version:                 |   Keywords:
    Game:                 |
--------------------------+-----------------------
 When building 2.9.1 with LTO (gcc Link Time Optimization), the resulting
 binary has 1 failure:

 {{{
 Running 441
 tests........................................................................................................................................
 In MemoryTestSuite::test_memset16:
 ./test/common/memory.h:15: Error: Expected (memcmp(expected, step1,
 sizeof(expected)) == 0), found (-1 != 0)
 ................................................................................................................................................................................................................................................................................................................
 Failed 1 of 441 tests
 }}}

 Full build log at: https://launchpadlibrarian.net/825355013
 /buildlog_ubuntu-resolute-amd64.scummvm_2.9.1+dfsg-1+lto~r_BUILDING.txt.gz

 See also this gentoo bug: https://bugs.gentoo.org/858731
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16301>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list