Closed kdave closed 2 years ago
If adding #undef min
after the last #include
in fiemap.cc
fixes the build (or at least gets rid of those particular errors), it's a libc headers problem. They aren't detecting C++ properly and polluting the namespace with macros.
wait no that's completely not this problem. :-P
FIEMAP_MAX_OFFSET and __u64 are different types on this arch?
Can you test the fix-issue-194 branch?
Bah, I'm pushing things early a lot these days. Try 12e8065, it actually builds. :-P
This fixed the ppc64le build, thanks.
I was considering dropping fiemap
completely since filefrag -vX
now exists, but it's easy enough to keep fiemap
alive, and I don't want to open the worm can of dropping a whole binary today.
The build of 0.7 succeeds on all other arches, fails on ppc64le (gcc 11.2), full log at: https://build.opensuse.org/package/live_build_log/filesystems/bees/openSUSE_Tumbleweed/ppc64le
The relevant part: