GNU bug report logs - #42448
readdir misbehaves when running 32-bit user space on a 64-bit-kernel - kernel/userspace interface mismatch in getdents64

Previous Next

Package: guix;

Reported by: Brett Gilio <brettg <at> gnu.org>

Date: Mon, 20 Jul 2020 19:45:01 UTC

Severity: critical

Merged with 43513

Full log


View this message in rfc822 format

From: Brett Gilio <brettg <at> gnu.org>
To: 42448 <at> debbugs.gnu.org
Subject: bug#42448: A possible solution
Date: Mon, 20 Jul 2020 18:04:07 -0500
As Marius Bakke pointed out on IRC, this issue is related to a change in
CMake where after 3.15 they removed the explicit `#define
_FILE_OFFSET_BITS 64`. The solution solution to this is to add

--8<---------------cut here---------------start------------->8---
CFLAGS="-D_FILE_OFFSET_BITS=64"
CXXFLAGS="-D_FILE_OFFSET_BITS=64"
--8<---------------cut here---------------end--------------->8---

to CMakes compilation procedure. This is a core-updates change. I will
leave this issue open for now in case this needs more
investigation. Since I am just coming off of a haitus I think there are
changes to the core-updates and staging procedures so I dont think I am
comfortable making this change myself.

Brett Gilio




This bug report was last modified 4 years and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.