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

Eli Zaretskii eliz@gnu.org
Mon Sep 10 07:17:00 GMT 2018


> 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.



More information about the Gdb mailing list