public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Greg Schafer <gschafer@zip.com.au> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: other/9479: ld --version parsing in gcc configury fails on latest FSF binutils-2.13.2.1 Date: Tue, 28 Jan 2003 15:26:00 -0000 [thread overview] Message-ID: <20030128152601.32393.qmail@sources.redhat.com> (raw) The following reply was made to PR other/9479; it has been noted by GNATS. From: Greg Schafer <gschafer@zip.com.au> To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-prs@gcc.gnu.org, jakub@redhat.com, drow@mvista.com Cc: Subject: Re: other/9479: ld --version parsing in gcc configury fails on latest FSF binutils-2.13.2.1 Date: Wed, 29 Jan 2003 02:19:32 +1100 --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Ok, here's a patch that seems to work. Could somebody pls verify and check in if ok? Patch provided by:- Chris Lingard <chris@stockwith.co.uk> and Dan Osterrath <do3@mail.inf.tu-dresden.de> Greg --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gcc-fix.patch" diff -uNr gcc.orig/configure.in gcc/configure.in --- gcc.orig/configure.in 2003-01-28 19:11:33.000000000 +1100 +++ gcc/configure.in 2003-01-29 01:53:38.000000000 +1100 @@ -1674,7 +1674,7 @@ ld_ver=`$gcc_cv_ld --version 2>/dev/null | head -1` if echo "$ld_ver" | grep GNU > /dev/null; then changequote(,)dnl - ld_vers=`echo $ld_ver | sed -n 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\([ ].*\|\)$,\1,p'` + ld_vers=`echo $ld_ver | sed -n 's,^.*[ ]\([0-9][0-9]*\.[0-9][0-9]*\(\|\.[0-9][0-9]*\(\|\.[0-9][0-9]*\)\)\)\([ ].*\|\)$,\1,p'` ld_date=`echo $ld_ver | sed -n 's,^.*\([2-9][0-9][0-9][0-9]\)[-]*\([01][0-9]\)[-]*\([0-3][0-9]\).*$,\1\2\3,p'` if test 0"$ld_date" -lt 20020404; then if test -n "$ld_date"; then --/9DWx/yDrRhgMJTb--
next reply other threads:[~2003-01-28 15:26 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-01-28 15:26 Greg Schafer [this message] -- strict thread matches above, loose matches on Subject: below -- 2003-04-01 5:26 Greg Schafer 2003-02-07 2:26 Greg Schafer 2003-02-07 2:16 Greg Schafer 2003-01-28 14:36 gschafer
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030128152601.32393.qmail@sources.redhat.com \ --to=gschafer@zip.com.au \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).