[ECOS] GDB for Powerpc build problems

Bart Veer bartv at redhat.com
Fri Mar 10 14:17:31 UTC 2000


>>>>> "Hans" == Jepsen Hans Peter <hans_peter_jepsen at Danfoss.com> writes:

    Hans> When I try to build gdb for powerpc, I get this error:

    Hans> bits.c: In function `MASKED':
    Hans> bits.c:53: internal error--insn does not satisfy its constraints:
    Hans> (jump_insn 142 39 41 (parallel[ 
    Hans>             (set (pc)
    Hans>                 (label_ref 140))
    Hans>             (set (reg:SI 88 SAR)
    Hans>                 (reg:SI 19 %r19))
    Hans>         ] ) 270 {decrement_and_branch_until_zero+5} (nil)
    Hans>     (expr_list:REG_BR_PRED (const_int 14 [0xe])
    Hans>         (nil)))
    Hans> make[2]: *** [bits.o] Error 1
    Hans> make[2]: Leaving directory
    Hans> `/export/ecos/recent-tools/BUILD/insight-20000204/sim/ppc'
    Hans> make[1]: *** [all] Error 2
    Hans> make[1]: Leaving directory
    Hans> `/export/ecos/recent-tools/BUILD/insight-20000204/sim'
    Hans> make: *** [all-sim] Error 2

    Hans> I does not make any difference, whether I use the gdb-4.18
    Hans> sources or the recent insight sources.

    Hans> The gcc I am using is: gcc version 2.95.2 19991024 (release)
    Hans> for hppa1.1-hp-hpux10.20

This looks like a problem with gcc under HP-UX, unrelated to gdb or
the PowerPC support. Unfortunately searching for "hpux internal error"
on the gcc mailing list archives reveals a lot of matches, so you will
have to do a bit more searching. You may be able to find a gcc patch
for this specific problem, or you may have more luck with another
release of gcc or with a more recent snapshot - no promises I am
afraid. Good starting points would be:

    http://gcc.gnu.org/
    http://gcc.gnu.org/lists.html

Bart Veer // eCos net maintainer



More information about the users mailing list