public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/12577] New: build failure when using non-GNU awk
@ 2011-03-13 13:41 bruno at clisp dot org
  2022-02-27 23:01 ` [Bug build/12577] " tromey at sourceware dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bruno at clisp dot org @ 2011-03-13 13:41 UTC (permalink / raw)
  To: gdb-prs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug build/12577] build failure when using non-GNU awk
  2011-03-13 13:41 [Bug build/12577] New: build failure when using non-GNU awk bruno at clisp dot org
@ 2022-02-27 23:01 ` tromey at sourceware dot org
  2022-02-27 23:02 ` tromey at sourceware dot org
  2022-02-27 23:48 ` bruno at clisp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2022-02-27 23:01 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=12577

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I tried this with:

prentzel. rpm -q mawk
mawk-1.3.4-22.20200120.fc34.x86_64
prentzel. rpm -q nawk
nawk-20180827-5.fc34.x86_64

.. and both of these worked fine for me.
I don't know the awk language well.  OSF/1 5.1 is pretty old, I think,
so I tend to think that either requiring gawk is fine, or otherwise
someone with access to such a system will have to rewrite this script.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug build/12577] build failure when using non-GNU awk
  2011-03-13 13:41 [Bug build/12577] New: build failure when using non-GNU awk bruno at clisp dot org
  2022-02-27 23:01 ` [Bug build/12577] " tromey at sourceware dot org
@ 2022-02-27 23:02 ` tromey at sourceware dot org
  2022-02-27 23:48 ` bruno at clisp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2022-02-27 23:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=12577

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
BTW if this bug is no longer relevant to you -- I see now it's been
>10 years -- then we can simply close it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug build/12577] build failure when using non-GNU awk
  2011-03-13 13:41 [Bug build/12577] New: build failure when using non-GNU awk bruno at clisp dot org
  2022-02-27 23:01 ` [Bug build/12577] " tromey at sourceware dot org
  2022-02-27 23:02 ` tromey at sourceware dot org
@ 2022-02-27 23:48 ` bruno at clisp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: bruno at clisp dot org @ 2022-02-27 23:48 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=12577

Bruno Haible <bruno at clisp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE

--- Comment #3 from Bruno Haible <bruno at clisp dot org> ---
Yes, OSF/1 5.1 'awk' is no longer relevant, and a web search does not indicate
that any other 'awk' implementation has the same problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-27 23:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-13 13:41 [Bug build/12577] New: build failure when using non-GNU awk bruno at clisp dot org
2022-02-27 23:01 ` [Bug build/12577] " tromey at sourceware dot org
2022-02-27 23:02 ` tromey at sourceware dot org
2022-02-27 23:48 ` bruno at clisp dot org

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).