https://bugs.winehq.org/show_bug.cgi?id=52455 Bug ID: 52455 Summary: Bundled libffi causes linker failure with gcc11 and x86_64 Product: Wine-gecko Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gecko-unknown Assignee: jacek(a)codeweavers.com Reporter: mike(a)cchtml.com Distribution: --- Wine Gecko 2.47.2 The bundled libffi looks like version 3.1. This version has known problems linking with recent versions of gcc under the 64-bit x86 arch. Linking fails with: ../libjs_static.a(win64.o):fake:(.text+0x69): relocation truncated to fit: R_X86_64_32S against symbol `ffi_closure_win64_inner' defined in .text section in ../libjs_static.a(ffi.o) collect2: error: ld returned 1 exit status It looks like upstream has fixed this as newer versions successfully link. Upgrading the bundled version to 3.4.2 lets wine-gecko successfully link with gcc 11.2.1. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.