ld.lld: error: undefined symbol: brl_inflateInit2_ >>> referenced by zlib_indexed.h:236 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/zlib_indexed.h:236) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.GzippedFileReader.cpp.o:(GzippedFileReader::Open2(std::__cxx11::basic_string, std::allocator>, Error*)) >>> referenced by CsoFileReader.cpp:169 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/CsoFileReader.cpp:169) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.CsoFileReader.cpp.o:(CsoFileReader::Open2(std::__cxx11::basic_string, std::allocator>, Error*)) >>> referenced by zlib_indexed.h:401 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/zlib_indexed.h:401) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.GzippedFileReader.cpp.o:(GzippedFileReader::ReadChunk(void*, long)) >>> referenced 6 more times ld.lld: error: undefined symbol: brl_inflate >>> referenced by zlib_indexed.h:276 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/zlib_indexed.h:276) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.GzippedFileReader.cpp.o:(GzippedFileReader::Open2(std::__cxx11::basic_string, std::allocator>, Error*)) >>> referenced by zlib_indexed.h:467 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/zlib_indexed.h:467) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.GzippedFileReader.cpp.o:(GzippedFileReader::ReadChunk(void*, long)) >>> referenced by CsoFileReader.cpp:298 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/CsoFileReader.cpp:298) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.CsoFileReader.cpp.o:(CsoFileReader::ReadChunk(void*, long)) >>> referenced 6 more times ld.lld: error: undefined symbol: brl_inflateEnd >>> referenced by zlib_indexed.h:332 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/zlib_indexed.h:332) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.GzippedFileReader.cpp.o:(GzippedFileReader::Open2(std::__cxx11::basic_string, std::allocator>, Error*)) >>> referenced by zlib_indexed.h:332 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/zlib_indexed.h:332) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.GzippedFileReader.cpp.o:(GzippedFileReader::Open2(std::__cxx11::basic_string, std::allocator>, Error*)) >>> referenced by zlib_indexed.h:322 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/zlib_indexed.h:322) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.GzippedFileReader.cpp.o:(GzippedFileReader::Open2(std::__cxx11::basic_string, std::allocator>, Error*)) >>> referenced 10 more times ld.lld: error: undefined symbol: brl_inflatePrime >>> referenced by zlib_indexed.h:415 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/zlib_indexed.h:415) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.GzippedFileReader.cpp.o:(GzippedFileReader::ReadChunk(void*, long)) ld.lld: error: undefined symbol: brl_inflateSetDictionary >>> referenced by zlib_indexed.h:417 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/zlib_indexed.h:417) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.GzippedFileReader.cpp.o:(GzippedFileReader::ReadChunk(void*, long)) ld.lld: error: undefined symbol: brl_inflateReset >>> referenced by CsoFileReader.cpp:306 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/CDVD/CsoFileReader.cpp:306) >>> pcsx2/CMakeFiles/PCSX2.dir/CDVD/pcsx2-qt.lto.CsoFileReader.cpp.o:(CsoFileReader::ReadChunk(void*, long)) >>> referenced by libchdr_chd.c:3178 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/libchdr/src/libchdr_chd.c:3178) >>> 3rdparty/libchdr/pcsx2-qt.lto.liblibchdr.a(libchdr_chd.c.o at 42082).o:(zlib_codec_decompress) >>> referenced by libchdr_chd.c:3178 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/libchdr/src/libchdr_chd.c:3178) >>> 3rdparty/libchdr/pcsx2-qt.lto.liblibchdr.a(libchdr_chd.c.o at 42082).o:(cdzl_codec_decompress) >>> referenced 3 more times ld.lld: error: undefined symbol: brl_png_create_read_struct >>> referenced by Image.cpp:263 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:263) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferLoader(RGBA8Image*, void const*, unsigned long) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:233 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:233) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGFileLoader(RGBA8Image*, char const*, _IO_FILE*) (.llvm.4512887945774486428)) >>> referenced by GSTextureReplacementLoaders.cpp:151 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/GS/Renderers/HW/GSTextureReplacementLoaders.cpp:151) >>> pcsx2/CMakeFiles/PCSX2.dir/GS/Renderers/HW/pcsx2-qt.lto.GSTextureReplacementLoaders.cpp.o:(PNGLoader(std::__cxx11::basic_string, std::allocator> const&, GSTextureReplacements::ReplacementTexture*, bool) (.llvm.6980365925112178180)) >>> referenced 1 more times ld.lld: error: undefined symbol: brl_crc32 >>> referenced by zip_io_util.c:140 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/libzip/lib/zip_io_util.c:140) >>> 3rdparty/libzip/pcsx2-qt.lto.libzip.a(zip_io_util.c.o at 390844).o:(_zip_write) >>> referenced by zip_string.c:45 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/libzip/lib/zip_string.c:45) >>> 3rdparty/libzip/pcsx2-qt.lto.libzip.a(zip_string.c.o at 799436).o:(_zip_string_crc32) >>> referenced by zip_string.c:48 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/3rdparty/libzip/lib/zip_string.c:48) >>> 3rdparty/libzip/pcsx2-qt.lto.libzip.a(zip_string.c.o at 799436).o:(_zip_string_crc32) >>> referenced 25 more times ld.lld: error: undefined symbol: brl_png_create_info_struct >>> referenced by Image.cpp:267 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:267) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferLoader(RGBA8Image*, void const*, unsigned long) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:359 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:359) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferSaver(RGBA8Image const&, std::vector>*, unsigned char) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:237 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:237) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGFileLoader(RGBA8Image*, char const*, _IO_FILE*) (.llvm.4512887945774486428)) >>> referenced 6 more times ld.lld: error: undefined symbol: brl_png_set_longjmp_fn >>> referenced by Image.cpp:279 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:279) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferLoader(RGBA8Image*, void const*, unsigned long) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:365 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:365) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferSaver(RGBA8Image const&, std::vector>*, unsigned char) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:249 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:249) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGFileLoader(RGBA8Image*, char const*, _IO_FILE*) (.llvm.4512887945774486428)) >>> referenced 6 more times ld.lld: error: undefined symbol: brl_png_set_read_fn >>> referenced by Image.cpp:290 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:290) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferLoader(RGBA8Image*, void const*, unsigned long) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:252 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:252) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGFileLoader(RGBA8Image*, char const*, _IO_FILE*) (.llvm.4512887945774486428)) >>> referenced by SaveState.cpp:862 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/SaveState.cpp:862) >>> pcsx2/CMakeFiles/PCSX2.dir/pcsx2-qt.lto.SaveState.cpp.o:(SaveState_ReadScreenshot(zip*, unsigned int*, unsigned int*, std::vector>*) (.llvm.12795690977511127277)) ld.lld: error: undefined symbol: brl_png_destroy_read_struct >>> referenced by Image.cpp:274 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:274) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferLoader(RGBA8Image*, void const*, unsigned long) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:270 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:270) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferLoader(RGBA8Image*, void const*, unsigned long) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:244 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:244) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGFileLoader(RGBA8Image*, char const*, _IO_FILE*) (.llvm.4512887945774486428)) >>> referenced 6 more times ld.lld: error: undefined symbol: brl_png_create_write_struct >>> referenced by Image.cpp:349 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:349) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferSaver(RGBA8Image const&, std::vector>*, unsigned char) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:318 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:318) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGFileSaver(RGBA8Image const&, char const*, _IO_FILE*, unsigned char) (.llvm.4512887945774486428)) >>> referenced by GSTextureReplacementLoaders.cpp:227 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/GS/Renderers/HW/GSTextureReplacementLoaders.cpp:227) >>> pcsx2/CMakeFiles/PCSX2.dir/GS/Renderers/HW/pcsx2-qt.lto.GSTextureReplacementLoaders.cpp.o:(GSTextureReplacements::SavePNGImage(std::__cxx11::basic_string, std::allocator> const&, unsigned int, unsigned int, unsigned char const*, unsigned int)) >>> referenced 2 more times ld.lld: error: undefined symbol: brl_png_set_write_fn >>> referenced by Image.cpp:368 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:368) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferSaver(RGBA8Image const&, std::vector>*, unsigned char) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:335 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:335) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGFileSaver(RGBA8Image const&, char const*, _IO_FILE*, unsigned char) (.llvm.4512887945774486428)) >>> referenced by GSPng.cpp:58 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/GS/GSPng.cpp:58) >>> pcsx2/CMakeFiles/PCSX2.dir/GS/pcsx2-qt.lto.GSPng.cpp.o:(GSPng::SaveFile(std::__cxx11::basic_string, std::allocator> const&, GSPng::Format, unsigned char const*, unsigned char*, int, int, int, int, bool, bool)) >>> referenced 1 more times ld.lld: error: undefined symbol: brl_png_destroy_write_struct >>> referenced by Image.cpp:356 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:356) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGBufferSaver(RGBA8Image const&, std::vector>*, unsigned char) (.llvm.4512887945774486428)) >>> referenced by Image.cpp:325 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:325) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGFileSaver(RGBA8Image const&, char const*, _IO_FILE*, unsigned char) (.llvm.4512887945774486428)) >>> referenced by GSTextureReplacementLoaders.cpp:234 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/GS/Renderers/HW/GSTextureReplacementLoaders.cpp:234) >>> pcsx2/CMakeFiles/PCSX2.dir/GS/Renderers/HW/pcsx2-qt.lto.GSTextureReplacementLoaders.cpp.o:(GSTextureReplacements::SavePNGImage(std::__cxx11::basic_string, std::allocator> const&, unsigned int, unsigned int, unsigned char const*, unsigned int)) >>> referenced 4 more times ld.lld: error: undefined symbol: brl_png_read_info >>> referenced by Image.cpp:189 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:189) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGCommonLoader(RGBA8Image*, png_struct_def*, png_info_def*, std::vector>&, std::vector>&)) >>> referenced by GSTextureReplacementLoaders.cpp:174 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/GS/Renderers/HW/GSTextureReplacementLoaders.cpp:174) >>> pcsx2/CMakeFiles/PCSX2.dir/GS/Renderers/HW/pcsx2-qt.lto.GSTextureReplacementLoaders.cpp.o:(PNGLoader(std::__cxx11::basic_string, std::allocator> const&, GSTextureReplacements::ReplacementTexture*, bool) (.llvm.6980365925112178180)) >>> referenced by SaveState.cpp:866 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/pcsx2/SaveState.cpp:866) >>> pcsx2/CMakeFiles/PCSX2.dir/pcsx2-qt.lto.SaveState.cpp.o:(SaveState_ReadScreenshot(zip*, unsigned int*, unsigned int*, std::vector>*) (.llvm.12795690977511127277)) ld.lld: error: undefined symbol: brl_png_get_image_width >>> referenced by Image.cpp:191 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:191) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGCommonLoader(RGBA8Image*, png_struct_def*, png_info_def*, std::vector>&, std::vector>&)) ld.lld: error: undefined symbol: brl_png_get_image_height >>> referenced by Image.cpp:192 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:192) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGCommonLoader(RGBA8Image*, png_struct_def*, png_info_def*, std::vector>&, std::vector>&)) ld.lld: error: undefined symbol: brl_png_get_color_type >>> referenced by Image.cpp:193 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:193) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGCommonLoader(RGBA8Image*, png_struct_def*, png_info_def*, std::vector>&, std::vector>&)) ld.lld: error: undefined symbol: brl_png_get_bit_depth >>> referenced by Image.cpp:194 (/home/silver/.cache/yay/pcsx2-git/src/pcsx2/common/Image.cpp:194) >>> common/pcsx2-qt.lto.libcommon.a(Image.cpp.o at 480906).o:(PNGCommonLoader(RGBA8Image*, png_struct_def*, png_info_def*, std::vector>&, std::vector>&))