Bug 511978 - getdents_filter.c:18:5: error: unknown type name 'off64_t'; did you mean 'off_t'?
Summary: getdents_filter.c:18:5: error: unknown type name 'off64_t'; did you mean 'off...
Status: RESOLVED DUPLICATE of bug 511548
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: 3.26 GIT
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-12 01:55 UTC by Mingli
Modified: 2025-11-12 10:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
a proposed fix for off64_t not defined (1020 bytes, patch)
2025-11-12 02:52 UTC, Mingli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mingli 2025-11-12 01:55:57 UTC
When build with musl, the build fails as below.

getdents_filter.c:18:5: error: unknown type name 'off64_t'; did you mean 'off_t'?
   18 |     off64_t  d_off;
      |     ^~~~~~~
      |     off_t
make[5]: *** [Makefile:920: getdents_filter.o] Error 1
Comment 1 Mingli 2025-11-12 02:52:43 UTC
Created attachment 186717 [details]
a proposed fix for off64_t not defined
Comment 2 Mark Wielaard 2025-11-12 10:12:50 UTC
I think the "fix" in https://bugs.kde.org/show_bug.cgi?id=511548 is a slightly nicer solution.

*** This bug has been marked as a duplicate of bug 511548 ***