[Bug 2138577] Re: pcsx2: FTBFS with LTO enabled

Launchpad Bug Tracker 2138577 at bugs.launchpad.net
Sun Jan 18 17:39:17 UTC 2026


This bug was fixed in the package lto-disabled-list - 75

---------------
lto-disabled-list (75) resolute; urgency=medium

  * Add pcsx2 to avoid FTBFS (LP: #2138577)

 -- Graham Inggs <ginggs at ubuntu.com>  Sun, 18 Jan 2026 13:46:45 +0000

** Changed in: lto-disabled-list (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lto-disabled-list in Ubuntu.
https://bugs.launchpad.net/bugs/2138577

Title:
  pcsx2: FTBFS with LTO enabled

Status in lto-disabled-list package in Ubuntu:
  Fix Released
Status in pcsx2 package in Ubuntu:
  New

Bug description:
  pcsx2 2.4.0+dfsg-2 FTBFS in resolute:

      inlined from ‘copy_to_arena’ at /usr/src/pcsx2-2.4.0+dfsg-2/3rdparty/rapidyaml/include/c4/yml/tree.hpp:1133:19,
      inlined from ‘parse_in_arena’ at /usr/src/pcsx2-2.4.0+dfsg-2/3rdparty/rapidyaml/include/c4/yml/parse.hpp:233:37,
      inlined from ‘parse_in_arena’ at /usr/src/pcsx2-2.4.0+dfsg-2/3rdparty/rapidyaml/include/c4/yml/parse.hpp:707:137:
  /usr/include/x86_64-linux-gnu/bits/string_fortified.h:29:33: warning: ‘__builtin_memcpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
     29 |   return __builtin___memcpy_chk (__dest, __src, __len,
        |                                 ^
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans61.ltrans.o: in function `intSafeExitExecution() [clone .lto_priv.0]':
  /usr/src/pcsx2-2.4.0+dfsg-2/pcsx2/Interpreter.cpp:575:(.text+0x1bf): undefined reference to `fastjmp_jmp'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans61.ltrans.o: in function `intCancelInstruction() [clone .lto_priv.0]':
  /usr/src/pcsx2-2.4.0+dfsg-2/pcsx2/Interpreter.cpp:582:(.text+0x1e2): undefined reference to `fastjmp_jmp'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans61.ltrans.o: in function `intExecute() [clone .lto_priv.0]':
  /usr/src/pcsx2-2.4.0+dfsg-2/pcsx2/Interpreter.cpp:589:(.text+0x21d): undefined reference to `fastjmp_set'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans61.ltrans.o: in function `intEventTest() [clone .part.0] [clone .lto_priv.0]':
  /usr/src/pcsx2-2.4.0+dfsg-2/pcsx2/Interpreter.cpp:561:(.text+0x12c5): undefined reference to `fastjmp_jmp'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans92.ltrans.o: in function `recExitExecution()':
  /usr/src/pcsx2-2.4.0+dfsg-2/pcsx2/x86/ix86-32/iR5900.cpp:626:(.text+0x1ad1): undefined reference to `fastjmp_jmp'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans92.ltrans.o: in function `recExecute() [clone .lto_priv.0]':
  /usr/src/pcsx2-2.4.0+dfsg-2/pcsx2/x86/ix86-32/iR5900.cpp:685:(.text+0x1af9): undefined reference to `fastjmp_set'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans121.ltrans.o: in function `(anonymous namespace)::JPEGErrorHandler::ErrorExit(jpeg_common_struct*) [clone .lto_priv.0]':
  /usr/src/pcsx2-2.4.0+dfsg-2/common/Image.cpp:401:(.text+0xf2d5): undefined reference to `fastjmp_jmp'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans122.ltrans.o: in function `bool WrapJPEGCompress<JPEGBufferSaver(RGBA8Image const&, std::vector<unsigned char, std::allocator<unsigned char> >*, unsigned char)::{lambda(jpeg_compress_struct&)#1}>(RGBA8Image const&, unsigned char, JPEGBufferSaver(RGBA8Image const&, std::vector<unsigned char, std::allocator<unsigned char> >*, unsigned char)::{lambda(jpeg_compress_struct&)#1})':
  /usr/src/pcsx2-2.4.0+dfsg-2/common/Image.cpp:551:(.text+0x1fc6): undefined reference to `fastjmp_set'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans122.ltrans.o: in function `bool WrapJPEGCompress<JPEGFileSaver(RGBA8Image const&, char const*, _IO_FILE*, unsigned char)::{lambda(jpeg_compress_struct&)#1}>(RGBA8Image const&, unsigned char, JPEGFileSaver(RGBA8Image const&, char const*, _IO_FILE*, unsigned char)::{lambda(jpeg_compress_struct&)#1})':
  /usr/src/pcsx2-2.4.0+dfsg-2/common/Image.cpp:551:(.text+0x22f6): undefined reference to `fastjmp_set'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans122.ltrans.o: in function `bool WrapJPEGDecompress<JPEGBufferLoader(RGBA8Image*, void const*, unsigned long)::{lambda(jpeg_decompress_struct&)#1}>(RGBA8Image*, JPEGBufferLoader(RGBA8Image*, void const*, unsigned long)::{lambda(jpeg_decompress_struct&)#1}) [clone .lto_priv.0]':
  /usr/src/pcsx2-2.4.0+dfsg-2/common/Image.cpp:415:(.text+0x4f7a): undefined reference to `fastjmp_set'
  /usr/bin/ld: /tmp/ccFcGxrV.ltrans122.ltrans.o: in function `bool WrapJPEGDecompress<JPEGFileLoader(RGBA8Image*, char const*, _IO_FILE*)::{lambda(jpeg_decompress_struct&)#1}>(RGBA8Image*, JPEGFileLoader(RGBA8Image*, char const*, _IO_FILE*)::{lambda(jpeg_decompress_struct&)#1}) [clone .lto_priv.0]':
  /usr/src/pcsx2-2.4.0+dfsg-2/common/Image.cpp:415:(.text+0x5385): undefined reference to `fastjmp_set'
  collect2: error: ld returned 1 exit status

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lto-disabled-list/+bug/2138577/+subscriptions




More information about the foundations-bugs mailing list