From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126113 invoked by alias); 10 Sep 2018 07:17:33 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 126094 invoked by uid 89); 10 Sep 2018 07:17:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Sep 2018 07:17:31 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzGRr-0006N1-7f for gdb@sourceware.org; Mon, 10 Sep 2018 03:17:30 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzGRr-0006Mq-2t; Mon, 10 Sep 2018 03:17:27 -0400 Received: from [176.228.60.248] (port=1920 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzGRq-0005xI-Kp; Mon, 10 Sep 2018 03:17:26 -0400 Date: Mon, 10 Sep 2018 07:17:00 -0000 Message-Id: <83lg89q0s1.fsf@gnu.org> From: Eli Zaretskii To: asmwarrior CC: gdb@sourceware.org In-reply-to: (message from asmwarrior on Tue, 24 Jul 2018 22:13:43 +0800) Subject: Re: gdb build error under msys+mingw: strip can't handle gdb-add-index.exe References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00017.txt.bz2 > From: asmwarrior > 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.