Cross-compilation of Squish 7.2.0 for arm64
-
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... -
@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 -