Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.12.0
-
None
-
-
3cedb63ac4e469914f8b9a84ba9e69e59af3f32b (qt/qtapplicationmanager/5.12)
Description
Trying to build qtapplicationmanager/hello-word fails on Windows:
15:13:31: Running steps for project hello-world... 15:13:31: Configuration unchanged, skipping qmake step. 15:13:31: Starting: "C:\Qt\5.12.0\Automotive\jetson-tx2\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\make.exe" -j1 C:/Qt/5.12.0/Automotive/jetson-tx2/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=C:/Qt/5.12.0/Automotive/jetson-tx2/toolchain/sysroots/aarch64-poky-linux -fPIC -o hello-world_wrapper.sh -lQt5Gui -lQt5Core -lGLESv2 -lpthread C:/Qt/5.12.0/Automotive/jetson-tx2/toolchain/sysroots/aarch64-poky-linux/usr/lib/crt1.o: In function `_start': /usr/src/debug/glibc/2.27-r0/git/csu/../sysdeps/aarch64/start.S:83: undefined reference to `main' /usr/src/debug/glibc/2.27-r0/git/csu/../sysdeps/aarch64/start.S:83: undefined reference to `main' /usr/src/debug/glibc/2.27-r0/git/csu/../sysdeps/aarch64/start.S:83: undefined reference to `main' /usr/src/debug/glibc/2.27-r0/git/csu/../sysdeps/aarch64/start.S:83: undefined reference to `main' collect2.exe: error: ld returned 1 exit status make: *** [Makefile:65: hello-world_wrapper.sh] Error 1 15:13:33: The process "C:\Qt\5.12.0\Automotive\jetson-tx2\toolchain\sysroots\i686-pokysdk-mingw32\usr\bin\make.exe" exited with code 2. Error while building/deploying project hello-world (kit: Automotive 5.12.0 NVIDIA Jetson TX2) The kit Automotive 5.12.0 NVIDIA Jetson TX2 has configuration issues which might be the root cause for this problem. When executing step "Make" 15:13:33: Elapsed time: 00:02.
The generated Makefile tries to build and link hello-world_wrapper.sh while hello-world_wrapper.bat has been generated into the build directory.
Attachments
For Gerrit Dashboard: AUTOSUITE-719 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
248659,3 | Don't generate the example wrapper in cross builds | 5.12 | qt/qtapplicationmanager | Status: MERGED | +2 | 0 |