[PATCH] D139752: cmake: Enable 64bit off_t on 32bit glibc systems
Steven Johnson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 11:16:55 PST 2023
srj added a comment.
> You can use `curl -L 'https://reviews.llvm.org/D139752?download=1' | patch -p1` to apply the changes.
>
> Applying this patch fixes my llvm-project build on my Gentoo machine using `=sys-libs/musl-9999` (git master). We probably want to fix these issues so that the next release llvm-project 16.0.0 will be buildable with the next release of musl (1.2.4).
Sorry for the long delay. Trying this at today's top of tree fails for me with `<command-line>: error: token "=" is not valid in preprocessor expressions`... looking at the commandline, I see that we now have `-D_FILE_OFFSET_BITS="64` (yes, missing a trailing quote) on the command line. Not sure how/why. (Note that this is build using CMake with Ninja as the Generator, not Make.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139752/new/
https://reviews.llvm.org/D139752
More information about the llvm-commits
mailing list