Cross-compiling on NetBSD/alpha

Jaap Boender <[email protected]>
Newsgroups gmane.os.netbsd.ports.hp700
Message-ID <[email protected]>
Hi,

Don't know if this is useful in any way, but I thought I should report it. I've
been trying to cross-compile NetBSD-current for hp700 on an Alpha which also
runs NetBSD.

The first thing I ran into, during the make depend, is that stireg.h and
stivar.h weren't there. All right, no problem, I use a serial terminal anyway,
so I disabled the sti device. After that, the make depend completed without
further ado.

Then, the actual compilation failed with the following error:
/usr/src/sys/miscfs/procfs/procfs_vnops.c: In function `procfs_readdir':
/usr/src/sys/miscfs/procfs/procfs_vnops.c:1282: error: unrecognizable insn:
(insn 881 880 882 108 0x160b1bf48 (set (reg:DI 441)
        (plus:DI (reg:DI 442)
            (const_int -7424 [0xffffffffffffe300]))) -1 (nil)
    (expr_list:REG_DEAD (reg:DI 442)
        (expr_list:REG_EQUAL (const_int 7166760209311818496 [0x63757270726f6300]
)
            (nil))))
/usr/src/sys/miscfs/procfs/procfs_vnops.c:1282: internal compiler error: in extr
act_insn, at recog.c:2175

I could also do without procfs, so I disabled that too, but then this error
came up:

/usr/src/sys/net/if_ethersubr.c: In function `ether_ifattach':
/usr/src/sys/net/if_ethersubr.c:1106: error: unrecognizable insn:
(insn 53 52 54 1 0x16094ff48 (set (reg:DI 117)
        (plus:DI (reg:DI 118)
            (const_int 5760 [0x1680]))) -1 (nil)
    (expr_list:REG_DEAD (reg:DI 118)
        (expr_list:REG_EQUAL (const_int 10000000 [0x989680])
            (nil))))
/usr/src/sys/net/if_ethersubr.c:1106: internal compiler error: in extract_insn, 
at recog.c:2175

The ethernet card *is* rather indispensable, so here I decided to stop. Anyway,
I don't know if this is even supposed to work (yet), but maybe someone can use
the information.

Yours,

  Jaap Boender
-- 
Ei, wie schmeckt der Coffee süße,
Lieblicher als tausend Küsse,
Milder als Muskatenwein.
  -- J. S. Bach, Kaffee-Kantate
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.