From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15855 invoked by alias); 8 Jun 2012 02:16:58 -0000 Received: (qmail 15845 invoked by uid 22791); 8 Jun 2012 02:16:57 -0000 X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 Jun 2012 02:16:42 +0000 From: "skunk at iskunk dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/53607] New: opt-functions.awk --> "awk: There is a regular expression error." Date: Fri, 08 Jun 2012 02:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: skunk at iskunk dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-06/txt/msg00435.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53607 Bug #: 53607 Summary: opt-functions.awk --> "awk: There is a regular expression error." Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned@gcc.gnu.org ReportedBy: skunk@iskunk.org Host: hppa2.0w-hp-hpux11.00 Target: hppa2.0w-hp-hpux11.00 Build: hppa2.0w-hp-hpux11.00 Created attachment 27583 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27583 Proposed fix Bootstrapping 4.7.0 on an HP-UX 11.00 system fails with [...] echo timestamp > s-options awk -f /home/src/gcc-4.7.0/gcc/opt-functions.awk -f /tg/freepor t/src/gcc/gcc--4.7.0-tera/gcc/opt-read.awk \ -f /home/src/gcc-4.7.0/gcc/opth-gen.awk \ < optionlist > tmp-options.h awk: There is a regular expression error. ?, *, or + not preceded by valid regular expression The source line number is 90. The error context is if (flags ~ >>> "^{") <<< gmake[3]: *** [s-options-h] Error 2 gmake[3]: Leaving directory `/tmp/gcc-build/gcc' gmake[2]: *** [all-stage1-gcc] Error 2 gmake[2]: Leaving directory `/tmp/gcc-build' gmake[1]: *** [stage1-bubble] Error 2 gmake[1]: Leaving directory `/tmp/gcc-build' gmake: *** [bootstrap-lean] Error 2 The fix for this is fairly trivial; patch against SVN is attached.