From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54697 invoked by alias); 9 Sep 2018 19:24:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 54656 invoked by uid 89); 9 Sep 2018 19:24:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,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; Sun, 09 Sep 2018 19:24:40 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fz5K2-0007he-8u for gdb-patches@sourceware.org; Sun, 09 Sep 2018 15:24:38 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fz5Jw-0007eO-Ph; Sun, 09 Sep 2018 15:24:32 -0400 Received: from [176.228.60.248] (port=1419 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fz5Jw-0008Va-Bg; Sun, 09 Sep 2018 15:24:32 -0400 Date: Sun, 09 Sep 2018 19:24:00 -0000 Message-Id: <8336uiqxs9.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey CC: gdb-patches@sourceware.org, mjw@redhat.com In-reply-to: <87in3e4iwz.fsf@tromey.com> (message from Tom Tromey on Sun, 09 Sep 2018 12:36:44 -0600) Subject: Re: [ANNOUNCEMENT] GDB 8.2 released! References: <83ftyjq90h.fsf@gnu.org> <87in3e4iwz.fsf@tromey.com> 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/msg00243.txt.bz2 > From: Tom Tromey > Cc: gdb-patches@sourceware.org, mjw@redhat.com > Date: Sun, 09 Sep 2018 12:36:44 -0600 > > Eli> Running "make -C gdb install-strip" fails: > > Eli> /bin/sh /d/gnu/gdb-8.2/install-sh -c -s ./contrib/gdb-add-index.sh \ > Eli> d:/usr/test-gdb-8.2/bin/$transformed_name.exe > Eli> d:\usr\bin\strip.exe:d:/usr/test-gdb-8.2/bin/_inst.8116_: file format not recognized > > Eli> It fails because Makefile attempts to invoke 'strip' on a shell > Eli> script. I couldn't find any way to get past that except by hacking > Eli> gdb/Makefile to remove the offending portion, then installing that > Eli> shell script manually. How does this work on Posix hosts? > > gdb defines: > > INSTALL_SCRIPT = @INSTALL_SCRIPT@ > > ... but install-only does not use it for gdb-add-index.sh. > I think this is just a bug. It is used properly for gcore. > > I didn't try the obvious patch, but maybe you could? If you tell me what is the obvious patch, I will certainly try it. Thanks for the other answers.