GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — wasm2c from binaryen conflicts with wasm2c from wabt · Issue #9002 · WebAssembly/binaryen

wasm2c from binaryen conflicts with wasm2c from wabt #9002

New issue
Copy link
New issue
Copy link
Open
Open
wasm2c from binaryen conflicts with wasm2c from wabt#9002
Copy link

Description

@rathann
rathann
opened on Aug 13, 2026
Issue body actions

The newly added (#8763) wasm2c tool introduces a conflict with wabt's wasm2c, which would prevent both packages from being installed at the same time on Fedora (and I have another package that requires both to build).

Are these two wasm2c supposed to be drop-in replacements and compatible? If not, can you rename one of them?

Activity

  1. kripken commented on Aug 13, 2026

    @kripken
    kripken
    on Aug 13, 2026
    Member
    More actions

    cc @lexi-nadia @tlively

    There is some ongoing debate about the future of these tools, so maybe this is moot or will be.

    But isn't the usual practice to rename on the distro side? (e.g. binaryen-wasm2c or byn-wasm2c for the fedora package)

    Reacted by Thomas Lively
  2. rathann commented on Aug 13, 2026

    @rathann
    rathann
    on Aug 13, 2026
    ContributorAuthor
    More actions

    cc @lexi-nadia @tlively

    There is some ongoing debate about the future of these tools, so maybe this is moot or will be.

    Alright, thanks for your consideration.

    But isn't the usual practice to rename on the distro side? (e.g. binaryen-wasm2c or byn-wasm2c for the fedora package)

    It is and I'm going to do that. For now, I'm more concerned that at least one lit test fails on i686, but I'll open a separate issue for that.

  3. robertkirkman commented on Aug 18, 2026

    @robertkirkman
    robertkirkman
    on Aug 18, 2026
    More actions

    sharing what I am doing, this is for people who are using the classically controversial command sudo make install or logical equivalents to or approximations of it, so that their wabt wasm2c does not get erased.

    --- a/src/tools/wasm2c/CMakeLists.txt
    +++ b/src/tools/wasm2c/CMakeLists.txt
    @@ -10,6 +10,6 @@ set(WASM2C_TEMPLATE_SOURCES
         ${PREBUILT_DIR}/wasm2c_spec_top.cpp
     )
     
    -binaryen_add_executable(wasm2c "wasm2c-builder.cpp;assertion-emitter.cpp;wasm2c.cpp;${WASM2C_TEMPLATE_SOURCES}")
    +binaryen_add_executable(binaryen-wasm2c "wasm2c-builder.cpp;assertion-emitter.cpp;wasm2c.cpp;${WASM2C_TEMPLATE_SOURCES}")
     # TODO: https://github.com/WebAssembly/binaryen/issues/8775 - stop using picosha2
    -target_include_directories(wasm2c PRIVATE ${PROJECT_SOURCE_DIR}/third_party/picosha2 ${PROJECT_SOURCE_DIR}/src/tools/wasm2c)
    +target_include_directories(binaryen-wasm2c PRIVATE ${PROJECT_SOURCE_DIR}/third_party/picosha2 ${PROJECT_SOURCE_DIR}/src/tools/wasm2c)
  4. tlively commented on Aug 18, 2026

    @tlively
    tlively
    on Aug 18, 2026
    Member
    More actions

    Since Binaryen's wasm2c is still very much under construction, it might also make sense to make building it opt-in in the cmake config. I would be happy to accept a PR making that change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.