You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "yamt (via GitHub)" <gi...@apache.org> on 2023/09/08 09:59:44 UTC
[GitHub] [nuttx-apps] yamt opened a new issue, #2046: tools/Wasm.mk problems
yamt opened a new issue, #2046:
URL: https://github.com/apache/nuttx-apps/issues/2046
* the idea to build wasm modules using nuttx headers is broken
* it produces very WAMR specific modules (it seems targeting WAMR's LIBC_BUILTIN). if we want to build wasm modules, it's better to target wasm32-wasi.
* WCC detection is broken. for example, github ubuntu-22.04 runners have /bin/clang, which confuses the detection.
* CONFIG_INTERPRETERS_WASM vs CONFIG_INTERPRETERS_WASM3 typo
my proposal: remove it
an alternative:
* target it to wasm32-wasi
* have an explicit config to enable it (disable it by default)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx-apps] yamt commented on issue #2046: tools/Wasm.mk problems
Posted by "yamt (via GitHub)" <gi...@apache.org>.
yamt commented on issue #2046:
URL: https://github.com/apache/nuttx-apps/issues/2046#issuecomment-1713136518
> @yamt We are not using the implementation of wasi/wasi-libc. We have a python script to parse nuttx csv files([syscall](https://github.com/apache/nuttx/blob/master/syscall/syscall.csv)/[libc](https://github.com/apache/nuttx/blob/master/libs/libc/libc.csv)/[libm](https://github.com/apache/nuttx/blob/master/libs/libm/libm.csv)) to automatically generate nuttx syscall/libc/libm glue codes. Currently, this feature works as expected without boundary checking in wamr, but it still needs some work if enable boundary check.
where can i find the python script?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx-apps] yamt commented on issue #2046: tools/Wasm.mk problems
Posted by "yamt (via GitHub)" <gi...@apache.org>.
yamt commented on issue #2046:
URL: https://github.com/apache/nuttx-apps/issues/2046#issuecomment-1713749083
why do you prefer the "no sandbox" approach?
doesn't it spoil many of benefits of wasm?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx-apps] no1wudi commented on issue #2046: tools/Wasm.mk problems
Posted by "no1wudi (via GitHub)" <gi...@apache.org>.
no1wudi commented on issue #2046:
URL: https://github.com/apache/nuttx-apps/issues/2046#issuecomment-1714880839
@yamt Please refer to this PR https://github.com/apache/nuttx-apps/pull/2058
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx-apps] anchao commented on issue #2046: tools/Wasm.mk problems
Posted by "anchao (via GitHub)" <gi...@apache.org>.
anchao commented on issue #2046:
URL: https://github.com/apache/nuttx-apps/issues/2046#issuecomment-1712013238
@yamt
We are not using the implementation of wasi/wasi-libc. We have a python script to parse nuttx csv files([syscall](https://github.com/apache/nuttx/blob/master/syscall/syscall.csv)/[libc](https://github.com/apache/nuttx/blob/master/libs/libc/libc.csv)/[libm](https://github.com/apache/nuttx/blob/master/libs/libm/libm.csv)) to automatically generate nuttx syscall/libc/libm glue codes. Currently, this feature works as expected without boundary checking in wamr, but it still needs some work if enable boundary check.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx-apps] anchao commented on issue #2046: tools/Wasm.mk problems
Posted by "anchao (via GitHub)" <gi...@apache.org>.
anchao commented on issue #2046:
URL: https://github.com/apache/nuttx-apps/issues/2046#issuecomment-1713170633
> where can i find the python script?
I will upload a draft ASAP
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org