gdb build error under msys+mingw: strip can't handle gdb-add-index.exe

asmwarrior asmwarrior@gmail.com
Tue Sep 11 03:20:00 GMT 2018


On Mon Sep 10 2018 15:17:34 GMT+0800, Eli Zaretskii wrote:
>> From: asmwarrior <asmwarrior@gmail.com>
>> Date: Tue, 24 Jul 2018 22:13:43 +0800
>>
>>         if test "x$transformed_name" = x; then \
>>           transformed_name=gdb-add-index ; \
>>         else \
>>           true ; \
>>         fi ; \
>>         install -s ../../binutils-gdb/gdb/contrib/gdb-add-index.sh \
>>                 /d/code/build_gdb/bin2017/mingw/bin/$transformed_name.exe
>> D:\code\i686-5.4.0-release-posix-dwarf-rt_v5-rev0\mingw32\bin\strip.exe:d:/code/
>> build_gdb/bin2017/mingw/bin/gdb-add-index.exe: File format not recognized
>> install: strip failed
>> make[1]: *** [install-only] Error 1
>> make[1]: Leaving directory `/d/code/build_gdb/mybuildcpp2/gdb'
>> make: *** [install] Error 2
>> make: Leaving directory `/d/code/build_gdb/mybuildcpp2/gdb'
>>
>>
>> Where does the file gdb-add-index.exe come from? How to solve this issue?
>> Any ideas? Thanks.
> This was due to a bug in gdb/Makefile.in, now fixed.
>
> Thanks.

Hi, Eli, thanks for the fix.

Also, please close this GDB bug report:

23516 – gdb build error under msys+mingw: strip can't handle gdb-add-index.exe - https://sourceware.org/bugzilla/show_bug.cgi?id=23516


Asmwarrior



More information about the Gdb mailing list