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

configure fails to build qmake due to undefined qRandomCpu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • 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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: