[Nestedvm] Hardtime building nestedVM with gcc 4.6.1 under Ubuntu 11.04

C.F.Scheidecker Antunes cf.antunes at gmail.com
Tue Jan 3 17:10:07 EST 2012


So I've found this and changed the links:

http://git.megacz.com/?p=nestedvm.git;a=commitdiff;h=d5566fee6b4ea8e85ddea33ce20587e7c523bc25

To the ones with brianweb

-darcs_gcclass = http://darcs.brianweb.net/gcclass
-darcs_classgen = http://darcs.brianweb.net/classgen
+darcs_gcclass = http://gcclass.ibex.org/
+darcs_classgen = http://classgen.ibex.org/

It almost work and the error I have now is that it cannot download the
gcc core, let me do some research on that too:

http://mirrors.kernel.org/gnu/gcc/gcc-3.3.6/gcc-core-3.3.6.tar.gz

nestedvm$ make
make -C upstream tasks/build_darcs_classgen
usr="/home/antunes/nestedvm/nestedvm/upstream/install" \
		MIPS_CFLAGS="-O3 -mmemcpy -ffunction-sections -fdata-sections
-falign-functions=512 -fno-rename-registers -fno-schedule-insns
-fno-delayed-branch -freduce-all-givs -march=mips1 -I. -Wall
-Wno-unused" \
		MIPS_PCFLAGS="-O3 -mmemcpy -ffunction-sections -fdata-sections
-falign-functions=512 -fno-rename-registers -fno-schedule-insns
-fno-delayed-branch -freduce-all-givs -march=mips1 -I. -Wall
-Wno-unused --big-endian" \
		MIPS_LDFLAGS="-march=mips1 --static -Wl,--gc-sections"
make[1]: Entrando no diretório `/home/antunes/nestedvm/nestedvm/upstream'
if [ -e tasks/extract_darcs_classgen ]; then echo "Error:
tasks/extract_darcs_classgen exists. something isn't right"; false;
else true; fi
mkdir -p build
if [ -z "http://darcs.brianweb.net/classgen" ]; then echo "No darcs
url for classgen" >&2; false; fi
if [ -d "/home/antunes/nestedvm/nestedvm/_darcs" ]; then \
		cd build && darcs get --repo-name="classgen" --verbose
"http://darcs.brianweb.net/classgen"; \
	else \
		mkdir -p "build/" && cd "build/"; \
		darcs get --repo-name=classgen http://darcs.brianweb.net/classgen; \
	fi
***********************************************************************
  _______   Sorry for the wait! The repository you are fetching is
 |       |  using the DEPRECATED 'old-fashioned' format. I'm getting a
 | O   O |  hashed copy instead, but this may take a while.
 |  ___  |
 | /   \ |  We recommend that the maintainer upgrade the remote copy
 |_______|  as well. See http://wiki.darcs.net/OF for more information.

***********************************************************************
Finished getting.
touch tasks/extract_darcs_classgen
cd "build/classgen" && make
make[2]: Entrando no diretório
`/home/antunes/nestedvm/nestedvm/upstream/build/classgen'
javac -source 1.3 -target 1.3 -d build
src/org/ibex/classgen/ClassFile.java
src/org/ibex/classgen/FieldGen.java
src/org/ibex/classgen/opt/Arena.java
src/org/ibex/classgen/ConstantPool.java
src/org/ibex/classgen/Type.java src/org/ibex/classgen/HasFlags.java
src/org/ibex/classgen/HasAttributes.java
src/org/ibex/classgen/MethodGen.java
src/org/ibex/classgen/Context.java
src/org/ibex/classgen/util/Sort.java src/org/ibex/classgen/JSSA.java
src/org/ibex/classgen/CGConst.java
make[2]: Saindo do diretório
`/home/antunes/nestedvm/nestedvm/upstream/build/classgen'
touch tasks/build_darcs_classgen
make[1]: Saindo do diretório `/home/antunes/nestedvm/nestedvm/upstream'
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
javac -source 1.3 -target 1.3 -classpath
"build:upstream/build/classgen/build" -d build
src/org/ibex/nestedvm/ClassFileCompiler.java
src/org/ibex/nestedvm/Compiler.java
src/org/ibex/nestedvm/Interpreter.java
src/org/ibex/nestedvm/JavaSourceCompiler.java
src/org/ibex/nestedvm/Registers.java
src/org/ibex/nestedvm/RuntimeCompiler.java
src/org/ibex/nestedvm/Runtime.java
src/org/ibex/nestedvm/UnixRuntime.java
src/org/ibex/nestedvm/UsermodeConstants.java
src/org/ibex/nestedvm/util/ELF.java
src/org/ibex/nestedvm/util/InodeCache.java
src/org/ibex/nestedvm/util/Platform.java
src/org/ibex/nestedvm/util/Seekable.java
src/org/ibex/nestedvm/util/Sort.java
make -C upstream tasks/build_gcc
usr="/home/antunes/nestedvm/nestedvm/upstream/install" \
		MIPS_CFLAGS="-O3 -mmemcpy -ffunction-sections -fdata-sections
-falign-functions=512 -fno-rename-registers -fno-schedule-insns
-fno-delayed-branch -freduce-all-givs -march=mips1 -I. -Wall
-Wno-unused" \
		MIPS_PCFLAGS="-O3 -mmemcpy -ffunction-sections -fdata-sections
-falign-functions=512 -fno-rename-registers -fno-schedule-insns
-fno-delayed-branch -freduce-all-givs -march=mips1 -I. -Wall
-Wno-unused --big-endian" \
		MIPS_LDFLAGS="-march=mips1 --static -Wl,--gc-sections"
make[1]: Entrando no diretório `/home/antunes/nestedvm/nestedvm/upstream'
if [ -z "http://mirrors.kernel.org/gnu/gcc/gcc-3.3.6/gcc-core-3.3.6.tar.gz"
]; then echo "No url for gcc-core" >&2; false; fi
mkdir -p download
cd download && curl -LO
http://mirrors.kernel.org/gnu/gcc/gcc-3.3.6/gcc-core-3.3.6.tar.gz
/bin/sh: curl: not found
make[1]: ** [tasks/download_gcc-core] Erro 127
make[1]: Saindo do diretório `/home/antunes/nestedvm/nestedvm/upstream'
make: ** [upstream/tasks/build_gcc] Erro 2

On Tue, Jan 3, 2012 at 3:01 PM, C.F.Scheidecker Antunes
<cf.antunes at gmail.com> wrote:
> It seems to me that the URL does not exist, there is another at
> http://www.brianweb.net/misc/darcsbug/nestedvm.brian/_darcs/inventory
> that seem to work fine.
>
> On Tue, Jan 3, 2012 at 2:58 PM, C.F.Scheidecker Antunes
> <cf.antunes at gmail.com> wrote:
>> Thanks Louis,
>>
>> I've installed DARCS and it got Postfix with it.
>>
>> I then tried make again and got the following error output:
>>
>> make -C upstream tasks/build_darcs_classgen
>> usr="/home/antunes/nestedvm/nestedvm/upstream/install" \
>>                MIPS_CFLAGS="-O3 -mmemcpy -ffunction-sections -fdata-sections
>> -falign-functions=512 -fno-rename-registers -fno-schedule-insns
>> -fno-delayed-branch -freduce-all-givs -march=mips1 -I. -Wall
>> -Wno-unused" \
>>                MIPS_PCFLAGS="-O3 -mmemcpy -ffunction-sections -fdata-sections
>> -falign-functions=512 -fno-rename-registers -fno-schedule-insns
>> -fno-delayed-branch -freduce-all-givs -march=mips1 -I. -Wall
>> -Wno-unused --big-endian" \
>>                MIPS_LDFLAGS="-march=mips1 --static -Wl,--gc-sections"
>> make[1]: Entrando no diretório `/home/antunes/nestedvm/nestedvm/upstream'
>> if [ -e tasks/extract_darcs_classgen ]; then echo "Error:
>> tasks/extract_darcs_classgen exists. something isn't right"; false;
>> else true; fi
>> mkdir -p build
>> if [ -z "http://classgen.ibex.org/" ]; then echo "No darcs url for
>> classgen" >&2; false; fi
>> if [ -d "/home/antunes/nestedvm/nestedvm/_darcs" ]; then \
>>                cd build && darcs get --repo-name="classgen" --verbose
>> "http://classgen.ibex.org/"; \
>>        else \
>>                mkdir -p "build/" && cd "build/"; \
>>                darcs get --repo-name=classgen http://classgen.ibex.org/; \
>>        fi
>>
>> darcs failed:  Not a repository: http://classgen.ibex.org (Failed to
>> download URL http://classgen.ibex.org/_darcs/inventory: HTTP response
>> code said error)
>> make[1]: ** [tasks/extract_darcs_classgen] Erro 2
>> make[1]: Saindo do diretório `/home/antunes/nestedvm/nestedvm/upstream'
>> make: ** [upstream/tasks/build_darcs_classgen] Erro 2
>>
>> On Tue, Jan 3, 2012 at 2:35 PM, Louis Santillan <lpsantil at gmail.com> wrote:
>>> The error message you're getting is because of a missing darcs program (SCM
>>> like git or svn or cvs).  Try doing a sudo apt-get install darcs then rerun
>>> make.
>>>
>>> -L
>>>
>>>
>>> On Tuesday, January 3, 2012, C.F.Scheidecker Antunes <cf.antunes at gmail.com>
>>> wrote:
>>>> Hello all,
>>>>
>>>> I am having a hard time here trying nestedVM.
>>>>
>>>> Seems to me that building an older version of gcc is something not
>>>> practical, therefore I wonder if someone has a work around.
>>>>
>>>> The error I have is:
>>>>
>>>> nestedvm$ make
>>>> make -C upstream tasks/build_darcs_classgen
>>>> usr="/home/antunes/nestedvm/nestedvm/upstream/install" \
>>>>             MIPS_CFLAGS="-O3 -mmemcpy -ffunction-sections
>>>> -fdata-sections -falign-functions=512 -fno-rename-registers
>>>> -fno-schedule-insns -fno-delayed-branch -freduce-all-givs -march=mips1
>>>> -I. -Wall -Wno-unused" \
>>>>             MIPS_PCFLAGS="-O3 -mmemcpy -ffunction-sections
>>>> -fdata-sections -falign-functions=512 -fno-rename-registers
>>>> -fno-schedule-insns -fno-delayed-branch -freduce-all-givs -march=mips1
>>>> -I. -Wall -Wno-unused --big-endian" \
>>>>             MIPS_LDFLAGS="-march=mips1 --static -Wl,--gc-sections"
>>>> make[1]: Entrando no diretório `/home/antunes/nestedvm/nestedvm/upstream'
>>>> if [ -e tasks/extract_darcs_classgen ]; then echo "Error:
>>>> tasks/extract_darcs_classgen exists. something isn't right"; false;
>>>> else true; fi
>>>> mkdir -p build
>>>> if [ -z "http://classgen.ibex.org/" ]; then echo "No darcs url for
>>>> classgen" >&2; false; fi
>>>> if [ -d "/home/antunes/nestedvm/nestedvm/_darcs" ]; then \
>>>>             cd build && darcs get --repo-name="classgen" --verbose
>>>> "http://classgen.ibex.org/"; \
>>>>       else \
>>>>             mkdir -p "build/" && cd "build/"; \
>>>>             darcs get --repo-name=classgen http://classgen.ibex.org/; \
>>>>       fi
>>>> /bin/sh: darcs: not found
>>>> make[1]: ** [tasks/extract_darcs_classgen] Erro 127
>>>> make[1]: Saindo do diretório `/home/antunes/nestedvm/nestedvm/upstream'
>>>> make: ** [upstream/tasks/build_darcs_classgen] Erro 2
>>>>
>>>> Thanks,
>>>>
>>>> Carlos.
>>>>
>>>> _______________________________________________
>>>> Nestedvm mailing list
>>>> Nestedvm at lists.hcoop.net
>>>> https://lists.hcoop.net/listinfo/nestedvm
>>>>



More information about the Nestedvm mailing list