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

Ports/SDL2: If ccache port is installed, build of SDL2 attempts to use ccache from sysroot and fails #25620

Open
Kusekushi opened this issue Jan 4, 2025 · 1 comment

Comments

@Kusekushi
Copy link
Contributor

Attached is the build log to building SDL2 after ccache:
output.txt
Other than the ccache port, it's a clean build of Serenity (x86_64, vanilla).

My own /usr/lib/libgcc_s.so is an ld script

[kusekushi@bl2 SDL2]$ more /usr/lib/libgcc_s.so
/* GNU ld script
   Use the shared library, but some functions are only in
   the static library.  */
GROUP ( libgcc_s.so.1 -lgcc )

which my OS (Arch) actually provides in the gcc-libs package.

Is this my own fault or something else?

@timschumi
Copy link
Member

There is a flag that seems to control whether SDL automatically uses ccache to build, it's probably best to just turn it off outright:

 --   SDL_CCACHE                  (Wanted: ON): ON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants