forked from WebAssembly/binaryen
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22a248b
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.
@caiiiycuk could you let me know which version of Emscripten you are using with this fork of Binaryen?
22a248b
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.
latest
22a248b
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.
Thanks for the quick reply, are you overriding any of the following CMake flags when you build Binaryen:
EMSCRIPTEN_ENABLE_WASM_EH
,BYN_ENABLE_ASSERTIONS
,BYN_ENABLE_LTO
?22a248b
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.
Are you experiencing any issues with the build? I haven't tested it extensively.
22a248b
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 am having some issues building after the latest commits to your fork:
and:
Still investigating, so far I have only tried bumping the standard to C++20 via
-DCMAKE_CXX_STANDARD=20
although I think C++17 should also be supported. I am also passing-DBUILD_TESTS=OFF
and-DBUILD_STATIC_LIB=ON
to cmake at the moment. The latter was a workaround for some dynamic linking issues I was having earlier (cannot remember the details).22a248b
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.
Hmm, maybe you used wrong version of compiler. At least for me everything is compiled.
22a248b
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.
Definitely possible. I am using gcc version 8.3.0 (Debian 8.3.0-6) from the
build-essential
package on Debian Buster22a248b
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.
Updating to gcc version 12.2.0 (Debian 12.2.0-14) resolved these compile errors.