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

Build on Solaris fails as -fstack-protector-strong is used without -lssp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.1, 6.9.0 FF
    • 6.8.0 Beta4
    • Build System
    • None
    • Other
    • 73875b8bb (dev), 8f89f45f4 (6.8)

    Description

      [106/2825] Linking CXX executable qtbase/lib/qt6/syncqt
      FAILED: qtbase/lib/qt6/syncqt
      : && /usr/gcc/13/bin/g++ -m64 -O3 -ffile-prefix-map=/builds/psumbera/userland-qt-8.4/components/desktop/qt6=. -fPIC -DPIC -DNDEBUG -O3 -fexceptions -fPIE -pie qtbase/src/tools/syncqt/CMakeFiles/syncqt.dir/main.cpp.o -o qtbase/lib/qt6/syncqt   && :
      Undefined                       first referenced
       symbol                             in file
      __stack_chk_fail                    qtbase/src/tools/syncqt/CMakeFiles/syncqt.dir/main.cpp.o
      __stack_chk_guard                   qtbase/src/tools/syncqt/CMakeFiles/syncqt.dir/main.cpp.o
      ld: fatal: symbol referencing errors
      collect2: error: ld returned 1 exit status
      ninja: build stopped: subcommand failed.
      

      As workaround I can set LDFLAGS=-lssp.

      There was no need for this with Qt 6.7.0.

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            psumbera Petr Šumbera
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes