This is the mail archive of the cgen@sourceware.org mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Unable to find file ... cgen-opc.scm


My workstation was upgraded from Red Hat eEnterprise Linux 3 to
Red Hat Enterprise Linux 5.1, and now my cgen rebuilds fail.

After changing the cpu file, I always to a full rebuild, i.e.:
cd ..;rm -rf bld-arc;mkdir bld-arc;cd bld-arc;../src/configure  --target=arc-elf --enable-cgen-maint --with-guile=/usr;make all-sim CFLAGS=-g

That worked fine before the upgrade.  However, now I get:

...
make[3]: Entering directory `/scratch/cgen-20070427-arc-int/bld-arc/opcodes'
make run-cgen arch=arc prefix=arc options=opinst \
                archfile=../../src/opcodes/../cpu/arc.cpu \
                opcfile=../../src/opcodes/../cpu/arc.opc extrafiles=opinst
make[4]: Entering directory `/scratch/cgen-20070427-arc-int/bld-arc/opcodes'
/bin/sh ../../src/opcodes/cgen.sh opcodes ../../src/opcodes "`if test -f ../guile/libguile/guile ; then echo ../guile/libguile/guile; else echo guile ; fi` -l ../../src/opcodes/../cgen/guile.scm -s" \
          ../../src/opcodes/../cgen "-v" arc arc ../../src/opcodes/../cpu/arc.cpu ../../src/opcodes/../cpu/arc.opc \
          "opinst" "opinst"
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "../../src/opcodes/../cgen/cgen-opc.scm" in load path
make[4]: *** [run-cgen] Error 1
make[4]: Leaving directory `/scratch/cgen-20070427-arc-int/bld-arc/opcodes'
make[3]: *** [stamp-arc] Error 2
make[3]: Leaving directory `/scratch/cgen-20070427-arc-int/bld-arc/opcodes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/scratch/cgen-20070427-arc-int/bld-arc/opcodes'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/scratch/cgen-20070427-arc-int/bld-arc/opcodes'
make: *** [all-opcodes] Error 2

Is there something wrong with the guile 1.8 that comes with RHEL 5, or
do I need to apply some patch to cgen?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]