Docker is not working

Hii MicBis,

I am bulid yocto linux using BSP-3.0.5 and 3.0.4 both But docker is getting segmentation fault.

but in prebuild image it working.

  • Hii iam facing issue in doker in RZFIVE I am using BSP-3.0.5
    root@smarc-rzfive:~# dockerd
    [ 1885.906390] dockerd[283]: unhandled signal 11 code 0x2 at 0x000000000003c298 in dockerd[10000+2fe0000]
    [ 1885.918618] CPU: 0 PID: 283 Comm: dockerd Not tainted 5.10.175-cip29-yocto-standard #1
    [ 1885.927684] Hardware name: Renesas SMARC EVK based on r9a07g043f01 (DT)
    [ 1885.935369] epc: 000000000003c298 ra : 000000000001eec0 sp : 0000003fffd0b9e0
    [ 1885.943456] gp : 00000000030b5a60 tp : 0000003fed747370 t0 : 0000000000400000
    [ 1885.951621] t1 : 0000000000000018 t2 : 00000000030d1480 s0 : 0000000000000001
    [ 1885.959764] s1 : 0000000000008000 a0 : 000000000302f4e0 a1 : 00000000000003f8
    [ 1885.967919] a2 : 0000000000000003 a3 : 0000000000000081 a4 : 000000000302e360
    [ 1885.976080] a5 : 0000000000000044 a6 : 0000000000000001 a7 : 0000000000000002
    [ 1885.984319] s2 : 000000000302f4e0 s3 : 0000000000000000 s4 : 0000003fffd0b9cc
    [ 1885.992504] s5 : 0000000000000090 s6 : 0000000000000090 s7 : 0000000000000000
    [ 1886.000675] s8 : 0000003fc50eb810 s9 : 0000000000000000 s10: 0000002b147a6a30
    [ 1886.008818] s11: 000000000309ff00 t3 : 0000003fed7d780e t4 : 0000003fed93d048
    [ 1886.016937] t5 : 0000000000000008 t6 : 000000000003beb8
    [ 1886.023198] status: 0000000200004020 badaddr: 000000000003c298 cause: 0000000000000001
    [ 1886.032198] audit: type=1701 audit(1699327864.680:8): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=283 comm="dockerd" exe="/usr/bin/dockerd" sig=11 res=1
    Segmentation fault
    please help me

Parents
  • Hi umesh,
    We tried to reproduce your issue, but we didn't face any error like that. If you follow the instructions carefully described on document SMARC EVK of RZ/Five Linux Start-up Guide Rev.1.00 (2.Build Instructions), you should be able to get it work.
    Kind Regards.

  • Hi Renesas Team,

    umesh@ubuntu:~/rzfive_vlp_3.0.5/build$ MACHINE=smarc-rzfive bitbake core-image-minimal
    WARNING: Layer qt5-layer should set LAYERSERIES_COMPAT_qt5-layer in its conf/layer.conf file to list the core layer names it is compatible with.
    WARNING: Layer qt5-layer should set LAYERSERIES_COMPAT_qt5-layer in its conf/layer.conf file to list the core layer names it is compatible with.
    Loading cache: 100% |############################################################################################| Time: 0:00:00
    Loaded 3656 entries from dependency cache.
    Removing 21 recipes from the riscv64 sysroot: 100% |#############################################################| Time: 0:00:00
    NOTE: Resolving any missing task queue dependencies
    ERROR: Nothing RPROVIDES 'gcc' (but /home/umesh/rzfive_vlp_3.0.5/build/../poky/meta/recipes-core/images/core-image-minimal.bb RDEPENDS on or otherwise requires it)
    gcc was skipped: it has incompatible license(s): GPL-3.0
    gcc was skipped: it has incompatible license(s): GPL-3.0
    NOTE: Runtime target 'gcc' is unbuildable, removing...
    Missing or unbuildable dependency chain was: ['gcc']
    ERROR: Required build target 'core-image-minimal' has no buildable providers.
    Missing or unbuildable dependency chain was: ['core-image-minimal', 'gcc']

    Summary: There were 2 WARNING messages shown.
    Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


    i try to install GCC and nano  but it giving error  How  to resolve this 

  • gcc was skipped: it has incompatible license(s): GPL-3.0

    GPL-3.0 packages are disabled in Renesas default build config.
    If you want to install gcc, you have to remove it (INCOMPATIBLE_LICENSE in local.conf).
    Note that remove it will change many software in the system.

  • i am geetig segmentation fault in gcc

    root@smarc-rzfive:~/gateway/sink_service#
    root@smarc-rzfive:~/gateway/sink_service#
    root@smarc-rzfive:~/gateway/sink_service#
    root@smarc-rzfive:~/gateway/sink_service#
    root@smarc-rzfive:~/gateway/sink_service#
    coot@smarc-rzfive:~/gateway/sink_service# riscv64-poky-linux-gcc -o hello hello.c
    Segmentation fault
    root@smarc-rzfive:~/gateway/sink_service#
    root@smarc-rzfive:~/gateway/sink_service#
    root@smarc-rzfive:~/gateway/sink_service#
    root@smarc-rzfive:~/gateway/sink_service#
    root@smarc-rzfive:~/gateway/sink_service# riscv64-poky-linux-gcc --version
    Segmentation fault
    root@smarc-rzfive:~/gateway/sink_service#

  • Hi umesh,
    Do you want to compile your application on target ( rzfive )? It doesn't sound like a good idea.
    Could you please describe what you want to do to assist you further?
    If you want just to speed up the compile/run process you can use scp(Linux) or WinSCP(Windows).
    Let me know if you need any help.
    Kind Regards.

