[L] Change in dart/sdk[main]: [dart2wasm] Enable --gufa also in deferred loading scenario

0 views
Skip to first unread message

Martin Kustermann (Gerrit)

unread,
May 18, 2026, 6:31:41 AMMay 18
to Srujan Gaddam, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart2wasm-t...@google.com, rev...@dartlang.org
Attention needed from Srujan Gaddam

Martin Kustermann added 1 comment

Commit Message
Line 17, Patchset 2 (Latest):[0] https://github.com/WebAssembly/binaryen/issues/8691
Martin Kustermann . unresolved

This revealed some other binaryen bugs. Filed one for now:

https://github.com/WebAssembly/binaryen/issues/8718

Open in Gerrit

Related details

Attention is currently required from:
  • Srujan Gaddam
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I8c2d15d78831de7cb204fbc0cf5462d4a5ac2e6b
Gerrit-Change-Number: 504200
Gerrit-PatchSet: 2
Gerrit-Owner: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Srujan Gaddam <sru...@google.com>
Gerrit-Attention: Srujan Gaddam <sru...@google.com>
Gerrit-Comment-Date: Mon, 18 May 2026 10:31:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Srujan Gaddam (Gerrit)

unread,
May 18, 2026, 4:52:57 PMMay 18
to Martin Kustermann, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart2wasm-t...@google.com, rev...@dartlang.org
Attention needed from Martin Kustermann

Srujan Gaddam voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Martin Kustermann
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I8c2d15d78831de7cb204fbc0cf5462d4a5ac2e6b
Gerrit-Change-Number: 504200
Gerrit-PatchSet: 2
Gerrit-Owner: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Srujan Gaddam <sru...@google.com>
Gerrit-Attention: Martin Kustermann <kuste...@google.com>
Gerrit-Comment-Date: Mon, 18 May 2026 20:52:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Martin Kustermann (Gerrit)

unread,
Jun 2, 2026, 4:35:16 PM (yesterday) Jun 2
to Srujan Gaddam, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart2wasm-t...@google.com, rev...@dartlang.org
Attention needed from Srujan Gaddam

Martin Kustermann added 2 comments

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Martin Kustermann . resolved

PTAL

Commit Message

This revealed some other binaryen bugs. Filed one for now:

https://github.com/WebAssembly/binaryen/issues/8718

Martin Kustermann

The binaryen bug was marked as fixed, so we can roll new version in this CL.

Open in Gerrit

Related details

Attention is currently required from:
  • Srujan Gaddam
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I8c2d15d78831de7cb204fbc0cf5462d4a5ac2e6b
Gerrit-Change-Number: 504200
Gerrit-PatchSet: 4
Gerrit-Owner: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Srujan Gaddam <sru...@google.com>
Gerrit-Attention: Srujan Gaddam <sru...@google.com>
Gerrit-Comment-Date: Tue, 02 Jun 2026 20:35:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Martin Kustermann <kuste...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Srujan Gaddam (Gerrit)

unread,
Jun 2, 2026, 4:47:50 PM (yesterday) Jun 2
to Martin Kustermann, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart2wasm-t...@google.com, rev...@dartlang.org
Attention needed from Martin Kustermann

Srujan Gaddam voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Martin Kustermann
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I8c2d15d78831de7cb204fbc0cf5462d4a5ac2e6b
Gerrit-Change-Number: 504200
Gerrit-PatchSet: 4
Gerrit-Owner: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Srujan Gaddam <sru...@google.com>
Gerrit-Attention: Martin Kustermann <kuste...@google.com>
Gerrit-Comment-Date: Tue, 02 Jun 2026 20:47:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Srujan Gaddam (Gerrit)

unread,
Jun 2, 2026, 4:48:37 PM (yesterday) Jun 2
to Martin Kustermann, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart2wasm-t...@google.com, rev...@dartlang.org
Attention needed from Martin Kustermann

Srujan Gaddam added 1 comment

File pkg/dart2wasm/lib/compile.dart
Line 194, Patchset 4 (Latest): '-Os',
'--gufa',
'-Os',
'-Os',
Srujan Gaddam . unresolved

You may have mentioned this before, but why do we need the multiple `-Os`?

Open in Gerrit

Related details

Attention is currently required from:
  • Martin Kustermann
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I8c2d15d78831de7cb204fbc0cf5462d4a5ac2e6b
Gerrit-Change-Number: 504200
Gerrit-PatchSet: 4
Gerrit-Owner: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Srujan Gaddam <sru...@google.com>
Gerrit-Attention: Martin Kustermann <kuste...@google.com>
Gerrit-Comment-Date: Tue, 02 Jun 2026 20:48:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Martin Kustermann (Gerrit)

unread,
3:27 AM (14 hours ago) 3:27 AM
to Srujan Gaddam, dart-...@luci-project-accounts.iam.gserviceaccount.com, dart2wasm-t...@google.com, rev...@dartlang.org
Attention needed from Srujan Gaddam

Martin Kustermann added 1 comment

File pkg/dart2wasm/lib/compile.dart
Line 194, Patchset 4 (Latest): '-Os',
'--gufa',
'-Os',
'-Os',
Srujan Gaddam . unresolved

You may have mentioned this before, but why do we need the multiple `-Os`?

Martin Kustermann

Yeah, that's because unlike normal compiler like GCC/Clang, `wasm-opt` runs a fixed pipeline of optimization passes with `-Os` which leave unoptimized things behind. The recommended way to use it is to run it multiple times, see the issue I've filed

https://github.com/WebAssembly/binaryen/issues/8077

Though it seems there's more binaryen bugs with the new roll, so this CL will have to wait until they are fixed as well

Open in Gerrit

Related details

Attention is currently required from:
  • Srujan Gaddam
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: I8c2d15d78831de7cb204fbc0cf5462d4a5ac2e6b
Gerrit-Change-Number: 504200
Gerrit-PatchSet: 4
Gerrit-Owner: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Martin Kustermann <kuste...@google.com>
Gerrit-Reviewer: Srujan Gaddam <sru...@google.com>
Gerrit-Attention: Srujan Gaddam <sru...@google.com>
Gerrit-Comment-Date: Wed, 03 Jun 2026 07:27:39 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Srujan Gaddam <sru...@google.com>
satisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages