Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add /bigobj to MSVC build #11407

Merged
merged 1 commit into from
Jan 25, 2025
Merged

Conversation

jeffbolznv
Copy link
Collaborator

I've recently started getting an error in the msvc debug build:

6>C:\github\jeffbolznv\llama.cpp\examples\server\server.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj

The build works with this option added.

@github-actions github-actions bot added the build Compilation issues label Jan 25, 2025
@jeffbolznv jeffbolznv merged commit ca6baf7 into ggerganov:master Jan 25, 2025
45 checks passed
@slaren
Copy link
Collaborator

slaren commented Jan 25, 2025

Not sure why the CI didn't catch it here, but this seems to be breaking the CUDA builds on master: https://github.com/ggerganov/llama.cpp/actions/runs/12967002818/job/36168368845
Changing it so that it only affects C/C++ source files should fix it.

@dranger003
Copy link
Contributor

This PR breaks the CUDA build here as well.

@jeffbolznv
Copy link
Collaborator Author

I'll push a fix shortly.

anagri pushed a commit to BodhiSearch/llama.cpp that referenced this pull request Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Compilation issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants