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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P4: Low P4: Low
    • 5.0.0
    • 4.7.1
    • SQL Support
    • None
    • Debian GNU/Linux, Squeeze
    • 8e943bbf5de795d3bffbe843f5ddb26b6943317b

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes