From: Eli Zaretskii <eliz@gnu.org>
To: asmwarrior <asmwarrior@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: gdb build error under msys+mingw: strip can't handle gdb-add-index.exe
Date: Tue, 24 Jul 2018 14:46:00 -0000 [thread overview]
Message-ID: <83tvoovggs.fsf@gnu.org> (raw)
In-Reply-To: <f155c1b6-985f-e7cc-ef81-5557e3d6cb0c@gmail.com> (message from asmwarrior on Tue, 24 Jul 2018 22:13:43 +0800)
> From: asmwarrior <asmwarrior@gmail.com>
> Date: Tue, 24 Jul 2018 22:13:43 +0800
>
> if test "x" != x; \
> then \
> transformed_name=`t='s,y,y,'; \
> echo gcore | sed -e "$t"` ; \
> if test "x$transformed_name" = x; then \
> transformed_name=gcore ; \
> else \
> true ; \
> fi ; \
> /bin/sh ../../binutils-gdb/gdb/../mkinstalldirs /d/code/build_gdb/bin2017/mingw/bin ; \
> /bin/install -c gcore \
> /d/code/build_gdb/bin2017/mingw/bin/$transformed_name;
> \
> fi
> transformed_name=`t='s,y,y,'; \
> echo gdb-add-index | sed -e "$t"` ; \
> 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'
AFAIK, this script should not be installed by the MinGW build because
it is useless on non-ELF platforms.
next prev parent reply other threads:[~2018-07-24 14:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-24 14:14 asmwarrior
2018-07-24 14:18 ` asmwarrior
2018-07-24 14:46 ` Eli Zaretskii [this message]
2018-09-10 7:17 ` Eli Zaretskii
2018-09-11 3:20 ` asmwarrior
2018-09-11 7:44 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83tvoovggs.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=asmwarrior@gmail.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox