First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 150963
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Manuel Lauss <mano@roarinelk.homelinux.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gdb-6.5-sh-buildfix.patch fix sh detection in gdb's sim/ directory patch Manuel Lauss 2006-10-11 22:45 0000 324 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 150963 depends on: Show dependency tree
Show dependency graph
Bug 150963 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-11 22:41 0000
GDB-6.5 (beginning with 6.3 IIRC) does not build for SuperH targets unless
--target=sh-linux (or sh-linux-elf, ..) is passed to the configure script.
A 'crossdev -t sh4 --ex-only --ex-gdb'  build fails wtith the following error:

i686-pc-linux-gnu-ar: creating libgdb.a
i686-pc-linux-gnu-ranlib libgdb.a
make[2]: *** No rule to make target `../sim/sh/libsim.a', needed by `gdb'. 
Stop.
make[2]: Leaving directory `/var/tmp/portage/gdb-6.5-r2/work/gdb-6.5/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/var/tmp/portage/gdb-6.5-r2/work/gdb-6.5'
make: *** [all] Error 2

A simple fix is to edit sim/configure.ac and replace sh-*-*) with sh*-*), rerun
autoconf and start the top configure script.

------- Comment #1 From Manuel Lauss 2006-10-11 22:45:21 0000 -------
Created an attachment (id=99406) [edit]
fix sh detection in gdb's sim/ directory

The patch to fix shX detection. Works with sh-linux-elf, sh-linux 
sh4-unknown-linux-gnu variants.

------- Comment #2 From SpanKY 2007-03-04 23:25:53 0000 -------
added to gdb-6.6-r1, thanks for the fix

First Last Prev Next    No search results available      Search page      Enter new bug