Skip to content

Conversation

@wenyongh
Copy link
Owner

@wenyongh wenyongh commented Jan 7, 2022

Fix some issues on MacOS platform

  • Enable libc-wasi by default
  • Set target abi to "gnu" if it is not set for wamrc to avoid generating
    object file of unsupported Mach-O format
  • Set <vendor>-<sys> info according to target abi for wamrc to support
    generating AOT file for other OSs but not current host
  • Set cpu name if arch/abi/cpu are not set to avoid checking SIMD
    capability failed
  • Set size level to 1 for MacOS/Windows platform to avoid relocation type
    unsupported warning
  • Clear posix_memmap.c compiling warning
  • Fix spec case test script issues, enable test spec cases on MacOS

Signed-off-by: Wenyong Huang [email protected]

Fix some issues on MacOS platform
- Enable libc-wasi by default
- Set target abi to "gnu" if it is not set for wamrc to avoid generating
  object file of unsupported Mach-O format
- Set `<vendor>-<sys>` info according to target abi for wamrc to support
  generating AOT file for other OSs but not current host
- Set cpu name if arch/abi/cpu are not set to avoid checking SIMD
  capability failed
- Set size level to 1 for MacOS/Windows platform to avoid relocation type
  unsupported warning
- Clear posix_memmap.c compiling warning
- Fix spec case test script issues, enable test spec cases on MacOS

Signed-off-by: Wenyong Huang <[email protected]>
@wenyongh wenyongh merged commit 46a5dc7 into wenyongh:main Jan 7, 2022
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.

1 participant