native gcc and external image mount example
Alexander Tormasov
a.tormasov at innopolis.ru
Sat Jan 8 11:34:28 CET 2022
Hi Norman,
>
> the tool_chain_auto.run script [1] is the best starting point. It uses
> Genode's entire tool chain (GCC, binutils, build system, depot tools) on
> Genode to create the zlib binary package from source.
I encounter the following messages during this test run on nova/x86_64 (repeated with similar diagnostics):
[init -> vfs] Library ldso_so_support
[init -> vfs] COMPILE so_support.o
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 3] Warning: sbrk: sbrk not implemented
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 3] Warning: Libc RNG not configured
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 3] Warning: minherit: minherit not implemented
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 3 -> 1] Warning: sbrk: sbrk not implemented
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 3 -> 1] Warning: getrlimit called for unsupported resource 5, returning 0
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 3 -> 2] Warning: getrusage: getrusage not implemented
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 3 -> 2] Warning: sbrk: sbrk not implemented
[init -> vfs] MERGE ldso_so_support.lib.a
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 6] Warning: sbrk: sbrk not implemented
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 6] Warning: Libc RNG not configured
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 6] Warning: minherit: minherit not implemented
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 6] Error: ROM-session creation failed (ram_quota=6144, cap_quota=3, label="libdep.a")
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 6] Error: Could not open ROM session for "libdep.a"
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 6] Warning: chmod: chmod not implemented
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 6] Warning: chown: chown not implemented
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 16 -> 1 -> 17 -> 2 -> 7] Warning: utimes: utimes not implemented
[init -> vfs] make[6]: warning: Clock skew detected. Your build may be incomplete.
….
[init -> vfs] Program lib/zlib/
[init -> /bin/bash -> 5 -> 5 -> 6 -> 1 -> 18] Warning: sysconf(1) not implemented
[init -> vfs] created test/bin/x86_64/zlib/2022-01-08
[init] Warning: /bin/bash: could not revert session cap quota (service=ROM cid=265 args='cap_quota=3, label="/bin/bash -> /bin/make", ram_quota=6964, diag=0' state=CLOSED ram_quota)
[init] Warning: /bin/bash: could not revert session cap quota (service=ROM cid=213 args='cap_quota=3, label="/bin/bash -> /bin/make", ram_quota=4506, diag=0' state=CLOSED ram_quota)
[init] Warning: /bin/bash: could not revert session cap quota (service=ROM cid=37 args='cap_quota=3, label="/bin/bash -> /bin/make", ram_quota=4506, diag=0' state=CLOSED ram_quota=)
[init] child "/bin/bash" exited with exit value 234
--- end of time measurement ---
Testing " 2022-01-08 01:44:51, commit: (21.11-2-g02180443c)" in :
Testing "all" in printf.wv:
! PERF: runtime 538 seconds ok
Test succeeded
tests are finished successfully
not sure why libdep.a is requested but not created…
I suspect that it also do require settings for clock (ntp-like) to force make work better…
or these are my misconfigurations and mistakes?
Sincerely,
Alexander
More information about the users
mailing list