-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Node 15 build fails with LTO enabled #35957
Copy link
Copy link
Closed
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.linuxIssues and PRs related to the Linux platform.Issues and PRs related to the Linux platform.
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.linuxIssues and PRs related to the Linux platform.Issues and PRs related to the Linux platform.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Node 15.0.1 build fails when LTO is enabled with the following message:
The build with same configuration used to be successful for Node 14.x and previous versions.
It seems related to the v8 version upgrade from 8.4 to 8.6. It may be the
PushAllRegistersAndIterateStackassembly gets inlined multiple times, which leads to duplicated symbols in the LTO compilation unit.What steps will reproduce the bug?