Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3178 - GDB 5.1.1 5.1.1-r1 will not build on PPC
Summary: GDB 5.1.1 5.1.1-r1 will not build on PPC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Pieter Van den Abeele (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-29 11:09 UTC by Jason L. Shiffer
Modified: 2006-02-04 06:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason L. Shiffer 2002-05-29 11:09:38 UTC
When ebuilding GDB 5.1.1 and above (I have not tried any earlier versions) I get
the following error message (it is the same for both versions):

-- Snip Error --

gcc -c -O2 -pipe -mmultiple -mstring     -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include
-I../intl -I./../intl  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment
-Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  utils.c
In file included from /usr/include/curses.h:111,
                 from utils.c:30:
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.3/include/stdbool.h:9:
conflicting types for `false'
../bfd/bfd.h:102: previous declaration of `false'
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.3/include/stdbool.h:11:
conflicting types for `true'
../bfd/bfd.h:102: previous declaration of `true'
make[1]: *** [utils.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdb-5.1.1/work/gdb-5.1.1/gdb'
make: *** [all-gdb] Error 2

-- End Error --

I have not looked into the error other then to note that this does not happen
when building against gdb-5.2.cvs20020401 obtained from debian.
Comment 1 Olivier Reisch (RETIRED) gentoo-dev 2002-06-02 13:26:59 UTC
fixed in gdb-5.1.1-r2