Hi Christian, When I tried building the tool chain using './tool_chain x86' , after a few minutes the script ended with this error.
After this output: "Using host-linux.o for host machine hooks.Links are now set up to build a cross-compiler from armv7l-unknown-linux-gnueabi to x86_64-pc-elf.mkdir -p -- .depsmkdir -p -- build/.depsmkdir -p -- ada/.depsmkdir -p -- c/.depsmkdir -p -- cp/.depsmkdir -p -- fortran/.depsmkdir -p -- go/.depsmkdir -p -- java/.depsmkdir -p -- lto/.depsmkdir -p -- objc/.depsmkdir -p -- objcp/.depsmkdir -p -- c-family/.depsmkdir -p -- common/.deps "it started to give these warnings : "/home/lucid/Desktop/genode-15.08/tool/contrib/gcc-4.9.2/gcc/genhooks.c: In function ‘void emit_documentation(const char*)’:/home/lucid/Desktop/genode-15.08/tool/contrib/gcc-4.9.2/gcc/genhooks.c:131:3: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] while (fscanf (f, "%*[^@]"), buf[0] = '\0', ^/home/lucid/Desktop/genode-15.08/tool/contrib/gcc-4.9.2/gcc/genhooks.c:140:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f, "%999s", buf); ^/home/lucid/Desktop/genode-15.08/tool/contrib/gcc-4.9.2/gcc/genhooks.c:193:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f, "%5[^ \n]", buf); ^/home/lucid/Desktop/genode-15.08/tool/contrib/gcc-4.9.2/gcc/genhooks.c:199:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f, "%999s", buf); ^In file included from /home/lucid/Desktop/genode-15.08/tool/contrib/gcc-4.9.2/gcc/c/c-decl.c:10542:0:./gt-c-c-decl.h: In function ‘void gt_ggc_mx_c_binding(void*)’:./gt-c-c-decl.h:93:50: warning: switch condition has type bool [-Wswitch-bool] switch (TREE_CODE ((*x).decl) == LABEL_DECL) ^./gt-c-c-decl.h: In function ‘void gt_ggc_mx_lang_tree_node(void*)’:./gt-c-c-decl.h:148:61: warning: switch condition has type bool [-Wswitch-bool] switch (TREE_CODE (&((*x)).generic) == IDENTIFIER_NODE) ^./gt-c-c-decl.h: In function ‘void gt_pch_nx_c_binding(void*)’:./gt-c-c-decl.h:735:50: warning: switch condition has type bool [-Wswitch-bool] switch (TREE_CODE ((*x).decl) == LABEL_DECL) ^./gt-c-c-decl.h: In function ‘void gt_pch_nx_lang_tree_node(void*)’:./gt-c-c-decl.h:790:61: warning: switch condition has type bool [-Wswitch-bool] switch (TREE_CODE (&((*x)).generic) == IDENTIFIER_NODE) ^./gt-c-c-decl.h: In function ‘void gt_pch_p_9c_binding(void*, void*, gt_pointer_operator, void*)’:./gt-c-c-decl.h:1372:46: warning: switch condition has type bool [-Wswitch-bool] switch (TREE_CODE ((*x).decl) == LABEL_DECL) ^./gt-c-c-decl.h: In function ‘void gt_pch_p_14lang_tree_node(void*, void*, gt_pointer_operator, void*)’:./gt-c-c-decl.h:1438:57: warning: switch condition has type bool [-Wswitch-bool] switch (TREE_CODE (&((*x)).generic) == IDENTIFIER_NODE) ^" And after the warnings: "Out of memory: kill process 5132 (gnome-session) score 52875 or a childKilled process 5240 (ssh-agent) vsz:2704kB, anon-rss:208kB, file-rss:40kBOut of memory: kill process 5132 (gnome-session) score 52536 or a childKilled process 5427 (gnome-power-man) vsz:18416kB, anon-rss:1448kB, file-rss:192kBOut of memory: kill process 5132 (gnome-session) score 50233 or a childKilled process 5430 (polkit-gnome-au) vsz:16788kB, anon-rss:1140kB, file-rss:84kBOut of memory: kill process 5132 (gnome-session) score 48134 or a childKilled process 5431 (metacity) vsz:27500kB, anon-rss:1996kB, file-rss:648kBOut of memory: kill process 5132 (gnome-session) score 44871 or a childKilled process 5432 (gnome-panel) vsz:37664kB, anon-rss:3604kB, file-rss:464kBOut of memory: kill process 24338 (make) score 43282 or a childKilled process 25429 (genattrtab) vsz:322012kB, anon-rss:320352kB, file-rss:96kBmake[3]: *** [s-attrtab] Killedmake[3]: *** Waiting for unfinished jobs....make[2]: *** [all-gcc] Error 2make[1]: *** [all] Error 2make: *** [build/x86/gcc/gcc/g++] Error 2 "
Also tested "./tool_chain arm" and got a similar end result: "cclplus: out of memory allocating 14138440 bytes after a total of 35745792 bytesmake[3]: *** [insn-recog.o] Error 1make[3]: *** Waiting for unfinished jobs....make[2]: *** [all-gcc] Error 2make[1]: *** [all] Error 2make: *** [build/arm/gcc/gcc/g++] Error 2 "I haven't found any solutions online for this. What am I doing wrong?
Regards,João Ramos
Date: Thu, 10 Sep 2015 09:46:52 +0200 From: christian.helmuth@...1... To: genode-main@lists.sourceforge.net Subject: Re: Problem running the demo
Hello João,
On Thu, Sep 10, 2015 at 01:50:00AM +0100, João Rocheteau Ramos wrote:
I'm using Genode-15.08 already
This is the Genode OS Framework version. What Ben was referring to is the tool-chain version. For Genode 15.08 you need the current tool chain which is 15.05. You have to option to get it
You can download from Sourceforge http://sourceforge.net/projects/genode/files/genode-toolchain/
You may build the tool chain by yourself via the script in <genode-dir>/tool/tool_chain
More detailed information about the Genode tool chain can be found at
http://genode.org/download/tool-chain
Regards
Christian Helmuth Genode Labs
http://www.genode-labs.com/ · http://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main