regarding Sculpt on virt_qemu_riscv

Pranab Kumar Rout cs21m045 cs21m045 at smail.iitm.ac.in
Wed Feb 15 08:25:35 CET 2023


Hi,
Based on the previous discussion I was able to overcome that obstacle. Now
while moving further, I am getting this error in bash_minimal:
checking library dependencies...
  Library ldso_so_support
    COMPILE  so_support.o
    MERGE    ldso_so_support.lib.a
  Library libc
    CONVERT  libc.symbols.s
    ASSEMBLE libc.symbols.o
    MERGE    libc.abi.so
  Library noux
    MERGE    noux.lib.a
  Library posix
    CONVERT  posix.symbols.s
    ASSEMBLE posix.symbols.o
    MERGE    posix.abi.so
  Library libm
    CONVERT  libm.symbols.s
    ASSEMBLE libm.symbols.o
    MERGE    libm.abi.so
  Program noux-pkg/bash-minimal/bash-minimal
    CONFIG   bash-minimal
    BUILD    bash-minimal
      [bash-minimal]
      [bash-minimal]
 ***********************************************************
      [bash-minimal]    *
      *
      [bash-minimal]    * GNU bash, version 4.4.18(1)-release
(riscv64-unknown-elf)
      [bash-minimal]    *
      *
      [bash-minimal]
 ***********************************************************
      [bash-minimal]
      [bash-minimal]  making lib/intl/libintl.a in ./lib/intl
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:48.1-12:
warning: POSIX Yacc does not support %pure_parser [-Wyacc]
      [bash-minimal]     48 | %pure_parser
      [bash-minimal]        | ^~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:48.1-12:
warning: deprecated directive: ‘%pure_parser’, use ‘%define api.pure’
[-Wdeprecated]
      [bash-minimal]     48 | %pure_parser
      [bash-minimal]        | ^~~~~~~~~~~~
      [bash-minimal]        | %define api.pure
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:49.1-7:
warning: POSIX Yacc does not support %expect [-Wyacc]
      [bash-minimal]     49 | %expect 7
      [bash-minimal]        | ^~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:
warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]
      [bash-minimal]  In file included from
/home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:37:
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:104:23:
error: conflicting types for ‘libintl_gettextparse’
      [bash-minimal]    104 | # define PLURAL_PARSE libintl_gettextparse
      [bash-minimal]        |                       ^~~~~~~~~~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:42:25:
note: in expansion of macro ‘PLURAL_PARSE’
      [bash-minimal]     42 | # define __gettextparse PLURAL_PARSE
      [bash-minimal]        |                         ^~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:204:5:
note: in expansion of macro ‘__gettextparse’
      [bash-minimal]    204 | int __gettextparse (void);
      [bash-minimal]        |     ^~~~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:104:23:
note: previous declaration of ‘libintl_gettextparse’ was here
      [bash-minimal]    104 | # define PLURAL_PARSE libintl_gettextparse
      [bash-minimal]        |                       ^~~~~~~~~~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:116:12:
note: in expansion of macro ‘PLURAL_PARSE’
      [bash-minimal]    116 | extern int PLURAL_PARSE PARAMS ((void *arg));
      [bash-minimal]        |            ^~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:104:23:
error: conflicting types for ‘libintl_gettextparse’
      [bash-minimal]    104 | # define PLURAL_PARSE libintl_gettextparse
      [bash-minimal]        |                       ^~~~~~~~~~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:42:25:
note: in expansion of macro ‘PLURAL_PARSE’
      [bash-minimal]     42 | # define __gettextparse PLURAL_PARSE
      [bash-minimal]        |                         ^~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:67:25:
note: in expansion of macro ‘__gettextparse’
      [bash-minimal]     67 | #define yyparse         __gettextparse
      [bash-minimal]        |                         ^~~~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:1225:1:
note: in expansion of macro ‘yyparse’
      [bash-minimal]   1225 | yyparse (void)
      [bash-minimal]        | ^~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:104:23:
note: previous declaration of ‘libintl_gettextparse’ was here
      [bash-minimal]    104 | # define PLURAL_PARSE libintl_gettextparse
      [bash-minimal]        |                       ^~~~~~~~~~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural-exp.h:116:12:
note: in expansion of macro ‘PLURAL_PARSE’
      [bash-minimal]    116 | extern int PLURAL_PARSE PARAMS ((void *arg));
      [bash-minimal]        |            ^~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:
In function ‘libintl_gettextparse’:
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:68:25:
error: too few arguments to function ‘__gettextlex’
      [bash-minimal]     68 | #define yylex           __gettextlex
      [bash-minimal]        |                         ^~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:1403:16:
note: in expansion of macro ‘yylex’
      [bash-minimal]   1403 |       yychar = yylex (&yylval);
      [bash-minimal]        |                ^~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.c:68:25:
