This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1549: gdb 6.0 fails to build on openbsd-current i386, errors in solib-sunos.c
- From: han at mijncomputer dot nl
- To: gdb-gnats at sources dot redhat dot com
- Date: 10 Feb 2004 10:22:13 -0000
- Subject: build/1549: gdb 6.0 fails to build on openbsd-current i386, errors in solib-sunos.c
- Reply-to: han at mijncomputer dot nl
>Number: 1549
>Category: build
>Synopsis: gdb 6.0 fails to build on openbsd-current i386, errors in solib-sunos.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Feb 10 10:28:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: han@mijncomputer.nl
>Release: gdb 6.0
>Organization:
>Environment:
openbsd-current i386
>Description:
See the original bug report at
http://mail.gnu.org/archive/html/bug-gdb/2004-02/msg00000.html
The errors are
egcc -c -O2 -march=3Di686 -pipe -DYYDEBUG=3D0 -I. -I. -I./config -DLOCAL=
EDIR=3D"\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode =
-I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../i=
ntl -DMI_OUT=3D1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat =
-Wparentheses -Wpointer-arith -Wuninitialized solib-sunos.c
In file included from solib-sunos.c:33:
/usr/include/link.h:66: error: redefinition of `struct so_map'
solib-sunos.c: In function `solib_add_common_symbols':
solib-sunos.c:179: error: storage size of `inferior_rtc_symb' isn't known
solib-sunos.c: In function `first_link_map_member':
solib-sunos.c:318: error: invalid application of `sizeof' to an incomplete =
type
solib-sunos.c:319: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:323: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:323: error: invalid use of undefined type `struct _dynamic'
solib-sunos.c:324: error: invalid application of `sizeof' to an incomplete =
type
solib-sunos.c:325: error: invalid use of undefined type `struct section_dis=
patch_table'
solib-sunos.c:325: error: invalid use of undefined type `struct section_dis=
patch_table'
solib-sunos.c: In function `disable_break':
...
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: