https://sourceware.org/bugzilla/show_bug.cgi?id=28719
--- Comment #9 from gee <jojelino at gmail dot com> --- For someone who uses x86_64-w64-mingw32-binutils from cygwin, use below script to patch the affected ld executable file. better than recompiling every stuff to get your own. ### f=/usr/bin/x86_64-w64-mingw32-ld.exe;for i in $(grep --text -b "===" $f| tail +2|sed -e "s/:.*//"); do echo $i;sp=" "; echo "$sp"|dd if=/proc/self/fd/0 of=$f iflag=count_bytes,skip_bytes oflag=seek_bytes conv=notrunc seek=$i count=${#sp};done lines=$(grep --text -bP '(?:/\* Copyright| \*\(\.(?:z?debug_loclists|drectve)\))' $f|grep -E "Copyright" -A2|grep -E "loclists"|sort -k2) for i in $(echo "$lines"|head -6|sed -e "s/:.*//");do sp=" "; echo "$sp"|dd if=/proc/self/fd/0 of=$f iflag=count_bytes,skip_bytes oflag=seek_bytes conv=notrunc seek=$i count=${#sp};done for i in $(echo "$lines"|tail -6|sed -e "s/:.*//");do sp=" "; echo "$sp"|dd if=/proc/self/fd/0 of=$f iflag=count_bytes,skip_bytes oflag=seek_bytes conv=notrunc seek=$i count=${#sp};done ### -- You are receiving this mail because: You are on the CC list for the bug.