From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 52766 invoked by alias); 24 Jul 2018 14:46:58 -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 52735 invoked by uid 89); 24 Jul 2018 14:46:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_1,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:TLS1.2, H*r:sk:RSA_AES 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; Tue, 24 Jul 2018 14:46:56 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhyaR-0002OA-Rs for gdb@sourceware.org; Tue, 24 Jul 2018 10:46:54 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhyaR-0002O5-MJ; Tue, 24 Jul 2018 10:46:51 -0400 Received: from [176.228.60.248] (port=4117 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fhyaR-0000ER-3J; Tue, 24 Jul 2018 10:46:51 -0400 Date: Tue, 24 Jul 2018 14:46:00 -0000 Message-Id: <83tvoovggs.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-07/txt/msg00040.txt.bz2 > From: asmwarrior > 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.