public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* gdb 6.3 build fails on Solaris
@ 2005-05-13 20:10 Louis LeBlanc
  2005-05-15 21:58 ` Mark Kettenis
  0 siblings, 1 reply; 3+ messages in thread
From: Louis LeBlanc @ 2005-05-13 20:10 UTC (permalink / raw)
  To: gdb

Hey folks.  I'm new on this particular list, but I have tried
searching the archives (and Google) for any solution to my problem.

I've tried building gdb 6.3 on several versions of Solaris, both Intel
and Sparc architectures, and have yet to see it build completely.

On Solaris 8 Sparc, the failure is as follows:

. . .
gcc -c -g -O2     -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../intl -I../../gdb/../intl  -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ../../gdb/procfs.c
In file included from ../../gdb/procfs.c:37:
/usr/include/sys/procfs.h:153: error: parse error before "taskid_t"
/usr/include/sys/procfs.h:157: error: parse error before '}' token
/usr/include/sys/procfs.h:269: error: parse error before "taskid_t"
/usr/include/sys/procfs.h:271: error: conflicting types for `pr_filler'
/usr/include/sys/procfs.h:155: error: previous declaration of `pr_filler'
/usr/include/sys/procfs.h:272: error: conflicting types for `pr_lwp'
/usr/include/sys/procfs.h:156: error: previous declaration of `pr_lwp'
/usr/include/sys/procfs.h:273: error: parse error before '}' token
../../gdb/procfs.c:329: error: parse error before "gdb_prstatus_t"
../../gdb/procfs.c:329: warning: type defaults to `int' in declaration of `gdb_prstatus_t'
../../gdb/procfs.c:329: warning: data definition has no type or storage class


It's slightly different on Solaris 10 Intel:

. . .
gcc -c -g -O2     -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../intl -I../../gdb/../intl  -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ../../gdb/tui/tui.c
In file included from ../../gdb/tui/tui.c:48:
/usr/include/term.h:1060: error: parse error before "SGTTY"
/usr/include/term.h:1120: error: parse error before '}' token

Normally, I just try to find OS specific build information, but there
are absolutely no details regarding Solaris that I can find on the gdb
site.  I have tried both the 6.3 release and various daily snapshots
since the release, but have never gotten a successful build.  Can
anyone shed some light for me?

Thanks in advance
Lou
-- 
Louis LeBlanc                                     dev@keyslapper.net
Fully Funded Hobbyist,                   KeySlapper Extrordinaire :þ
http://www.keyslapper.net                                       Ô¿Ô¬
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

Finagle's Second Law:
  Always keep a record of data -- it indicates you've been working.

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

* Re: gdb 6.3 build fails on Solaris
  2005-05-13 20:10 gdb 6.3 build fails on Solaris Louis LeBlanc
@ 2005-05-15 21:58 ` Mark Kettenis
  2005-05-16 21:55   ` Louis LeBlanc
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Kettenis @ 2005-05-15 21:58 UTC (permalink / raw)
  To: dev; +Cc: gdb

   Date: Fri, 13 May 2005 16:10:01 -0400
   From: Louis LeBlanc <dev@keyslapper.net>

   Hey folks.  I'm new on this particular list, but I have tried
   searching the archives (and Google) for any solution to my problem.

   I've tried building gdb 6.3 on several versions of Solaris, both Intel
   and Sparc architectures, and have yet to see it build completely.

Uh yeah, gdb 6.3 was a bit goofed on SPARC.

   On Solaris 8 Sparc, the failure is as follows:

   . . .
   gcc -c -g -O2     -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../intl -I../../gdb/../intl  -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ../../gdb/procfs.c
   In file included from ../../gdb/procfs.c:37:
   /usr/include/sys/procfs.h:153: error: parse error before "taskid_t"
   /usr/include/sys/procfs.h:157: error: parse error before '}' token
   /usr/include/sys/procfs.h:269: error: parse error before "taskid_t"
   /usr/include/sys/procfs.h:271: error: conflicting types for `pr_filler'
   /usr/include/sys/procfs.h:155: error: previous declaration of `pr_filler'
   /usr/include/sys/procfs.h:272: error: conflicting types for `pr_lwp'
   /usr/include/sys/procfs.h:156: error: previous declaration of `pr_lwp'
   /usr/include/sys/procfs.h:273: error: parse error before '}' token
   ../../gdb/procfs.c:329: error: parse error before "gdb_prstatus_t"
   ../../gdb/procfs.c:329: warning: type defaults to `int' in declaration of `gdb_prstatus_t'
   ../../gdb/procfs.c:329: warning: data definition has no type or storage class

