Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin Emscripten toolchain to 1.39.16-fastcomp #653

Merged
merged 1 commit into from
Jun 8, 2020

Conversation

ilammy
Copy link
Collaborator

@ilammy ilammy commented Jun 8, 2020

Starting with Emscripten 1.39.17-fastcomp, the compiler is now printing warnings, urging to migrate to the upstream flavor:

emcc: error: the fastomp compiler is deprecated.  Please switch
to the upstream llvm backend as soon as possible and open issues
if you have trouble doing so [-Wfastcomp] [-Werror]

Unfortunately, we cannot migrate at the moment because the upstream compiler is not able to build and link everything. While we're investigating the issues, we need this warning gone – we keep a non-negotiable “treat warnings as errors” policy. This makes out builds red.

We cannot suppress this particular warning with -Wno-fastcomp because it affects the BoringSSL build as well. They have -Wall added after all custom flags so we are not able to suppress this warning there.

Therefore, for the time being, let's pin Emscripten toolchain to the latest good version that does not emit warnings. I got the message, I'll work on supporting the upstream flavor in the next release.

Checklist

  • Change is covered by automated tests
  • The coding guidelines are followed
  • Public API has proper documentation
  • Changelog is updated (we'll keep a note it documentation)

Starting with Emscripten 1.39.17-fastcomp, the compiler is now printing
warnings, urging to migrate to the upstream flavor:

    emcc: error: the fastomp compiler is deprecated.  Please switch
    to the upstream llvm backend as soon as possible and open issues
    if you have trouble doing so [-Wfastcomp] [-Werror]

Unfortunately, we cannot migrate at the moment because the upstream
compiler is not able to build and link everything. While we're
investigating the issues, we need this warning gone -- we keep
a non-negotiable "treat warnings as errors" policy.

We cannot suppress this particular warning with "-Wno-fastcomp" because
it affects the BoringSSL build as well. They have "-Wall" added *after*
all custom flags so we are not able to suppress this warning there.

Therefore, for the time being, let's pin Emscripten toolchain to the
latest good version that does not emit warnings. I got the message,
I'll work on supporting the upstream flavor in the next release.
@ilammy ilammy added infrastructure Automated building and packaging W-WasmThemis 🌐 Wrapper: WasmThemis, JavaScript API, npm packages labels Jun 8, 2020
@ilammy ilammy self-assigned this Jun 8, 2020
@ilammy ilammy merged commit 6539216 into cossacklabs:master Jun 8, 2020
@ilammy ilammy deleted the rollback-emscripten branch June 8, 2020 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Automated building and packaging W-WasmThemis 🌐 Wrapper: WasmThemis, JavaScript API, npm packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants