Package: g++-mingw-w64-x86-64 Version: 7.2.0-20+20.2 Severity: wishlist Tags: upstream patch
While compiling ffmpeg for x86_64 I get undefined symbols to some itm functions ffmpeg ticket: https://trac.ffmpeg.org/ticket/5895 gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69506 I've attached the patch Regards -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-5-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages g++-mingw-w64-x86-64 depends on: pn gcc-mingw-w64-base <none> pn gcc-mingw-w64-x86-64 <none> ii libc6 2.26-6 ii libgcc1 1:8-20180207-2 ii libgmp10 2:6.1.2+dfsg-2 ii libisl15 0.18-1 ii libmpc3 1.1.0-1 ii libmpfr6 4.0.1-1 ii libstdc++6 8-20180207-2 ii zlib1g 1:1.2.8.dfsg-5 g++-mingw-w64-x86-64 recommends no packages. Versions of packages g++-mingw-w64-x86-64 suggests: pn gcc-7-locales <none>
--- a/src/libstdc++-v3/config/os/mingw32-w64/os_defines.h 2018-02-18 04:15:06.958285232 +0100 +++ b/src/libstdc++-v3/config/os/mingw32-w64/os_defines.h 2018-02-18 04:15:09.474273133 +0100 @@ -76,6 +76,8 @@ #ifdef __x86_64__ #define _GLIBCXX_LLP64 1 +// See libstdc++/69506 +#define _GLIBCXX_USE_WEAK_REF 0 #endif // Enable use of GetModuleHandleEx (requires Windows XP/2003) in