Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-74845

Failed to cross compile on Ubuntu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.13.0 Beta 1
    • Core: Other
    • None
    • Ubuntu 18.10, Clang 8.0.0, GCC 8.2.0
    • Linux/Wayland, Linux/X11

    Description

      I tried to use the win32-clang-g++ spec to cross compile Qt on Ubuntu, but I got the following errors:

      In file included from /home/wangwenx190/code/src/src/corelib/global/qlogging.cpp:155:
      /usr/include/execinfo.h:27:51: error: expected function body after function declarator
      extern int backtrace (void **__array, int __size) __nonnull ((1));
                                                         ^
      /usr/include/execinfo.h:33:6: error: expected function body after function declarator
            __THROW __nonnull ((1));
            ^
      /usr/include/execinfo.h:39:6: error: expected function body after function declarator
            __THROW __nonnull ((1)); 
      

      After some searching, I found one similar problem with it's solution: https://github.com/smaeul/android-tools/issues/1

      But I still don't know how to fix this.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            wangwenx190 赵 宇航
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes