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

configure fails to build qmake due to undefined qRandomCpu

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.14.0 Beta 1
    • Build tools: qmake
    • None
    • OpenMandriva Lx 4.1-alpha on x86_64, clang 9.0
    • Linux/X11

      Trying to build 5.14.0 beta 1 on x86 fails at the configure step because configure can't build qmake:

      ./configure [...]
      Creating qmake...
      .ld: error: undefined symbol: qRandomCpu(void*, long long)

       

      The problem is that (in case CPU RNG is supported) qRandomCpu is defined in qsimd.cpp, which isn't included in configure's qmake build.

       

      Obvious fixes include either adding qsimd.cpp or adding an inline implementation or #define just returning 0 to qmake.

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

            qtbuildsystem Qt Build System Team
            bero Bernhard Rosenkränzer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes