This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/12577] New: build failure when using non-GNU awk


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]