https://sourceware.org/bugzilla/show_bug.cgi?id=28992
--- Comment #2 from Cristian Adam <cristian.adam at gmail dot com> --- Here is a run with strip from MinGW 11.2.0: c:\Projects\Qt\build-mingw-qtbase\bin $ strip --version GNU strip (GNU Binutils) 2.37 Copyright (C) 2021 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. c:\Projects\Qt\build-mingw-qtbase\bin $ objdump -x Qt6Core.dll | findstr .gnu_debuglink 13 .gnu_debuglink 00000014 0000000264537000 0000000264537000 005fca00 2**2 c:\Projects\Qt\build-mingw-qtbase\bin $ strip Qt6Core.dll c:\Projects\Qt\build-mingw-qtbase\bin $ objdump -x Qt6Core.dll | findstr .gnu_debuglink And below the run with strip from MinGW 8.1.0: c:\Projects\Qt\build-mingw-qtbase\bin $ strip --version GNU strip (GNU Binutils) 2.30 Copyright (C) 2018 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. c:\Projects\Qt\build-mingw-qtbase\bin $ objdump -x Qt6Core.dll | findstr .gnu_debuglink 13 .gnu_debuglink 00000014 0000000264537000 0000000264537000 005fca00 2**2 c:\Projects\Qt\build-mingw-qtbase\bin $ strip Qt6Core.dll c:\Projects\Qt\build-mingw-qtbase\bin $ objdump -x Qt6Core.dll | findstr .gnu_debuglink 13 .gnu_debuglink 00000014 0000000264537000 0000000264537000 005fca00 2**2 I will try upgrading binutils to version 2.38 and try again. -- You are receiving this mail because: You are on the CC list for the bug.