Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. QA Tools
  3. Squish
  4. Cross-compilation of Squish 7.2.0 for arm64
Forum Updated to NodeBB v4.3 + New Features

Cross-compilation of Squish 7.2.0 for arm64

Scheduled Pinned Locked Moved Solved Squish
2 Posts 2 Posters 753 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    KKolton
    wrote on last edited by KKolton
    #1

    Hi,
    I am running into some issues while trying to do configuration.
    Invocation parameters:

    /usr/local/squish/configure --with-qmake=/usr/local/qtsdk/bin/qmake --disable-all --enable-idl --enable-qt --enable-python3 --enable-qmake-config --enable-warnings --with-libclang=/usr/local/clang12
    

    It fails like that

    Cannot build Qt 6 support without libclang 7.0 or later.
    Possible solutions:
    - Provide a squishidl binary with clang 7.0 or later via --with-squishidl={path}
    - Provide a path to libclang 7.0 or later installation with --with-libclang={path}
    - Disable building Qt support by passing --disable-qt
    

    In config.log there is a linker issue:

    ? Checking for clang library
    : tryCompileLibClang: prefix=/usr/local/clang12
    : Exec: [/opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++,-pipe,--sysroot=/opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/cortexa53-crypto-poky-linux,-Wno-deprecated-declarations,-Wno-long-long,-fvisibility=hidden,-Wno-psabi,-Wno-deprecated-copy,-std=gnu++17,-I/usr/local/clang12/include,-o,tmp.o,-c,tmp.cpp,2>&1]
    : Status: 0
    : Command Output: <none>
    : Exec: [/opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++,--sysroot=/opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/cortexa53-crypto-poky-linux,-rdynamic,-o,tmp,tmp.o,-L/usr/local/clang12/lib,-lclang,2>&1]
    : Status: 1
    : Command Output:
    /opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /usr/local/clang12/lib/libclang.so: undefined reference to `del_curterm@NCURSES_TINFO_5.0.19991023'
    /opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /usr/local/clang12/lib/libclang.so: undefined reference to `setupterm@NCURSES_TINFO_5.0.19991023'
    /opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /usr/local/clang12/lib/libclang.so: undefined reference to `tigetnum@NCURSES_TINFO_5.0.19991023'
    /opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /usr/local/clang12/lib/libclang.so: undefined reference to `set_curterm@NCURSES_TINFO_5.0.19991023'
    collect2: error: ld returned 1 exit status
    

    Looks like I am missing some dependencies of clang, which was downloaded by hand from here: https://github.com/llvm/llvm-project/releases

    I think I know here those dependencies are, but I don't know how tell the linker where to look for it.
    Or maybe problem is somewhere else, is anyone able to help me.
    I would like to attach the full log but was not able to...

    C 1 Reply Last reply
    0
    • K KKolton

      Hi,
      I am running into some issues while trying to do configuration.
      Invocation parameters:

      /usr/local/squish/configure --with-qmake=/usr/local/qtsdk/bin/qmake --disable-all --enable-idl --enable-qt --enable-python3 --enable-qmake-config --enable-warnings --with-libclang=/usr/local/clang12
      

      It fails like that

      Cannot build Qt 6 support without libclang 7.0 or later.
      Possible solutions:
      - Provide a squishidl binary with clang 7.0 or later via --with-squishidl={path}
      - Provide a path to libclang 7.0 or later installation with --with-libclang={path}
      - Disable building Qt support by passing --disable-qt
      

      In config.log there is a linker issue:

      ? Checking for clang library
      : tryCompileLibClang: prefix=/usr/local/clang12
      : Exec: [/opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++,-pipe,--sysroot=/opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/cortexa53-crypto-poky-linux,-Wno-deprecated-declarations,-Wno-long-long,-fvisibility=hidden,-Wno-psabi,-Wno-deprecated-copy,-std=gnu++17,-I/usr/local/clang12/include,-o,tmp.o,-c,tmp.cpp,2>&1]
      : Status: 0
      : Command Output: <none>
      : Exec: [/opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++,--sysroot=/opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/cortexa53-crypto-poky-linux,-rdynamic,-o,tmp,tmp.o,-L/usr/local/clang12/lib,-lclang,2>&1]
      : Status: 1
      : Command Output:
      /opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /usr/local/clang12/lib/libclang.so: undefined reference to `del_curterm@NCURSES_TINFO_5.0.19991023'
      /opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /usr/local/clang12/lib/libclang.so: undefined reference to `setupterm@NCURSES_TINFO_5.0.19991023'
      /opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /usr/local/clang12/lib/libclang.so: undefined reference to `tigetnum@NCURSES_TINFO_5.0.19991023'
      /opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/11.2.0/real-ld: /usr/local/clang12/lib/libclang.so: undefined reference to `set_curterm@NCURSES_TINFO_5.0.19991023'
      collect2: error: ld returned 1 exit status
      

      Looks like I am missing some dependencies of clang, which was downloaded by hand from here: https://github.com/llvm/llvm-project/releases

      I think I know here those dependencies are, but I don't know how tell the linker where to look for it.
      Or maybe problem is somewhere else, is anyone able to help me.
      I would like to attach the full log but was not able to...

      C Offline
      C Offline
      clanhuth
      wrote on last edited by
      #2

      @KKolton said in Cross-compilation of Squish 7.2.0 for arm64:

      I am running into some issues while trying to do configuration.
      [...]

      For cross-compilation the respective license and Squish source package must be used.

      I recommend to contact the Squish technical support (ideally via the customer portal https://account.qt.io) to file a support request there.

      Best regards,
      Clemens Anhuth

      1 Reply Last reply
      0
      • C clanhuth has marked this topic as solved on

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved