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

libgccjit: depend on gcc #171822

Closed
wants to merge 1 commit into from
Closed

Conversation

fxcoudert
Copy link
Member

@Bo98
Copy link
Member

Bo98 commented May 15, 2024

Do we need the dependency on Linux?

@carlocab
Copy link
Member

#171811

@fxcoudert
Copy link
Member Author

To be honest, I don't understand how this happens to work with a non-GCC compiler (or a different version of the GCC compiler). libgccjit is a giant wrapping of the GCC compiler itself, and it emits GCC-generated code, so it will call functions from its runtime library.

Ah, found it:

Breakpoint 2: where = libcompiler_rt.dylib`__muldc3, address = 0x000000018d09a1b8

so it is using the clang runtime libraries from the system. Doesn't seem like a good thing, though. And not sure that all functions are provided.

@Bo98
Copy link
Member

Bo98 commented May 16, 2024

Linux question was more of a question whether we need the latest GCC or whether using the system GCC (Homebrew's minimum is 11) is OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long build Needs CI-long-timeout
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants