Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299600 - sys-devel/gdb-7.0 fails to build with USE=multitarget
Summary: sys-devel/gdb-7.0 fails to build with USE=multitarget
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 216368
Blocks: 296389
  Show dependency tree
 
Reported: 2010-01-04 13:05 UTC by Knut St. Osmundsen
Modified: 2010-01-05 02:36 UTC (History)
0 users

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


Attachments
New version of 20_all_gdb-tdep-opcode-include-workaround.patch (20_all_gdb-tdep-opcode-include-workaround.patch,1001 bytes, patch)
2010-01-04 13:06 UTC, Knut St. Osmundsen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Knut St. Osmundsen 2010-01-04 13:05:11 UTC
Another file with #including "opcodes/xxx.h" in gdb/, see #216368.

Reproducible: Always

Actual Results:  
x86_64-pc-linux-gnu-gcc -O2 -pipe -fno-omit-frame-pointer -ggdb   -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode  -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber  -I./gnulib -Ignulib  -DMI_OUT=1 -DTUI=1   -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts  -c -o lm32-tdep.o -MT lm32-tdep.o -MMD -MP -MF .deps/lm32-tdep.Tpo lm32-tdep.c
lm32-tdep.c:38:31: error: opcodes/lm32-desc.h: No such file or directory
lm32-tdep.c: In function 'lm32_analyze_prologue':
lm32-tdep.c:144: error: 'OP_SW' undeclared (first use in this function)
lm32-tdep.c:144: error: (Each undeclared identifier is reported only once
lm32-tdep.c:144: error: for each function it appears in.)
lm32-tdep.c:153: error: 'OP_ADDI' undeclared (first use in this function)
lm32-tdep.c:161: error: 'OP_ADD' undeclared (first use in this function)
lm32-tdep.c: In function 'lm32_breakpoint_from_pc':
lm32-tdep.c:225: error: 'OP_RAISE' undeclared (first use in this function)
make[2]: *** [lm32-tdep.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gdb-7.0/work/gdb-7.0/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gdb-7.0/work/gdb-7.0'
make: *** [all] Error 2
 * 
 * ERROR: sys-devel/gdb-7.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2651:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-devel/gdb-7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gdb-7.0/temp/environment'.
 *
Comment 1 Knut St. Osmundsen 2010-01-04 13:06:13 UTC
Created attachment 215165 [details, diff]
New version of 20_all_gdb-tdep-opcode-include-workaround.patch