Comments (5)
Sounds like you're using a ccache built in 32-bit mode? Have you built it yourself or did you get a prebuilt version?
That said, the ccache build system sets _FILE_OFFSET_BITS=64
to be able to handle large files even when built in 32-bit mode. I don't know if that works on macOS or if there is another way to opt-in to 64-bit APIs.
from ccache.
Sounds like you're using a ccache built in 32-bit mode? Have you built it yourself or did you get a prebuilt version?
That said, the ccache build system sets
_FILE_OFFSET_BITS=64
to be able to handle large files even when built in 32-bit mode. I don't know if that works on macOS or if there is another way to opt-in to 64-bit APIs.
Our fleet of computers uses homebrew brew install ccache
but I'll give a manual ccache built a try to see if I can get that to properly handle 64bit files.
Thanks for info on where to my investigation.
from ccache.
Tried a build with a manual compiled ccache
cmake -G Ninja -B build && cmake --build
ln -s "$(pwd)/build/ccache" /usr/local/bin/ccache
But that has the same invalid argument error. THis happens after about 3 minutes compiling the file in question - any pointers on where I should add a breakpoint when running a debugger for this? Happy to dig a bit to get the issue resolved!
from ccache.
@sandercox: I might have fixed this in a251091. Could you try if latest master works better for you?
from ccache.
@jrosdahl Thank you for fixing this, the latest master works on that version of our code. We've also went ahead and done some work on limiting our object file size to begin with, but thank you for taking the time to fix it.
from ccache.
Related Issues (20)
- Assertion failure on Windows mapped network drives
- Potential ways to improve the .incbin support (or lack thereof) HOT 2
- access permission error with Xcode HOT 1
- Build error when using REDIS_STORAGE_BACKEND=OFF HOT 1
- Add support for `-Xpreprocessor -fopenmp` on Apple Clang HOT 3
- CMake on Windows: config not working HOT 1
- Cache-local config only picked up if CCACHE_DIR is defined HOT 1
- Ccache does not work correctly with Clang coverage with run_second_cpp = false (CCACHE_NOCPP2) HOT 3
- Cannot get gcno sloppiness to work
- Direct mode match unexpected cache HOT 3
- Make it possible to avoid the timestamp part of files with CCACHE_DEBUG=1 HOT 2
- `-fdiagnostics-color=always` doesn't get respected when `-c` is passed with clang HOT 1
- Add support for `-fdump-ipa-clones`
- Wrong TAKES_/CONCAT_ARG for msvc options HOT 3
- `cmake -DFETCHCONTENT_FULLY_DISCONNECTED=ON` has no effect HOT 1
- Add support for `--em-config` of emscripten compiler HOT 1
- Support caching of additional compiler output like diagnostics
- Need examples of how to set config HOT 3
- Improve emcc/em++(Emscripten) support.
- Offline build with fmt is complicated in 4.10 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccache.