Closed JoshuaPK closed 2 months ago
Thanks for the report. I'm not seeing that here on macOS, but will check on Linux.
FWIW – The error is happening when building xsbug. The SupressedError
support is only built as part of the experimental Explicit Resource Management proposal support. That is disabled by default. The Moddable SDK only builds it for xst
, the XS test tool used for conformance and fuzz testing, by setting mxExplicitResourceManagement=1
in the make file. Somehow your build of xsbug seems to have SupressedError
partially enabled, which causing the link error.
Hello @JoshuaPK, is it possible that there are changes made to files in your Moddable SDK?
I've checked my mc.xs.c
file that was created when I built the tools, searching for Suppressed
, but I did not find it.
Any update here? Without some additional information to investigate, we'll close this out in the coming days. Thanks.
This appears to be a one-off occurrence. I retried cloning and building the Moddable repository and this problem did not re-occur.
That's great to hear. Thanks for letting us know.
Build environment: Linux, AlmaLinux 9.4, gcc 11.4.1, cmake 3.26.5, esp-idf 5.3 Moddable SDK version: 5.0.0 Target device: ESP32
Description I followed directions in the Getting Started documentation. I first installed esp-idf 5.3 using the method described in the Getting Started documentation (ESP32 Install), then installed the Moddable SDK. While attempting to do a 'make' on the SDK, I got the following compile errors:
I modified the affected files to change the reference of fs_SuppressedError to fx_Error and it built without problem after that.
Steps to Reproduce
Expected behavior A successful SDK build.