From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20044 invoked by alias); 13 Mar 2011 13:41:27 -0000 Received: (qmail 20020 invoked by uid 22791); 13 Mar 2011 13:41:26 -0000 X-SWARE-Spam-Status: No, hits=-51.2 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 13 Mar 2011 13:41:22 +0000 From: "bruno at clisp dot org" To: gdb-prs@sourceware.org Subject: [Bug build/12577] New: build failure when using non-GNU awk X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruno at clisp dot org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sun, 13 Mar 2011 13:41:00 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2011-q1/txt/msg00198.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=12577 Summary: build failure when using non-GNU awk Product: gdb Version: 7.2 Status: NEW Severity: normal Priority: P2 Component: build AssignedTo: unassigned@sourceware.org ReportedBy: bruno@clisp.org Building gdb-7.2 on OSF/1 5.1. When 'gawk' is not found in PATH, I see this build error: $ ./configure $ gmake ... rm -f xml-builtin.tmp AWK="nawk" \ /bin/ksh ./features/feature_to_c.sh \ xml-builtin.tmp ./features/gdb-target.dtd ./features/xinclude.dtd ./features/library-list.dtd ./features/osdata.dtd ./features/threads.dtd awk: Internal software error in the split function. The input line number is 1. The source line number is 6. awk: Internal software error in the split function. The input line number is 1. The source line number is 6. awk: Internal software error in the split function. The input line number is 1. The source line number is 6. awk: Internal software error in the split function. The input line number is 1. The source line number is 6. awk: Internal software error in the split function. The input line number is 1. The source line number is 6. /bin/ksh ./../move-if-change xml-builtin.tmp xml-builtin.c echo stamp > stamp-xml gcc -g -O2 -I. -I. -I./common -I./config -DLOCALEDIR="\"/home/haible/prefix-osf51/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./../intl -I./gnulib -Ignulib -DMI_OUT=1 -Wall -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -c -o xml-builtin.o -MT xml-builtin.o -MMD -MP -MF .deps/xml-builtin.Tpo xml-builtin.c xml-builtin.c:2: error: expected expression before 'static' gmake[2]: *** [xml-builtin.o] Error 1 The script in gdb/features/feature_to_c.sh works neither with 'awk' nor with 'nawk'. I had to install 'gawk' to get it working. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.