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

build failure in tests/benchmarks/corelib/tools/qstring/main.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.7.4
    • None
    • Solaris 11 express, amd64
      Sun Studio 12.1

    Description

      build of qt 4.7.4 tests fails with
      ...
      gmake[4]: Entering directory `/home/test/packages/BUILD/qt-4.7.4/i386/qt-everywhere-opensource-src-4.7.4/tests/benchmarks/corelib/tools/qstring'
      /home/test/packages/BUILD/qt-4.7.4/i386/qt-everywhere-opensource-src-4.7.4/bin/moc -DSRCDIR=\"/home/test/packages/BUILD/qt-4.7.4/i386/qt-everywhere-opensource-src-4.7.4/tests/benchmarks/corelib/tools/qstring/\" -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -I../../../../../mkspecs/solaris-cc -I. -I../../../../../include/QtCore -I../../../../../include -I../../../../../include/QtTest -I.moc/debug-shared -I/usr/sfw/include main.cpp -o .moc/debug-shared/main.moc
      /opt/sunstudio12.1/bin/CC -c -I../../../../../mkspecs/solaris-cc -I. -I../../../../../include/QtCore -I../../../../../include -I../../../../../include/QtTest -I.moc/debug-shared -I/usr/sfw/include -D_REENTRANT -DNDEBUG -D_EXTENSIONS_ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT -D_XOPEN_SOURCE=500 -D_XPG5 -I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -I/opt/kde4/include -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -library=no%Cstd -library=Crun -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -s -xdebugformat=dwarf -xlang=c99 -xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -mt -R/opt/kde4/lib -library=no%Cstd -library=Crun -lstdcxx4 -I/usr/include/libpng14 -I/opt/kde4/include -I/usr/mysql/5.1/include/mysql -I/usr/include/libmng -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/odbc -msse2 -g -mt -DSRCDIR=\"/home/test/packages/BUILD/qt-4.7.4/i386/qt-everywhere-opensource-src-4.7.4/tests/benchmarks/corelib/tools/qstring/\" -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_SHARED -o .obj/debug-shared/main.o main.cpp
      CC: Warning: Option -msse2 passed to ld, if ld is invoked, ignored otherwise
      "main.cpp", line 769: Error: MAP_POPULATE is not defined.
      "main.cpp", line 1324: Error: MAP_POPULATE is not defined.
      2 Error(s) detected.
      gmake[4]: *** [.obj/debug-shared/main.o] Error 2

      MAP_POPULATE is Linux-specific, not present on Solaris
      I'm not sure what the correct solution should be.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            hajma Pavel Heimlich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes