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

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.0.0
    • 4.7.1
    • SQL Support
    • None
    • Debian GNU/Linux, Squeeze
    • 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

            Unassigned Unassigned
            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