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

Large file support not applied for SQLite(included in Qt) at Qt building

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4: Low
    • Resolution: Done
    • Affects Version/s: 4.7.1
    • Fix Version/s: 5.0.0
    • Component/s: SQL Support
    • Labels:
      None
    • Environment:
      Debian GNU/Linux, Squeeze
    • Commits:
      8e943bbf5de795d3bffbe843f5ddb26b6943317b

      Description

      My Qt configure step contains "-no-largefile" option. My toolchain(uClibc-based for cross compilation) also builded without large file support.
      As a result, I got a compile error:

      compiling ../../sqlite/sqlite3.c
      In file included from /home/sergey/x-tools/arm-unknow-linux-uclibcgnueabi/arm-unknow-linux-uclibcgnueabi//sys-root/usr/include/stdint.h:26,
                       from ../../sqlite/sqlite3.c:312:
      /home/sergey/x-tools/arm-unknow-linux-uclibcgnueabi/arm-unknow-linux-uclibcgnueabi//sys-root/usr/include/features.h:416:4: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled.
      

      Sqlite support for large files can be turned off during building, but it does not turn off.

        Attachments

        For Gerrit Dashboard: QTBUG-15395
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            laborer Sergey Gusarov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes