* Re[2]: 4.17.86 on AIX 4.2.0.0 using IBM xlc
@ 1999-04-01 0:00 rodneybrown
1999-04-01 0:00 ` Andrew Cagney
0 siblings, 1 reply; 9+ messages in thread
From: rodneybrown @ 1999-04-01 0:00 UTC (permalink / raw)
To: ac131313, gdb
For what it is worth the xlc lslpp information is
Fileset Level State Description
xlC.C 3.1.4.0 C C for AIX Compiler
I note that my copy of the ANSI-C Standard
ISO/IEC 9899: 1990 Programming languages-C
doesn't have the trailing comma varient in section 6.5.2.2
A colleague notes that VMS Dec C gives a warning for the idiom.
____________________Reply Separator____________________
Subject: Re: 4.17.86 on AIX 4.2.0.0 using IBM xlc
Author: Andrew Cagney <ac131313@cygnus.com>
Date: 17/03/99 19:24
Andrew Cagney wrote:
>
> rodneybrown@pmsc.com wrote:
> >
> > AIX 4.2.0.0 xlc gives an error for trailing commas in enum declarations
> > Specifically compiling gdb-4.17.86/gdb/blockframe.c it gives
> >
> > "gdb-4.17.86/gdb/target.h", line 57.22: 1506-046 (S) Syntax error.
> > "gdb-4.17.86/gdb/breakpoint.h", line 114.17: 1506-046 (S) Syntax error.
>
> Thanks,
Hmm (is this a nightmare comming true?),
Looking at C manual:
6.5.2.2 Enumeration specifiers
Syntax
enum-specifier:
enum identifieropt { enumerator-list }
enum identifieropt { enumerator-list , }
enum identifier
enumerator-list:
enumerator
enumerator-list , enumerator
enumerator:
enumeration-constant
enumeration-constant = constant-expression
and the relevant line:
enum thread_control_capabilities {
tc_none = 0, /* Default: can't control thread
execution. */
tc_schedlock = 1, /* Can lock the thread scheduler. */
tc_switch = 2, /* Can switch the running thread on
demand. */
};
So, what to do about this one?
Andrew
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: 4.17.86 on AIX 4.2.0.0 using IBM xlc
1999-04-01 0:00 Re[2]: 4.17.86 on AIX 4.2.0.0 using IBM xlc rodneybrown
@ 1999-04-01 0:00 ` Andrew Cagney
1999-04-01 0:00 ` Stan Shebs
[not found] ` <199903240254.SAA11154.cygnus.gdb@andros.cygnus.com>
0 siblings, 2 replies; 9+ messages in thread
From: Andrew Cagney @ 1999-04-01 0:00 UTC (permalink / raw)
To: rodneybrown; +Cc: gdb
rodneybrown@pmsc.com wrote:
>
> For what it is worth the xlc lslpp information is
>
> Fileset Level State Description
> xlC.C 3.1.4.0 C C for AIX Compiler
>
> I note that my copy of the ANSI-C Standard
> ISO/IEC 9899: 1990 Programming languages-C
>
> doesn't have the trailing comma varient in section 6.5.2.2
Er, oops wrong ISO-C document, sorry. Just pretend I didn't post that
:-)
Assuming that you're GPL assigned, would you be able to investigate the
compile problems using the AIX compiler?
Andrew
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: 4.17.86 on AIX 4.2.0.0 using IBM xlc
1999-04-01 0:00 ` Andrew Cagney
@ 1999-04-01 0:00 ` Stan Shebs
[not found] ` <199903240254.SAA11154.cygnus.gdb@andros.cygnus.com>
1 sibling, 0 replies; 9+ messages in thread
From: Stan Shebs @ 1999-04-01 0:00 UTC (permalink / raw)
To: cagney; +Cc: rodneybrown, gdb
Date: Wed, 24 Mar 1999 10:05:07 +1100
From: Andrew Cagney <ac131313@cygnus.com>
Assuming that you're GPL assigned, would you be able to investigate the
compile problems using the AIX compiler?
I assumed those two trailers were the only mistakes and already
committed the fixes. Any other such mistakes would likely have been
fixed long ago, because of previous xlc or other compiler runs - these
two enums were recently introduced/modified.
Stan
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <199903240254.SAA11154.cygnus.gdb@andros.cygnus.com>]
* Re: 4.17.86 on AIX 4.2.0.0 using IBM xlc
[not found] ` <199903240254.SAA11154.cygnus.gdb@andros.cygnus.com>
@ 1999-04-01 0:00 ` Andrew Cagney
1999-04-01 0:00 ` Stan Shebs
0 siblings, 1 reply; 9+ messages in thread
From: Andrew Cagney @ 1999-04-01 0:00 UTC (permalink / raw)
To: Stan Shebs; +Cc: rodneybrown, gdb
Stan Shebs wrote:
> I assumed those two trailers were the only mistakes and already
> committed the fixes. Any other such mistakes would likely have been
> fixed long ago, because of previous xlc or other compiler runs - these
> two enums were recently introduced/modified.
I'm not sure what you're asking here.
That code has always compliled with GCC. What is new is that the
4.17.86 smap is being exposed to the wims of XLC (a different ISO-C
compiler).
I can probably dig up an AIX box with XLC and work through the errors it
produces. However, if someone else can report back on XLC (with a
patch) it is going to happen much quicker.
enjoy,
Andrew
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: 4.17.86 on AIX 4.2.0.0 using IBM xlc
1999-04-01 0:00 ` Andrew Cagney
@ 1999-04-01 0:00 ` Stan Shebs
1999-04-01 0:00 ` gdb-19990209 on sparc-2.5.1 Guenther Grau
0 siblings, 1 reply; 9+ messages in thread
From: Stan Shebs @ 1999-04-01 0:00 UTC (permalink / raw)
To: cagney; +Cc: rodneybrown, gdb
Date: Wed, 24 Mar 1999 16:37:51 +1100
From: Andrew Cagney <ac131313@cygnus.com>
Stan Shebs wrote:
> I assumed those two trailers were the only mistakes and already
> committed the fixes. Any other such mistakes would likely have been
> fixed long ago, because of previous xlc or other compiler runs - these
> two enums were recently introduced/modified.
I'm not sure what you're asking here.
That code has always compliled with GCC. What is new is that the
4.17.86 smap is being exposed to the wims of XLC (a different ISO-C
compiler).
Actually - everybody hold on to your hats - this isn't the first time
that GDB has been compiled with compilers other than GCC. :-) The
official expectation is that GDB is portable C code, and that it can
be compiled and built by any reasonable C compiler.
I can probably dig up an AIX box with XLC and work through the errors it
produces. However, if someone else can report back on XLC (with a
patch) it is going to happen much quicker.
Yes. To be honest, testing GDB with every possible compiler is not a
good use of Cygnus maintainers' time, so I'd prefer to rely on our
esteemed volunteers for this kind of testing (and indeed they've been
doing a great job of catching mistakes, thanks folks!)
Stan
^ permalink raw reply [flat|nested] 9+ messages in thread
* gdb-19990209 on sparc-2.5.1
1999-04-01 0:00 ` Stan Shebs
@ 1999-04-01 0:00 ` Guenther Grau
1999-04-01 0:00 ` Stan Shebs
0 siblings, 1 reply; 9+ messages in thread
From: Guenther Grau @ 1999-04-01 0:00 UTC (permalink / raw)
To: gdb
Hi,
Stan Shebs wrote:
> Actually - everybody hold on to your hats - this isn't the first time
> that GDB has been compiled with compilers other than GCC. :-) The
> official expectation is that GDB is portable C code, and that it can
> be compiled and built by any reasonable C compiler.
Ok, after I read that, I dl'd gdb-19990209.tar.gz. Is that really
the lastest snapshot (4.17.86) everybody is talking about?
Well, anyways, on my sparc-solaris 2.5.1 I did
setenv CC cc
./configure
make
and found a few glitches (i.e. warnings :-) and a make error.
cc is from SunWorkshop Solaris 4.2.
I attached the output during the build process. I haven't had
time to look into this further as I will need to go to sleep
now :-)
Guenther
;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, first visit that file with C-x C-f,
;; then enter the text in that file's own buffer.
gorgo% make
if [ x"no" = xyes ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
touch stamp-picdir
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include argv.c -o pic/argv.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include argv.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include choose-temp.c -o pic/choose-temp.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include choose-temp.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include concat.c -o pic/concat.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include concat.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include cplus-dem.c -o pic/cplus-dem.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include cplus-dem.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include fdmatch.c -o pic/fdmatch.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include fdmatch.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include fnmatch.c -o pic/fnmatch.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include fnmatch.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include getopt.c -o pic/getopt.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include getopt.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include getopt1.c -o pic/getopt1.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include getopt1.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include getruntime.c -o pic/getruntime.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include getruntime.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include hex.c -o pic/hex.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include hex.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include floatformat.c -o pic/floatformat.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include floatformat.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include mkstemp.c -o pic/mkstemp.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include mkstemp.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include objalloc.c -o pic/objalloc.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include objalloc.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include obstack.c -o pic/obstack.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include obstack.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include pexecute.c -o pic/pexecute.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include pexecute.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include spaces.c -o pic/spaces.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include spaces.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include splay-tree.c -o pic/splay-tree.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include splay-tree.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include strerror.c -o pic/strerror.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include strerror.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include strsignal.c -o pic/strsignal.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include strsignal.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xatexit.c -o pic/xatexit.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xatexit.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xexit.c -o pic/xexit.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xexit.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xmalloc.c -o pic/xmalloc.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xmalloc.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xstrdup.c -o pic/xstrdup.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xstrdup.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xstrerror.c -o pic/xstrerror.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include xstrerror.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include asprintf.c -o pic/asprintf.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include asprintf.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include basename.c -o pic/basename.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include basename.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include sigsetmask.c -o pic/sigsetmask.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include sigsetmask.c
test x"no" != xyes || \
cc -c -DHAVE_CONFIG_H -g -I. -I./../include vasprintf.c -o pic/vasprintf.o
cc -c -DHAVE_CONFIG_H -g -I. -I./../include vasprintf.c
rm -f libiberty.a
ar rc libiberty.a \
argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o hex.o floatformat.o mkstemp.o objalloc.o obstack.o pexecute.o spaces.o splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o asprintf.o basename.o sigsetmask.o vasprintf.o
true libiberty.a
f="asprintf.o basename.o sigsetmask.o vasprintf.o "; \
case $f in \
*alloca.o*) f="$f xmalloc.o xexit.o" ;; \
esac; \
echo $f > needed-list
echo argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o getopt1.o getruntime.o hex.o floatformat.o mkstemp.o objalloc.o obstack.o pexecute.o spaces.o splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o > required-list
make all-recursive
Making all in intl
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g intl-compat.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g bindtextdom.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g dcgettext.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g dgettext.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g gettext.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g finddomain.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g loadmsgcat.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g localealias.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g textdomain.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g l10nflist.c
cc -c -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DGNULOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DLOCALE_ALIAS_PATH=\"/users/grau/tools/gdb/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib -g explodename.c
rm -f libintl.a
ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o explodename.o
ranlib libintl.a
Making all in lib
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c getopt.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c getopt1.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c xmalloc.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -c xstrdup.c
rm -f libtxi.a
ar cru libtxi.a getopt.o getopt1.o xmalloc.o xstrdup.o
ranlib libtxi.a
Making all in info
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c dir.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c display.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c makedoc.c
cc -g -o makedoc makedoc.o ../lib/libtxi.a -lcurses ../intl/libintl.a
./makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c ./indices.c ./nodemenu.c ./footnotes.c ./variables.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c doc.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c dribble.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c echo-area.c
"echo-area.c", line 1290: warning: argument #4 is incompatible with prototype:
prototype: pointer to function(pointer to const void, pointer to const void) returning int : "/usr/include/stdlib.h", line 97
argument : pointer to function(pointer to pointer to struct {pointer to char label, pointer to char filename, pointer to char nodename,...
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c filesys.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c footnotes.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c gc.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c indices.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c info-utils.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c info.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c infodoc.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c infomap.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c m-x.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c man.c
cc -DINFODIR=\"/users/grau/tools/gdb/info\" -DLOCALEDIR=\"/users/grau/tools/gdb/share/locale\" -DHAVE_CONFIG_H -I. -I../lib -I../intl -I.. -I. -g -c nodemenu.c
"nodemenu.c", line 166: warning: argument #4 is incompatible with prototype:
prototype: pointer to function(pointer to const void, pointer to const void) returning int : "/usr/include/stdlib.h", line 97
From shebs@cygnus.com Thu Apr 01 00:00:00 1999
From: Stan Shebs <shebs@cygnus.com>
To: cagney@cygnus.com
Cc: gdb@cygnus.com
Subject: Re: Which ANSI-C compiler?
Date: Thu, 01 Apr 1999 00:00:00 -0000
Message-id: <199903240259.SAA11164@andros.cygnus.com>
References: <36F84161.637FE9BE@cygnus.com>
X-SW-Source: 1999-q1/msg00155.html
Content-length: 523
Date: Wed, 24 Mar 1999 12:35:29 +1100
From: Andrew Cagney <ac131313@cygnus.com>
[Jim sorry]
With GDB trialing the move to ANSI-C it will probably be helpful if
there is a list of recommended compilers available.
Hmmm. Most compilers that people have will be in the recommended
category I think, so it might be simpler just to mention the compilers
that we know will be a problem? In either case, that's a good idea for
an addition to README and NEWS, so people aren't caught by surprise.
Stan
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: gdb-19990209 on sparc-2.5.1
1999-04-01 0:00 ` gdb-19990209 on sparc-2.5.1 Guenther Grau
@ 1999-04-01 0:00 ` Stan Shebs
1999-04-01 0:00 ` Guenther Grau
0 siblings, 1 reply; 9+ messages in thread
From: Stan Shebs @ 1999-04-01 0:00 UTC (permalink / raw)
To: Guenther.Grau; +Cc: gdb
Date: Wed, 24 Mar 1999 23:29:50 +0100
From: Guenther Grau <Guenther.Grau@bk.bosch.de>
Stan Shebs wrote:
> Actually - everybody hold on to your hats - this isn't the first time
> that GDB has been compiled with compilers other than GCC. :-) The
> official expectation is that GDB is portable C code, and that it can
> be compiled and built by any reasonable C compiler.
Ok, after I read that, I dl'd gdb-19990209.tar.gz. Is that really
the lastest snapshot (4.17.86) everybody is talking about?
No. 4.17.86 is similar to 19990209, but comes from a branch that was
sprouted from the trunk on 15 Feb, and includes a bunch of little
fixes that were done as part of the pre-release testing process.
19990209 is derived from the repository trunk by whacking out
Cygnus-only bits. You should see fewer problems with 4.17.86.
Well, anyways, on my sparc-solaris 2.5.1 I did
setenv CC cc
./configure
make
and found a few glitches (i.e. warnings :-) and a make error.
cc is from SunWorkshop Solaris 4.2.
I attached the output during the build process. I haven't had
time to look into this further as I will need to go to sleep
now :-)
Try 4.17.86 instead - I remember something about a configuration
problem in opcodes in a snapshot, that might be the one.
Stan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: gdb-19990209 on sparc-2.5.1
1999-04-01 0:00 ` Stan Shebs
@ 1999-04-01 0:00 ` Guenther Grau
0 siblings, 0 replies; 9+ messages in thread
From: Guenther Grau @ 1999-04-01 0:00 UTC (permalink / raw)
To: gdb
Stan Shebs wrote:
> No. 4.17.86 is similar to 19990209, but comes from a branch that was
> sprouted from the trunk on 15 Feb, and includes a bunch of little
> fixes that were done as part of the pre-release testing process.
> 19990209 is derived from the repository trunk by whacking out
> Cygnus-only bits. You should see fewer problems with 4.17.86.
[...]
> Try 4.17.86 instead - I remember something about a configuration
> problem in opcodes in a snapshot, that might be the one.
Ok. I did that, and it does indeed build properly. The warnings
are still there, though. Do you accept any patches fixing the
warnings?
Guenther
P.S.: Don't expect any quick responses. I'll be out of office
till Tuesday.
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <199903252355.PAA05700@andros.cygnus.com>]
* Re: gdb-19990209 on sparc-2.5.1
[not found] <199903252355.PAA05700@andros.cygnus.com>
@ 1999-04-01 0:00 ` Guenther Grau
0 siblings, 0 replies; 9+ messages in thread
From: Guenther Grau @ 1999-04-01 0:00 UTC (permalink / raw)
To: gdb
Stan Shebs wrote:
>
> Date: Thu, 25 Mar 1999 23:37:44 +0100
> From: Guenther Grau <Guenther.Grau@bk.bosch.de>
>
> Stan Shebs wrote:
> > No. 4.17.86 is similar to 19990209, but comes from a branch that was
> > sprouted from the trunk on 15 Feb, and includes a bunch of little
> > fixes that were done as part of the pre-release testing process.
> > 19990209 is derived from the repository trunk by whacking out
> > Cygnus-only bits. You should see fewer problems with 4.17.86.
> [...]
> > Try 4.17.86 instead - I remember something about a configuration
> > problem in opcodes in a snapshot, that might be the one.
>
> Ok. I did that, and it does indeed build properly. The warnings
> are still there, though. Do you accept any patches fixing the
> warnings?
>
> Sure, but not for 4.18, it's time to get it into users' hands.
>
> Fortunately, this isn't going to be the last GDB release ever :-), so
> it's still worthwhile to make all the warnings go away. Andrew C.
> has been bashing many of them, but there are lots left...
That's fine with me. I prefer a clear statement as to when things
are wellcome, and when not. I'll see what I can do for the first
snapshot after 4.18.
On the way of leaveing my office ...
Guenther
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1999-04-01 0:00 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-01 0:00 Re[2]: 4.17.86 on AIX 4.2.0.0 using IBM xlc rodneybrown
1999-04-01 0:00 ` Andrew Cagney
1999-04-01 0:00 ` Stan Shebs
[not found] ` <199903240254.SAA11154.cygnus.gdb@andros.cygnus.com>
1999-04-01 0:00 ` Andrew Cagney
1999-04-01 0:00 ` Stan Shebs
1999-04-01 0:00 ` gdb-19990209 on sparc-2.5.1 Guenther Grau
1999-04-01 0:00 ` Stan Shebs
1999-04-01 0:00 ` Guenther Grau
[not found] <199903252355.PAA05700@andros.cygnus.com>
1999-04-01 0:00 ` Guenther Grau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox