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

[FTBFS w/-unity-build] Linux build runs into sys/mount.h vs. linux/fs.h incompatibility

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • dev
    • Core: I/O
    • None
    • Linux/Wayland, Linux/X11, Linux/Yocto, Linux/Other display system
    • ea6abe583 (dev)

    Description

      https://codereview.qt-project.org/c/qt/qtbase/+/511801 broke -unity-build's in which qfilesystemengine_unix.cpp ends up in the same unity_cxx_nn.cpp as qstorageinfo_linux.cpp.

      While this affects only certain glibc's, Unbuntu 20.04 is affected. The internet suggests to not mix the two APIs in one executable, due to ODR violations (MS_ flags are #define'd in one and an enum in the other).

      Reference:

      Attachments

        Issue Links

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

          Activity

            People

              ahmad.samir Ahmad Samir
              mmutz Marc Mutz
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes