-
Notifications
You must be signed in to change notification settings - Fork 380
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
Any plans to support musl libc? #914
Comments
Feel free to open a pull request to add support for musl libc or contact one of the commercial support provides to do a port for you, see http://www.dre.vanderbilt.edu/~schmidt/commercial-support.html |
I've fixed ACE compilation against musl libc. I'm aware that ACE is not ACE+TAO but the attached patch perhaps gives a good starting point for someone else who picks up the task. |
Can you open a pull request with your changes @drandreas ? Most portability issues are in ACE so your changes would help anyone interested in musl libc |
Sorry, I do not yet consider the patch mature enough for production. |
I'm not sure why this was closed in 2019. Now reopened with PR #2275 linked. |
Version
6.5.5
Host machine and operating system
Alpine linux docker container.
Target machine and operating system (if different from host)
Compiler name and version (including patch level)
The $ACE_ROOT/ace/config.h file
https://github.com/LASAGNE-Open-Systems/LASAGNE-Core/blob/release-1.5.1/bin/build/ace/config.h
The $ACE_ROOT/include/makeinclude/platform_macros.GNU file
https://github.com/LASAGNE-Open-Systems/LASAGNE-Core/blob/release-1.5.1/bin/build/ace/platform_macros.GNU
AREA/CLASS/EXAMPLE AFFECTED:
ACE.cpp fails to compile, and many if not all following units.
Synopsis
Looks like a bunch of types are defined differently, i.e. loff_t, ucontext_t, cpu_set_t.
Repeat by
Based on this https://github.com/LASAGNE-Open-Systems/docker-lasagne-core/blob/master/lasagne-core/Dockerfile except the top updated to read
Sample fix/ workaround
Possibly too much effort, looks like musl has no backwards compatibility, and it may be too much effort to update ACE+TAO to be compliant with modern standards and also older libraries.
The text was updated successfully, but these errors were encountered: