* Unable to find file ... cgen-opc.scm
@ 2008-03-28 15:38 Joern Rennecke
2008-03-28 16:24 ` Frank Ch. Eigler
2008-03-28 16:54 ` Will Newton
0 siblings, 2 replies; 3+ messages in thread
From: Joern Rennecke @ 2008-03-28 15:38 UTC (permalink / raw)
To: cgen
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unable to find file ... cgen-opc.scm
2008-03-28 15:38 Unable to find file ... cgen-opc.scm Joern Rennecke
@ 2008-03-28 16:24 ` Frank Ch. Eigler
2008-03-28 16:54 ` Will Newton
1 sibling, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2008-03-28 16:24 UTC (permalink / raw)
To: Joern Rennecke; +Cc: cgen
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Unable to find file ... cgen-opc.scm
2008-03-28 15:38 Unable to find file ... cgen-opc.scm Joern Rennecke
2008-03-28 16:24 ` Frank Ch. Eigler
@ 2008-03-28 16:54 ` Will Newton
1 sibling, 0 replies; 3+ messages in thread
From: Will Newton @ 2008-03-28 16:54 UTC (permalink / raw)
To: Joern Rennecke; +Cc: cgen
On Fri, Mar 28, 2008 at 3:38 PM, Joern Rennecke <joernr@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'
> 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?
I have seen these kind of issues with cgen when using relative paths.
cgen (or guile) seems to prefer paths be absolute where possible, e.g.
CPUDIR.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-03-28 16:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-28 15:38 Unable to find file ... cgen-opc.scm Joern Rennecke
2008-03-28 16:24 ` Frank Ch. Eigler
2008-03-28 16:54 ` Will Newton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).