From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88458 invoked by alias); 11 Sep 2018 03:20:00 -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 88441 invoked by uid 89); 11 Sep 2018 03:19:59 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,GIT_PATCH_1,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1239, H*u:x64, H*u:Win64, H*u:6.1 X-HELO: mail-pl1-f173.google.com Received: from mail-pl1-f173.google.com (HELO mail-pl1-f173.google.com) (209.85.214.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Sep 2018 03:19:58 +0000 Received: by mail-pl1-f173.google.com with SMTP id j8-v6so10651629pll.12 for ; Mon, 10 Sep 2018 20:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=dxvhNvsS2x7Q+XNu+yoOHFlVZfeuESy/ORgHW1GIu7M=; b=In1LUG1fWnwVQ5IsVcGbQBcWQhwZy0pqa5X+rmFtVpJ4RcB/SY66rhxJwdVMdjuj1u lAbbsP+yPF/Abfo3HEpa9+Qy5VWSaWNnA9b+xeCpoLrErqDqUrIa1UkrCErW4H1459Jv oKnzZSS3STgJRL2QTKcNPEUIyM16XAsTDzAy2F+oWUq89Nhf8u0REt3n9UYRgsFMqhZV Iu6DtZEG5oznksdIXetvtFiX9obeKgR47lSSwBcFeNP0RIXRZZBLg0sdMgFEmGARFOgo YMskzEYM9/Qs97B8Mrfwhq0aOrjQ8SxYyrzm2U5ZZVsMhh0cWNWW5xZ55Ofeygwah7NS FeQg== Return-Path: Received: from [0.0.0.0] ([103.219.192.78]) by smtp.googlemail.com with ESMTPSA id r19-v6sm32805731pgg.39.2018.09.10.20.19.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Sep 2018 20:19:54 -0700 (PDT) Subject: Re: gdb build error under msys+mingw: strip can't handle gdb-add-index.exe To: Eli Zaretskii Cc: gdb@sourceware.org References: <83lg89q0s1.fsf@gnu.org> From: asmwarrior Message-ID: Date: Tue, 11 Sep 2018 03:20:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:54.0) Gecko/20100101 Thunderbird/54.0a1 MIME-Version: 1.0 In-Reply-To: <83lg89q0s1.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2018-09/txt/msg00018.txt.bz2 On Mon Sep 10 2018 15:17:34 GMT+0800, Eli Zaretskii wrote: >> 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. Hi, Eli, thanks for the fix. Also, please close this GDB bug report: 23516 – gdb build error under msys+mingw: strip can't handle gdb-add-index.exe - https://sourceware.org/bugzilla/show_bug.cgi?id=23516 Asmwarrior