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

fix AOT debug for macOS #1494

Merged
merged 5 commits into from
Sep 16, 2022
Merged

Conversation

yamt
Copy link
Collaborator

@yamt yamt commented Sep 16, 2022

note: macOS doesn't have elf.h.

https://github.com/apache/incubator-nuttx
commit 72313301e23f9c2de969fb64b9a0f67bb4c284df

I took them from NuttX because they have a compatible license.
(Apache 2.0)
While elf.h is commonly avalilable on Linux,
it isn't on other platforms like macOS.
* "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yamt, when introducing new files from other projects, we used to (1) add a file LICENSE under the related folder, (2) update the <wamr-root>/ATTRIBUTIONS.md to avoid the license issue. Could you do the similar operations? Thanks.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.
i included their LICENSE/NOTICE files as they are. if it's preferred to strip unrelated parts, please let me know.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I found that LINCESE_NUTTX is really long, but we only need the first part, right? Can we only keep the content before L202?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok. i removed unrelated parts.

@wenyongh wenyongh merged commit f5939c7 into bytecodealliance:main Sep 16, 2022
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
note: macOS doesn't have elf.h
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

Successfully merging this pull request may close these issues.

2 participants