Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4501

imx8: Nifty Needlefish failed with Sllin do compile error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Needlefish 14.0.0
    • None
    • None
    • None
    • NXP i.MX8

      Hi Scott,

      Thanks!

      I am building Nifty Niddlefish source 13.91.0 for imx8mq-evk machine on ubuntu 16.04 host. While building its failing with sllin do compile error, below are the logs:

       

      vipulkumar@A812DBLR:~/platform/AGL_Needlefish/build$ bitbake -k agl-demo-platform
      WARNING: DISTRO_FEATURES:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      Loading cache: 100% |                                                                                                                                    | ETA:  -::-
      Loaded 0 entries from dependency cache.
      Parsing recipes: 100% |###################################################################################################################################| Time: 0:01:24
      Parsing of 3225 .bb files complete (0 cached, 3225 parsed). 4933 targets, 736 skipped, 1 masked, 0 errors.
      NOTE: Resolving any missing task queue dependencies

      Build Configuration:
      BB_VERSION           = "2.0.0"
      BUILD_SYS            = "x86_64-linux"
      NATIVELSBSTRING      = "universal"
      TARGET_SYS           = "aarch64-agl-linux"
      MACHINE              = "imx8mq-evk"
      DISTRO               = "poky-agl"
      DISTRO_VERSION       = "13.91.0"
      TUNE_FEATURES        = "aarch64"
      TARGET_FPU           = ""
      meta-pipewire        
      meta-netboot        
      meta-app-framework   = "HEAD:b5044156fc318a4881e766513871611a560170be"
      meta-python2         = "HEAD:f02882e2aa9279ca7becca8d0cedbffe88b5a253"
      meta-qt5             = "HEAD:5b71df60e523423b9df6793de9387f87a149ac42"
      meta-agl-demo        = "HEAD:08977ac24f2d31b0955786824c9ff62eff981ee9"
      meta-freescale       = "HEAD:cdd388064845688ac3570aa76a5c01e3df32a67a"
      meta-networking      
      meta-python          
      meta-filesystems    
      meta-multimedia      
      meta-oe              = "HEAD:fb7b26b0fb243620f52a61296f4eda6af6ad1af6"
      meta-agl-core        
      meta-agl-core-test  
      meta-agl-bsp         = "HEAD:b5044156fc318a4881e766513871611a560170be"
      meta                
      meta-poky            = "HEAD:a5ea426b1da472fc8549459fff3c1b8c6e02f4b5"

      Initialising tasks: 100% |################################################################################################################################| Time: 0:00:06
      Sstate summary: Wanted 342 Local 0 Mirrors 0 Missed 342 Current 3309 (0% match, 90% complete)
      Removing 14 stale sstate objects for arch aarch64: 100% |#################################################################################################| Time: 0:00:00
      Removing 2 stale sstate objects for arch imx8mq_evk: 100% |###############################################################################################| Time: 0:00:00
      NOTE: Executing Tasks
      WARNING: DISTRO_FEATURES:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: faad2-2.8.8-r0 do_fetch: Failed to fetch URL https://downloads.sourceforge.net/faac/faad2-src/faad2-2.8.0/faad2-2.8.8.tar.gz, attempting MIRRORS if available
      WARNING: DISTRO_FEATURES:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: IMAGE_INSTALL:append += is not a recommended operator combination, please replace it.
      WARNING: apt-2.4.5-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/a/apt/apt_2.4.5.tar.xz, attempting MIRRORS if available
      WARNING: lcov-1.14-r0 do_fetch: Failed to fetch URL http://downloads.sourceforge.net/ltp/lcov-1.14.tar.gz, attempting MIRRORS if available
      WARNING: qtquick3d-5.15.3+gitAUTOINC+9753b6eaf4_8f0c6b04b2-r0 do_fetch: Failed to fetch URL git://github.com/assimp/assimp.git;name=assimp;branch=assimp_5.0_release;protocol=https;destsuffix=git/src/3rdparty/assimp/src, attempting MIRRORS if available
      ERROR: sllin-0.1+gitAUTOINC+beb057d750-r0 do_compile: oe_runmake failed
      ERROR: sllin-0.1+gitAUTOINC+beb057d750-r0 do_compile: ExecutionError('/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/temp/run.do_compile.10434', 1, None, None)
      ERROR: Logfile of failure stored in: /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/temp/log.do_compile.10434
      Log data follows:
      | DEBUG: Executing shell function do_compile
      | NOTE: make -j 8 KERNEL_SRC=/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source KERNEL_PATH=/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source KERNEL_VERSION=5.18.5+g1d6b305 CC=aarch64-agl-linux-gcc   -fuse-ld=bfd -fmacro-prefix-map=/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0=/usr/src/debug/sllin/0.1+gitAUTOINC+beb057d750-r0                      -fdebug-prefix-map=/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0=/usr/src/debug/sllin/0.1+gitAUTOINC+beb057d750-r0                      -fdebug-prefix-map=/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/recipe-sysroot-native=  -fdebug-prefix-map=/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source=/usr/src/kernel LD=aarch64-agl-linux-ld.bfd   AR=aarch64-agl-linux-ar  O=/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-build-artifacts KBUILD_EXTRA_SYMBOLS=
      | make -C /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source M=/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin modules
      | make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
      | make[1]: Entering directory '/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source'
      | make[2]: Entering directory '/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-build-artifacts'
      |   CC [M]  /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.o
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c: In function 'sllin_ioctl':
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1832:44: warning: passing argument 2 of 'tty_mode_ioctl' makes integer from pointer without a cast [-Wint-conversion]
      |  1832 |                 return tty_mode_ioctl(tty, file, cmd, arg);
      |       |                                            ^~~~
      |       |                                            |
      |       |                                            struct file *
      | In file included from /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:53:
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source/include/linux/tty.h:467:57: note: expected 'unsigned int' but argument is of type 'struct file *'
      |   467 | int tty_mode_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg);
      |       |                                            ~~~~~~~~~~~~^~
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1832:24: error: too many arguments to function 'tty_mode_ioctl'
      |  1832 |                 return tty_mode_ioctl(tty, file, cmd, arg);
      |       |                        ^~~~~~~~~~~~~~
      | In file included from /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:53:
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source/include/linux/tty.h:467:5: note: declared here
      |   467 | int tty_mode_ioctl(struct tty_struct *tty, unsigned int cmd, unsigned long arg);
      |       |     ^~~~~~~~~~~~~~
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c: At top level:
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1845:27: error: initialization of 'void (struct tty_struct *)' from incompatible pointer type 'int (struct tty_struct *)' [-Werror=incompatible-pointer-types]
      |  1845 |         .hangup         = sllin_hangup,
      |       |                           ^~~~~~~~~~~~
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1845:27: note: (near initialization for 'sll_ldisc.hangup')
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1846:27: error: initialization of 'int (struct tty_struct *, unsigned int,  long unsigned int)' from incompatible pointer type 'int (struct tty_struct *, struct file *, unsigned int,  long unsigned int)' [-Werror=incompatible-pointer-types]
      |  1846 |         .ioctl          = sllin_ioctl,
      |       |                           ^~~~~~~~~~~
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1846:27: note: (near initialization for 'sll_ldisc.ioctl')
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1860:27: error: initialization of 'void (struct tty_struct *)' from incompatible pointer type 'int (struct tty_struct *)' [-Werror=incompatible-pointer-types]
      |  1860 |         .hangup         = sllin_hangup,
      |       |                           ^~~~~~~~~~~~
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1860:27: note: (near initialization for 'sll_slave_ldisc.hangup')
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1861:27: error: initialization of 'int (struct tty_struct *, unsigned int,  long unsigned int)' from incompatible pointer type 'int (struct tty_struct *, struct file *, unsigned int,  long unsigned int)' [-Werror=incompatible-pointer-types]
      |  1861 |         .ioctl          = sllin_ioctl,
      |       |                           ^~~~~~~~~~~
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1861:27: note: (near initialization for 'sll_slave_ldisc.ioctl')
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c: In function 'sllin_kwthread':
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1402:28: warning: this statement may fall through [-Wimplicit-fallthrough=]
      |  1402 |                         if (test_bit(SLF_MSGEVENT, &sl->flags)) {
      |       |                            ^
      | /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.c:1437:17: note: here
      |  1437 |                 case SLSTATE_RESPONSE_WAIT_BUS:
      |       |                 ^~~~
      | cc1: some warnings being treated as errors
      | make[3]: *** [/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source/scripts/Makefile.build:288: /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin/sllin.o] Error 1
      | make[2]: *** [/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source/Makefile:1834: /home/vipulkumar/platform/AGL_Needlefish/build/tmp/work/imx8mq_evk-agl-linux/sllin/0.1+gitAUTOINC+beb057d750-r0/git/sllin] Error 2
      | make[2]: Leaving directory '/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-build-artifacts'
      | make[1]: Leaving directory '/home/vipulkumar/platform/AGL_Needlefish/build/tmp/work-shared/imx8mq-evk/kernel-source'
      | make[1]: *** [Makefile:219: __sub-make] Error 2
      | make: *** [Makefile:7: all] Error 2
      | ERROR: oe_runmake failed
      | WARNING: exit code 1 from a shell command.
      ERROR: Task (/home/vipulkumar/platform/AGL_Needlefish/meta-agl-demo/recipes-kernel/sllin/sllin_git.bb:do_compile) failed with exit code '1'

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            scottm Scott Murray
            vsuneja63 vipul kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: