-
-
Notifications
You must be signed in to change notification settings - Fork 37.8k
Node 15 build fails with LTO enabled #35957
Copy link
Copy link
Closed
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.linuxIssues and PRs related to the Linux platform.Issues and PRs related to the Linux platform.
Description
Activity
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.linuxIssues and PRs related to the Linux platform.Issues and PRs related to the Linux platform.
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?