Subject: install/19863: gdb doesn't cross build
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: netbsd-bugs
Date: 01/15/2003 21:43:03
>Number: 19863
>Category: install
>Synopsis: gdb doesn't cross build
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: install-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 15 12:44:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Lennart Augustsson
>Release: NetBSD 1.6L
>Organization:
>Environment:
>Description:
Cross building (on linux) fails when builing gdb.
>How-To-Repeat:
cd src
export MKCROSSGDB=yes
./build.sh -m pmppc
...
cc -c -O -I. -I/export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb -I/export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb/config -DHAVE_CONFIG_H -I/export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb/../include/opcode -I/export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb/../readline/.. -I../bfd -I/export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb/../bfd -I/export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb/../include -I../intl -I/export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb/../intl -I/export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb/tui -DUSE_INCLUDED_REGEX /export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb/utils.c
In file included from /usr/include/curses.h:111,
from /export/home/augustss/NetBSD/src/tools/toolchain/../../gnu/dist/toolchain/gdb/utils.c:28:
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdbool.h:39: conflicting types for `false'
../bfd/bfd.h:109: previous declaration of `false'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdbool.h:41: conflicting types for `true'
../bfd/bfd.h:109: previous declaration of `true'
*** Error code 1
>Fix:
Fine tune the lanthanium crystals.
>Release-Note:
>Audit-Trail:
>Unformatted: