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

Eli Zaretskii <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
> From: asmwarrior <[email protected]>
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.