The problem is that the benchmark code uses 32bit lseek(2) function. It should either be replaced with lseek64(2), or define _FILE_OFFSET_BITS 64 Here is a (one-line) patch:
--- a/src/disks/gdubenchmarkdialog.c +++ b/src/disks/gdubenchmarkdialog.c @@ -9,6 +9,7 @@
#include "config.h"
+#define _FILE_OFFSET_BITS 64 #include <glib/gi18n.h> #include <gio/gunixfdlist.h> #include <gio/gunixinputstream.h>
The problem is that the benchmark code uses 32bit lseek(2) function.
It should either be replaced with lseek64(2), or define _FILE_OFFSET_BITS 64
Here is a (one-line) patch:
--- a/src/disks/ gdubenchmarkdia log.c gdubenchmarkdia log.c
+++ b/src/disks/
@@ -9,6 +9,7 @@
#include "config.h"
+#define _FILE_OFFSET_BITS 64 stream. h>
#include <glib/gi18n.h>
#include <gio/gunixfdlist.h>
#include <gio/gunixinput