And something to be mentioned:
During compilation memory usage is normal. Memory problems occur only after
when error is returned.
On Wednesday, September 3, 2014 4:03 PM, Ahmad Nouralizadeh
<ahmadnouraliza...@yahoo.com> wrote:
Hi!
I use cil 1.6. When I try that switch I receive:
/home/ahmad/cilabp-master/CIL/obj/x86_LINUX/cilly.asm.exe: unknown option
`--useCaseRange'.
and Do you know how to resolve this error?:
...
gcc-4.6.real: error: elf_i386: No such file or directory
gcc-4.6.real: error: elf_i386: No such file or directory
gcc-4.6.real: error: elf_i386: No such file or directory
make[4]: *** [arch/x86/kernel/acpi/realmode/wakeup.elf] Error 1
make[3]: *** [arch/x86/kernel/acpi/realmode/wakeup.bin] Error 2
make[2]: *** [arch/x86/kernel/acpi] Error 2
make[1]: *** [arch/x86/kernel] Error 2t
make: *** [arch/x86] Error 2
make: *** Waiting for unfinished jobs....
CC fs/fs-writeback.o
...
Many Thanks!
--------------------------------------------
On Tue, 9/2/14, Gabriel Kerneis <gabr...@kerneis.info> wrote:
Subject: Re: [CIL users] Out of memory error when compiling linux 2.6 using CIL
To: "Ahmad Nouralizadeh" <ahmadnouraliza...@yahoo.com>
Cc: cil-users@lists.sourceforge.net
Date: Tuesday, September 2, 2014, 9:07 PM
On Tue, Sep 02, 2014 at
11:05:19PM +0200, Gabriel Kerneis wrote:
> On Tue, Sep 02, 2014 at 02:19:12AM -0700,
Ahmad Nouralizadeh wrote:
> > And
after that memory usage started to increase until I ran out
of memory!
>
> Only a
guess: try adding the switch --useLogicalOperators, it
avoids
> expansion of switch range
statements.
Sorry, the
correct flag is --useCaseRange (but --useLogicalOperators
is
useful too on large pieces of code).
--
Gabriel
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users