Joern Rennecke | 28 Mar 2008 16:38
Favicon

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'
(Continue reading)

Frank Ch. Eigler | 28 Mar 2008 17:23
Picon
Favicon
Gravatar

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

Hi -

On Fri, Mar 28, 2008 at 03:38:23PM +0000, Joern Rennecke wrote:
> My workstation was upgraded from Red Hat eEnterprise Linux 3 to
> Red Hat Enterprise Linux 5.1, and now my cgen rebuilds fail.
> [...]
> ERROR: In procedure primitive-load-path:
> ERROR: Unable to find file "../../src/opcodes/../cgen/cgen-opc.scm" in load path
> [...]

This one is new to me.  Does strace identify the attempted open?
Does this happen with absolute configure-$srcdir?

- FChE

Will Newton | 28 Mar 2008 17:54
Picon

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

On Fri, Mar 28, 2008 at 3:38 PM, Joern Rennecke <joernr <at> arc.com> wrote:
> 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'
(Continue reading)


Gmane