From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by mail.openembedded.org (Postfix) with ESMTP id 97CA36DDB0 for ; Mon, 9 Dec 2013 14:47:52 +0000 (UTC) Received: by mail-bk0-f41.google.com with SMTP id v15so1431389bkz.28 for ; Mon, 09 Dec 2013 06:47:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:disposition-notification-to:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=efMtTgByAZkc5JXyxaHOFEujL0dVrgJk/lYtiLW99m8=; b=l5TQXlrYFiD5QE7y0bC+9NRij11qlMXf3OZbdBYJu/8JHGdCmDjhaHiISwWAP1gsdp qGXdKcv6A7LkCodg/zTPsPniSf6z0BF8nfaWB5QW8xejubUqePvc+ZMKXloOFpGrjNm/ 0Us7hlQXLx7dNsyflI3Skff2rYGfgk3D6zM0LvBndyF+ryAFuICxUSIutRspDFxWeSqU xvp+tY3KaRWqofBKKoFZAubUK1vzTuQ2h5QXBieRnSWFep5L1VAlUZyTLApGpNRkgQmb ghzvS1vdUbOhRhblFljbeyTG6Ep0Kpobk+pWq+q22kr68HG172w8XXUvck0tNi+D2hhb c5Bw== X-Gm-Message-State: ALoCoQl4VKDR7gpfhUfD7KaCYpVSTmZZVx6zdgHDIT4rg19afCLQLZq0iFDXEnN0t/eXK8E1qJbq X-Received: by 10.204.177.142 with SMTP id bi14mr609211bkb.84.1386600471288; Mon, 09 Dec 2013 06:47:51 -0800 (PST) Received: from mobil-400-586.internal.dresearch-fe.de (pd95cbf07.dip0.t-ipconnect.de. [217.92.191.7]) by mx.google.com with ESMTPSA id qg7sm8808668bkb.6.2013.12.09.06.47.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Dec 2013 06:47:50 -0800 (PST) Message-ID: <52A5D813.8020803@dresearch-fe.de> Date: Mon, 09 Dec 2013 15:47:47 +0100 From: Steffen Sledz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: <1385647771-24485-1-git-send-email-sledz@dresearch-fe.de> In-Reply-To: <1385647771-24485-1-git-send-email-sledz@dresearch-fe.de> X-Enigmail-Version: 1.6 Subject: Re: [PATCH][for-dora] gdb-7.6: fix cygwin check in configure script X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Dec 2013 14:47:53 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 28.11.2013 15:09, Steffen Sledz wrote: > This is a fix which avoids false positives if the search pattern > "lose" is found in path descriptions in comments generated by the > preprocessor we hit in our development environment. > > [gdb Bug #16152] -- https://sourceware.org/bugzilla/show_bug.cgi?id=16152 > > Upstream-Status: Accepted > Signed-off-by: Steffen Sledz > --- > meta/recipes-devtools/gdb/gdb-7.6.inc | 2 ++ > .../gdb-fix-cygwin-check-in-configure-script.patch | 38 ++++++++++++++++++++++ > 2 files changed, 40 insertions(+) > create mode 100644 meta/recipes-devtools/gdb/gdb/gdb-fix-cygwin-check-in-configure-script.patch > > diff --git a/meta/recipes-devtools/gdb/gdb-7.6.inc b/meta/recipes-devtools/gdb/gdb-7.6.inc > index 00cb6ee..9be94b8 100644 > --- a/meta/recipes-devtools/gdb/gdb-7.6.inc > +++ b/meta/recipes-devtools/gdb/gdb-7.6.inc > @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ > file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ > file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674" > > +SRC_URI += " file://gdb-fix-cygwin-check-in-configure-script.patch " > + > S = "${WORKDIR}/${BPN}-${PV}" > > SRC_URI[md5sum] = "a9836707337e5f7bf76a009a8904f470" > diff --git a/meta/recipes-devtools/gdb/gdb/gdb-fix-cygwin-check-in-configure-script.patch b/meta/recipes-devtools/gdb/gdb/gdb-fix-cygwin-check-in-configure-script.patch > new file mode 100644 > index 0000000..4e4647b > --- /dev/null > +++ b/meta/recipes-devtools/gdb/gdb/gdb-fix-cygwin-check-in-configure-script.patch > @@ -0,0 +1,38 @@ > +Avoid false positives if the search pattern "lose" is found in path > +descriptions in comments generated by the preprocessor. > + > +See . > +--- > + gdb/configure | 2 +- > + gdb/configure.ac | 2 +- > + 3 files changed, 7 insertions(+), 2 deletions(-) > + > +diff --git a/gdb/configure b/gdb/configure > +index 5514b2f..b38e183 100755 > +--- a/gdb/configure > ++++ b/gdb/configure > +@@ -12446,7 +12446,7 @@ lose > + #endif > + _ACEOF > + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | > +- $EGREP "lose" >/dev/null 2>&1; then : > ++ $EGREP "^lose$" >/dev/null 2>&1; then : > + gdb_cv_os_cygwin=yes > + else > + gdb_cv_os_cygwin=no > +diff --git a/gdb/configure.ac b/gdb/configure.ac > +index 9b73887..2947293 100644 > +--- a/gdb/configure.ac > ++++ b/gdb/configure.ac > +@@ -1877,7 +1877,7 @@ AC_SUBST(WERROR_CFLAGS) > + > + # In the Cygwin environment, we need some additional flags. > + AC_CACHE_CHECK([for cygwin], gdb_cv_os_cygwin, > +-[AC_EGREP_CPP(lose, [ > ++[AC_EGREP_CPP(^lose$, [ > + #if defined (__CYGWIN__) || defined (__CYGWIN32__) > + lose > + #endif],[gdb_cv_os_cygwin=yes],[gdb_cv_os_cygwin=no])]) > +-- > +1.8.4 > + > Ping! Robert, are you still there? -- DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany Tel: +49 30 515932-237 mailto:sledz@dresearch-fe.de Fax: +49 30 515932-299 Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058