-
Notifications
You must be signed in to change notification settings - Fork 30
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
Makefile.uk.musl.exit: Patch for building on case insensitive file systems #70
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't test this on MacOS, but it works fine on linux. @Starnox Please update the commit message to state why the name conflict appears on MacOS and not on Linux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
the PR looks good. Just a minor comment: In the commit message can you replace "Darwin does not support case sensitive"? It actually supports it but the support depends on how a volume got formatted. Case-insensitive is just the default setting. Maybe rephrase slightly your commit and title that the is done to support case-insensitive filesystems. It could probably even happen on Linux environments if the underlying file system is restricted. No need to mention Darwin.
Another minor thing: Can you rename the _Exit.c
file to _exit.c
(git mv _Exit.c _exit.c
and adopt Makefile.uk
accordingly: _exit.c|unikraft
). This removes any leftovers of case sensitivity. Our build system is anyways also not good in handling case sensitive filenames.
Thanks,
Simon
Ups, sorry, the conflict actually occurs because:
However, both source files are part of the extracted musl archive, so please do not rename any files. I'd actually name the variant Thanks, Simon |
Add `exit` variant to _Exit.c to prevent symbol conflicts. This is necessary since some file systems are case insensitive, and it could otherwise lead to a conflict with the object resulted from _exit.c Signed-off-by: Eduard-Florin Mihailescu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @Starnox
Reviewed-by: Stefan Jumarea [email protected]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed-by: Simon Kuenzer [email protected]
Approved-by: Simon Kuenzer [email protected]
Add
exit
variant to__Exit.c
in order to avoid symbol conflicts on case insensitive file systems