Coder Social home page Coder Social logo

Comments (5)

jrosdahl avatar jrosdahl commented on June 15, 2024

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.

sandercox avatar sandercox commented on June 15, 2024

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.

sandercox avatar sandercox commented on June 15, 2024

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.

jrosdahl avatar jrosdahl commented on June 15, 2024

@sandercox: I might have fixed this in a251091. Could you try if latest master works better for you?

from ccache.

sandercox avatar sandercox commented on June 15, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.