-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add support for the musl libc. #1239
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Musl 1.2.4 made the LFS64 interfaces only available when _LARGEFILE64_SOURCE is defined, and they will be removed altogether in Musl 1.2.5.
vimproved
added a commit
to vimproved/Carla
that referenced
this pull request
Sep 5, 2023
From juce-framework/JUCE#1239. Signed-off-by: Violet Purcell <[email protected]>
vimproved
added a commit
to vimproved/Carla
that referenced
this pull request
Sep 5, 2023
From juce-framework/JUCE#1239. Signed-off-by: Violet Purcell <[email protected]>
baconpaul
pushed a commit
to surge-synthesizer/JUCE
that referenced
this pull request
Jun 28, 2024
…libc (#6) This commit squashes the four GLIBC/MUSL commits from juce-framework#1239 into our branch as a single commit (retaining a single commit to make future rebasing easier etc). Those commits were: * SystemStats: Only use locales on glibc * Linux: Add JUCE_GLIBC and JUCE_MUSL macros * SystemStats: Do not use execinfo.h on JUCE_MUSL * Native: Only use stat64 on glibc and iOS Musl 1.2.4 made the LFS64 interfaces only available when _LARGEFILE64_SOURCE is defined, and they will be removed altogether in Musl 1.2.5. --------- Co-authored-by: Violet Purcell <[email protected]>
baconpaul
added a commit
to surge-synthesizer/JUCE
that referenced
this pull request
Jul 10, 2024
…libc (#6) This commit squashes the four GLIBC/MUSL commits from juce-framework#1239 into our branch as a single commit (retaining a single commit to make future rebasing easier etc). Those commits were: * SystemStats: Only use locales on glibc * Linux: Add JUCE_GLIBC and JUCE_MUSL macros * SystemStats: Do not use execinfo.h on JUCE_MUSL * Native: Only use stat64 on glibc and iOS Musl 1.2.4 made the LFS64 interfaces only available when _LARGEFILE64_SOURCE is defined, and they will be removed altogether in Musl 1.2.5. --------- Co-authored-by: Violet Purcell <[email protected]> Rebase to 7.0.12 by baconpaul
4 tasks
baconpaul
added a commit
to surge-synthesizer/JUCE
that referenced
this pull request
Sep 27, 2024
…libc (#6) This commit squashes the four GLIBC/MUSL commits from juce-framework#1239 into our branch as a single commit (retaining a single commit to make future rebasing easier etc). Those commits were: * SystemStats: Only use locales on glibc * Linux: Add JUCE_GLIBC and JUCE_MUSL macros * SystemStats: Do not use execinfo.h on JUCE_MUSL * Native: Only use stat64 on glibc and iOS Musl 1.2.4 made the LFS64 interfaces only available when _LARGEFILE64_SOURCE is defined, and they will be removed altogether in Musl 1.2.5. --------- Co-authored-by: Violet Purcell <[email protected]> Rebase to 7.0.12 by baconpaul
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JUCE currently uses multiple glibc-specific features when JUCE_LINUX is defined. Instead, this pull request adds two new macros in juce_TargetPlatform.h: JUCE_GLIBC and JUCE_MUSL. JUCE_GLIBC is defined if the system is using glibc (detected through the GLIBC macro which should be defined on all glibc systems), and JUCE_MUSL is defined otherwise. This pull request also conditions the usage of execinfo.h (only available on glibc), the usage of the stat64 interface (being removed in the next release of musl, currently only available when _LARGEFILE64_SOURCE is defined), and the usage of _NL_ADDRESS_LANG_AB and _NL_ADDRESS_COUNTRY_AB2 (locales are not supported by musl) behind JUCE_GLIBC instead of JUCE_LINUX.