[crisos] SDK make problems: gdb, crypto/tgr192.c

[ Thread Index | Date Index | More lists.tuxfamily.org/crisos Archives ]


Dear All,

I've been playing around with the foxboard for the past month,
currently running it on the prebuilt CrisOs firmware. I am very
pleased that python was a prebuilt package installable using ipkg.

I need to start using the GPIO and I2C pins for the next stage in my
project, so I have been trying to compile the SDK.

My workflow goes something along the lines of

# cd Fox/CrisOs/darwinfox
# svn up
(check for patch upgrades)
# make update
(update openwrt trunk)
# make menuconfig
(select some options, modules and libraries)
# make verbose



I have had a few problems with the make process, the first of which
was GDB not supporting cris. I removed it from the development
toolchain, hence it does not cause a compilation problem.


Among other compilation errors (which I have resolved through
different package selection), I am currently stuck on:

CC [M]  crypto/tgr192.o
crypto/tgr192.c: In function 'tgr192_round':
crypto/tgr192.c:417: error: unrecognizable insn:
(insn 222 118 223 2 crypto/tgr192.c:414 (set (reg/f:SI 9 r9 [95])
        (plus:SI (symbol_ref:SI ("sbox4") [flags 0x2] <var_decl
0x40738bb0 sbox4>)
            (reg:SI 9 r9 [92]))) -1 (nil))
crypto/tgr192.c:417: internal compiler error: in extract_insn, at recog.c:1990
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[7]: *** [crypto/tgr192.o] Error 1
make[6]: *** [crypto] Error 2
make[6]: Leaving directory
`/home/mike/Fox/CrisOs/darwinfox/openwrt/build_dir/linux-etrax/linux-2.6.25.20'
make[5]: *** [/home/mike/Fox/CrisOs/darwinfox/openwrt/build_dir/linux-etrax/linux-2.6.25.20/.modules]
Error 2
make[5]: Leaving directory
`/home/mike/Fox/CrisOs/darwinfox/openwrt/target/linux/etrax'
make[4]: *** [compile] Error 2
make[4]: Leaving directory
`/home/mike/Fox/CrisOs/darwinfox/openwrt/target/linux'
make[3]: *** [target/linux/compile] Error 2
make[3]: Leaving directory `/home/mike/Fox/CrisOs/darwinfox/openwrt'
make[2]: *** [/home/mike/Fox/CrisOs/darwinfox/openwrt/staging_dir/target-cris_uClibc-0.9.30/stamp/.target_compile]
Error 2
make[2]: Leaving directory `/home/mike/Fox/CrisOs/darwinfox/openwrt'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/home/mike/Fox/CrisOs/darwinfox/openwrt'
make: *** [verbose] Error 2

This package does not appear to be selected in the menuconfig or
kernel_menuconfig, however it is still compiled, and causing problems.


Has anyone else had this problem? If so, could you please point me in
the right direction.


Also - just out of interest - is it possible to access the GPIO
devices (/dev/gpioa, etc) from the prebuilt image using python?


Cheers,
Mike

---
CrisOs mailing list
Official multi-language http://www.crisos.org/ mailing list

For unsubscribe send empty mail to: crisos-request@xxxxxxxxxxxxxxxxxxx with subject unsubscribe.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/