note: declared here
      [bash-minimal]     68 | #define yylex           __gettextlex
      [bash-minimal]        |                         ^~~~~~~~~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:71:12:
note: in expansion of macro ‘yylex’
      [bash-minimal]     71 | static int yylex PARAMS ((YYSTYPE *lval,
const char **pexp));
      [bash-minimal]        |            ^~~~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:180:29:
error: ‘arg’ undeclared (first use in this function)
      [bash-minimal]    180 |      ((struct parse_args *) arg)->res = $1;
      [bash-minimal]        |                             ^~~
      [bash-minimal]
 /home/pranab/MTP/r5/genode/depot/genodelabs/src/bash-minimal/2023-02-15/src/noux-pkg/bash/lib/intl/plural.y:180:29:
note: each undeclared identifier is reported only once for each function it
appears in
      [bash-minimal]  make[9]: *** [Makefile:175: plural.o] Error 1
      [bash-minimal]  make[8]: *** [Makefile:668: lib/intl/libintl.a] Error
1
make[7]: ***
[/home/pranab/MTP/r5/genode/depot/genodelabs/api/noux/2021-12-16/mk/
gnu_build.mk:181: built.tag] Error 2
make[6]: *** [var/libdeps:119: bash-minimal.prg] Error 2
make[5]: *** [Makefile:336: gen_deps_and_build_targets] Error 2
make[4]: ***
[/home/pranab/MTP/r5/genode/tool/depot/mk/build_bin_archive:208:
/home/pranab/MTP/r5/genode/depot/genodelabs/bin/riscv/bash-minimal/2023-02-15.build/bin]
Error 1
make[3]: *** [/home/pranab/MTP/r5/genode/depot/var/build.mk:264:
genodelabs/bin/riscv/bash-minimal/2023-02-15] Error 2
make[2]: *** [/home/pranab/MTP/r5/genode/tool/depot/build:136:
execute_generated_build_mk_file] Error 2
make[1]: *** [/home/pranab/MTP/r5/genode/tool/depot/create:59: build] Error
2
make[1]: Leaving directory '/home/pranab/MTP/r5/genode/build/riscv'

I am trying to execute the run/sculpt for KERNEL=hw BOARD=virt_qemu_riscv.
also this error persists while executing the run/sculpt_test also.
Kindly tell whats the problem and How do I overcome this.
I want to build the sculpt for RISC-V arch, but I dont have a board so I am
doing it for virt_qemu_riscv. If you have any other resources to follow for
this please let me know.

Regards,
Pranab

On Tue, Feb 14, 2023 at 1:45 PM <users-request at lists.genode.org> wrote:

> Date: Mon, 13 Feb 2023 20:40:20 +0100
> From: Martin Stein <martin.stein at genode-labs.com>
> To: users at lists.genode.org
> Subject: Re: regarding Sculpt on virt_qemu_riscv
> Message-ID: <3cad7ef6-7b35-f63b-4f07-de2f47657fc2 at genode-labs.com>
> Content-Type: text/plain; charset=utf-8
>
> Hi Pranab,
>
> On 13.02.23 17:32, Pranab Kumar Rout cs21m045 wrote:
> > [init -> test-log] Test done.
> >
> > and, Qemu popped up with a text "*Guest has not initialized the display
> > yet*".
> >
> > Please tell me if this is all what I should expect from 'make run/log'
> > or if I have done something wrong ?
>
> Yes, this can be considered a successful run of the log test. Why you
> had to download the firmware and run the image manually is out of my
> scope of knowledge.
>
> > P.S. /- /The drivers_interactive package for this platform (riscv), is
> > not in /'repos/os/recipes/raw/' .... /rather its present
> > in/'genode/repos/riscv/recipes/raw'./
>
> On branch genodelabs/master the archives are located here:
>
> repos/riscv/recipes/pkg/drivers_interactive-virt_qemu_riscv
> repos/riscv/recipes/raw/drivers_interactive-virt_qemu_riscv
>
> I assume the problem is that your Sculpt configuration references the
> wrong recipe names (drivers_interactive-virt_riscv instead of
> drivers_interactive-virt_qemu_riscv).
>
>
> > All recipes related to riscv was not with genode, I had to add it into
> > /'genode/repos/' /from github.
>
> This is normal. the genodelabs repo contains only the basic OS
> framework. Other platforms like RISC-V have their own repository. In the
> end this is transparent to the build system because all repositories you
> select are seen like "combined" as a single source tree. You don't have
> to move stuff around from one repo to another!
>
> I hope that helped?
>
> Cheers,
> Martin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genode.org/pipermail/users/attachments/20230215/a6c7a550/attachment-0001.htm>


More information about the users mailing list