Reply Children
  • Hi Renesas team,

    I need install wirepass i need compile on target board,

    root@smarc-rzfive:~/wirepas/gateway/python_transport# ./generate_package.sh
    Traceback (most recent call last):
    File "/usr/bin/py3clean", line 8, in <module>
    sys.exit(py3clean())
    File "/usr/lib/python3.8/site-packages/pyclean/cli.py", line 183, in py3clean
    main('CPython3')
    File "/usr/lib/python3.8/site-packages/pyclean/cli.py", line 161, in main
    impl = compat.get_implementation(override=override)
    File "/usr/lib/python3.8/site-packages/pyclean/compat.py", line 28, in get_implementation
    return import_module(module_name)
    File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 843, in exec_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    File "/usr/lib/python3.8/site-packages/pyclean/py3clean.py", line 32, in <module>
    from debpython import files as dpf
    ModuleNotFoundError: No module named 'debpython'
    running clean
    removing 'build/temp.linux-riscv64-3.8' (and everything under it)
    removing 'build/lib.linux-riscv64-3.8' (and everything under it)
    'build/bdist.linux-riscv64' does not exist -- can't clean it
    'build/scripts-3.8' does not exist -- can't clean it
    removing 'build'
    running sdist
    running egg_info
    writing wirepas_gateway.egg-info/PKG-INFO
    writing dependency_links to wirepas_gateway.egg-info/dependency_links.txt
    writing entry points to wirepas_gateway.egg-info/entry_points.txt
    writing requirements to wirepas_gateway.egg-info/requires.txt
    writing top-level names to wirepas_gateway.egg-info/top_level.txt
    reading manifest file 'wirepas_gateway.egg-info/SOURCES.txt'
    writing manifest file 'wirepas_gateway.egg-info/SOURCES.txt'
    running check
    creating wirepas_gateway-1.4.3rc5
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus/c-extension
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway/protocol
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway/utils
    copying files to wirepas_gateway-1.4.3rc5...
    copying LICENSE -> wirepas_gateway-1.4.3rc5
    copying README.md -> wirepas_gateway-1.4.3rc5
    copying requirements.txt -> wirepas_gateway-1.4.3rc5
    copying setup.py -> wirepas_gateway-1.4.3rc5
    copying wirepas_gateway/__about__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/__init__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/__main__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/configure_node.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/dbus_print_client.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/transport_service.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway.egg-info/PKG-INFO -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/SOURCES.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/dependency_links.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/entry_points.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/requires.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/top_level.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway/dbus/__init__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/dbus_client.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/return_code.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/sink_manager.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/c-extension/dbus_c.c -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus/c-extension
    copying wirepas_gateway/protocol/__init__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/mqtt_wrapper.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/topic_helper.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/protocol
    copying wirepas_gateway/utils/__init__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/utils
    copying wirepas_gateway/utils/argument_tools.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/utils
    copying wirepas_gateway/utils/serialization_tools.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/utils
    Writing wirepas_gateway-1.4.3rc5/setup.cfg
    Creating tar archive
    removing 'wirepas_gateway-1.4.3rc5' (and everything under it)
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-riscv64-3.8
    creating build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/configure_node.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/__init__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/dbus_print_client.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/transport_service.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/__about__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/__main__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    creating build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/__init__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/sink_manager.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/dbus_client.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/return_code.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    creating build/lib.linux-riscv64-3.8/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/__init__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/mqtt_wrapper.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/topic_helper.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/protocol
    creating build/lib.linux-riscv64-3.8/wirepas_gateway/utils
    copying wirepas_gateway/utils/__init__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/utils
    copying wirepas_gateway/utils/argument_tools.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/utils
    copying wirepas_gateway/utils/serialization_tools.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/utils
    creating build/lib.linux-riscv64-3.8/wirepas_gateway/dbus/c-extension
    copying wirepas_gateway/dbus/c-extension/dbus_c.c -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus/c-extension
    running build_ext
    building 'dbusCExtension' extension
    creating build/temp.linux-riscv64-3.8
    creating build/temp.linux-riscv64-3.8/wirepas_gateway
    creating build/temp.linux-riscv64-3.8/wirepas_gateway/dbus
    creating build/temp.linux-riscv64-3.8/wirepas_gateway/dbus/c-extension
    riscv64-poky-linux-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map== -fdebug-prefix-map== -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map== -fdebug-prefix-map== -fPIC -I/usr/include/python3.8 -c wirepas_gateway/dbus/c-extension/dbus_c.c -o build/temp.linux-riscv64-3.8/wirepas_gateway/dbus/c-extension/dbus_c.o
    during RTL pass: sched1
    wirepas_gateway/dbus/c-extension/dbus_c.c: In function 'on_packet_received':
    wirepas_gateway/dbus/c-extension/dbus_c.c:100:1: internal compiler error: Segmentation fault
    }
    ^
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <https://gcc.gnu.org/bugs/> for instructions.
    error: command 'riscv64-poky-linux-gcc' failed with exit status 1root@smarc-rzfive:~/wirepas/gateway/python_transport# ./generate_package.sh
    Traceback (most recent call last):
    File "/usr/bin/py3clean", line 8, in <module>
    sys.exit(py3clean())
    File "/usr/lib/python3.8/site-packages/pyclean/cli.py", line 183, in py3clean
    main('CPython3')
    File "/usr/lib/python3.8/site-packages/pyclean/cli.py", line 161, in main
    impl = compat.get_implementation(override=override)
    File "/usr/lib/python3.8/site-packages/pyclean/compat.py", line 28, in get_implementation
    return import_module(module_name)
    File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
    File "<frozen importlib._bootstrap_external>", line 843, in exec_module
    File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
    File "/usr/lib/python3.8/site-packages/pyclean/py3clean.py", line 32, in <module>
    from debpython import files as dpf
    ModuleNotFoundError: No module named 'debpython'
    running clean
    removing 'build/temp.linux-riscv64-3.8' (and everything under it)
    removing 'build/lib.linux-riscv64-3.8' (and everything under it)
    'build/bdist.linux-riscv64' does not exist -- can't clean it
    'build/scripts-3.8' does not exist -- can't clean it
    removing 'build'
    running sdist
    running egg_info
    writing wirepas_gateway.egg-info/PKG-INFO
    writing dependency_links to wirepas_gateway.egg-info/dependency_links.txt
    writing entry points to wirepas_gateway.egg-info/entry_points.txt
    writing requirements to wirepas_gateway.egg-info/requires.txt
    writing top-level names to wirepas_gateway.egg-info/top_level.txt
    reading manifest file 'wirepas_gateway.egg-info/SOURCES.txt'
    writing manifest file 'wirepas_gateway.egg-info/SOURCES.txt'
    running check
    creating wirepas_gateway-1.4.3rc5
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus/c-extension
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway/protocol
    creating wirepas_gateway-1.4.3rc5/wirepas_gateway/utils
    copying files to wirepas_gateway-1.4.3rc5...
    copying LICENSE -> wirepas_gateway-1.4.3rc5
    copying README.md -> wirepas_gateway-1.4.3rc5
    copying requirements.txt -> wirepas_gateway-1.4.3rc5
    copying setup.py -> wirepas_gateway-1.4.3rc5
    copying wirepas_gateway/__about__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/__init__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/__main__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/configure_node.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/dbus_print_client.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway/transport_service.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway
    copying wirepas_gateway.egg-info/PKG-INFO -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/SOURCES.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/dependency_links.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/entry_points.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/requires.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway.egg-info/top_level.txt -> wirepas_gateway-1.4.3rc5/wirepas_gateway.egg-info
    copying wirepas_gateway/dbus/__init__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/dbus_client.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/return_code.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/sink_manager.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/c-extension/dbus_c.c -> wirepas_gateway-1.4.3rc5/wirepas_gateway/dbus/c-extension
    copying wirepas_gateway/protocol/__init__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/mqtt_wrapper.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/topic_helper.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/protocol
    copying wirepas_gateway/utils/__init__.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/utils
    copying wirepas_gateway/utils/argument_tools.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/utils
    copying wirepas_gateway/utils/serialization_tools.py -> wirepas_gateway-1.4.3rc5/wirepas_gateway/utils
    Writing wirepas_gateway-1.4.3rc5/setup.cfg
    Creating tar archive
    removing 'wirepas_gateway-1.4.3rc5' (and everything under it)
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.linux-riscv64-3.8
    creating build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/configure_node.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/__init__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/dbus_print_client.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/transport_service.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/__about__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    copying wirepas_gateway/__main__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway
    creating build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/__init__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/sink_manager.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/dbus_client.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    copying wirepas_gateway/dbus/return_code.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus
    creating build/lib.linux-riscv64-3.8/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/__init__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/mqtt_wrapper.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/protocol
    copying wirepas_gateway/protocol/topic_helper.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/protocol
    creating build/lib.linux-riscv64-3.8/wirepas_gateway/utils
    copying wirepas_gateway/utils/__init__.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/utils
    copying wirepas_gateway/utils/argument_tools.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/utils
    copying wirepas_gateway/utils/serialization_tools.py -> build/lib.linux-riscv64-3.8/wirepas_gateway/utils
    creating build/lib.linux-riscv64-3.8/wirepas_gateway/dbus/c-extension
    copying wirepas_gateway/dbus/c-extension/dbus_c.c -> build/lib.linux-riscv64-3.8/wirepas_gateway/dbus/c-extension
    running build_ext
    building 'dbusCExtension' extension
    creating build/temp.linux-riscv64-3.8
    creating build/temp.linux-riscv64-3.8/wirepas_gateway
    creating build/temp.linux-riscv64-3.8/wirepas_gateway/dbus
    creating build/temp.linux-riscv64-3.8/wirepas_gateway/dbus/c-extension
    riscv64-poky-linux-gcc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wno-unused-result -Wsign-compare -DNDEBUG -g -O3 -Wall -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map== -fdebug-prefix-map== -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map=/python3/3.8.14-r0=/usr/src/debug/python3/3.8.14-r0 -fdebug-prefix-map== -fdebug-prefix-map== -fPIC -I/usr/include/python3.8 -c wirepas_gateway/dbus/c-extension/dbus_c.c -o build/temp.linux-riscv64-3.8/wirepas_gateway/dbus/c-extension/dbus_c.o
    during RTL pass: sched1
    wirepas_gateway/dbus/c-extension/dbus_c.c: In function 'on_packet_received':
    wirepas_gateway/dbus/c-extension/dbus_c.c:100:1: internal compiler error: Segmentation fault
    }
    ^
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <https://gcc.gnu.org/bugs/> for instructions.
    error: command 'riscv64-poky-linux-gcc' failed with exit 1

    Tanks and regards,

    Umesh

  • Hi umesh, 
    You can check this thread for your reference. It might help.
    Kind Regards.