I've never seen this failure.  I've been building gdb on SPARC Solaris
2.6, 7 and 9 from time to time and I can't remember ever seeing this
particular failure.  Could you try building a recent gdb snapshot on
your system.  See http://sourceware.org/gdb on how to obtain a
snapshot.

   It's slightly different on Solaris 10 Intel:

   . . .
   gcc -c -g -O2     -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../intl -I../../gdb/../intl  -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ../../gdb/tui/tui.c
   In file included from ../../gdb/tui/tui.c:48:
   /usr/include/term.h:1060: error: parse error before "SGTTY"
   /usr/include/term.h:1120: error: parse error before '}' token

Ah, this defenitely has been fixed a while ago.

Mark

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

* Re: gdb 6.3 build fails on Solaris
  2005-05-15 21:58 ` Mark Kettenis
@ 2005-05-16 21:55   ` Louis LeBlanc
  0 siblings, 0 replies; 3+ messages in thread
From: Louis LeBlanc @ 2005-05-16 21:55 UTC (permalink / raw)
  To: gdb

On 05/15/05 11:58 PM, Mark Kettenis sat at the `puter and typed:
>    Date: Fri, 13 May 2005 16:10:01 -0400
>    From: Louis LeBlanc <dev@keyslapper.net>
> 
>    Hey folks.  I'm new on this particular list, but I have tried
>    searching the archives (and Google) for any solution to my problem.
> 
>    I've tried building gdb 6.3 on several versions of Solaris, both Intel
>    and Sparc architectures, and have yet to see it build completely.
> 
> Uh yeah, gdb 6.3 was a bit goofed on SPARC.
> 
>    On Solaris 8 Sparc, the failure is as follows:
> 
>    . . .
>    gcc -c -g -O2     -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../intl -I../../gdb/../intl  -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ../../gdb/procfs.c
>    In file included from ../../gdb/procfs.c:37:
>    /usr/include/sys/procfs.h:153: error: parse error before "taskid_t"
>    /usr/include/sys/procfs.h:157: error: parse error before '}' token
>    /usr/include/sys/procfs.h:269: error: parse error before "taskid_t"
>    /usr/include/sys/procfs.h:271: error: conflicting types for `pr_filler'
>    /usr/include/sys/procfs.h:155: error: previous declaration of `pr_filler'
>    /usr/include/sys/procfs.h:272: error: conflicting types for `pr_lwp'
>    /usr/include/sys/procfs.h:156: error: previous declaration of `pr_lwp'
>    /usr/include/sys/procfs.h:273: error: parse error before '}' token
>    ../../gdb/procfs.c:329: error: parse error before "gdb_prstatus_t"
>    ../../gdb/procfs.c:329: warning: type defaults to `int' in declaration of `gdb_prstatus_t'
>    ../../gdb/procfs.c:329: warning: data definition has no type or storage class
> 
> I've never seen this failure.  I've been building gdb on SPARC Solaris
> 2.6, 7 and 9 from time to time and I can't remember ever seeing this
> particular failure.  Could you try building a recent gdb snapshot on
> your system.  See http://sourceware.org/gdb on how to obtain a
> snapshot.

That seems to have fixed the problem nicely for Sparc Solaris 8.

>    It's slightly different on Solaris 10 Intel:
> 
>    . . .
>    gcc -c -g -O2     -I. -I../../gdb -I../../gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../gdb/../include/opcode -I../../gdb/../readline/.. -I../bfd -I../../gdb/../bfd -I../../gdb/../include -I../intl -I../../gdb/../intl  -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ../../gdb/tui/tui.c
>    In file included from ../../gdb/tui/tui.c:48:
>    /usr/include/term.h:1060: error: parse error before "SGTTY"
>    /usr/include/term.h:1120: error: parse error before '}' token
> 
> Ah, this defenitely has been fixed a while ago.

I have the snapshot downloaded, I'll try building it when I can - I'm
sure it's fine now.

Thanks for the pointer!

Lou
-- 
Louis LeBlanc                                     dev@keyslapper.net
Fully Funded Hobbyist,                   KeySlapper Extrordinaire :þ
http://www.keyslapper.net                                       Ô¿Ô¬
Key fingerprint = C5E7 4762 F071 CE3B ED51  4FB8 AF85 A2FE 80C8 D9A2

It's not an optical illusion, it just looks like one.
    -- Phil White

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

end of thread, other threads:[~2005-05-16 21:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-13 20:10 gdb 6.3 build fails on Solaris Louis LeBlanc
2005-05-15 21:58 ` Mark Kettenis
2005-05-16 21:55   ` Louis LeBlanc

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