FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

build: preserves symbols during LTO with macOS linker by jesec · Pull Request #39839 · nodejs/node · GitHub

/ node Public

build: preserves symbols during LTO with macOS linker - #39839

Closed
jesec wants to merge 1 commit into
nodejs:masterfrom
jesec:master
Closed

build: preserves symbols during LTO with macOS linker#39839
jesec wants to merge 1 commit into
nodejs:masterfrom
jesec:master

Conversation

jesec commented Aug 22, 2021

Copy link
Copy Markdown
Member

man ld -export_dynamic:

Preserves all global symbols in main executables during LTO.

Without this option, Link Time Optimization is allowed to inline
and remove global functions.

This option is used when a main executable may load a plug-in which
requires certain symbols from the main executable.

This fix should be backported to release lines that have ab71af3.

Bug: vercel/pkg#1155
Signed-off-by: Jesse Chan jc@linux.com

man ld -export_dynamic:

```
Preserves all global symbols in main executables during LTO.

Without this option, Link Time Optimization is allowed to inline
and remove global functions.

This option is used when a main executable may load a plug-in which
requires certain symbols from the main executable.
```

Bug: vercel/pkg#1155
Signed-off-by: Jesse Chan <jc@linux.com>
nodejs-github-bot added build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run. labels Aug 22, 2021
targos added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 22, 2021
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 22, 2021

Copy link
Copy Markdown
Collaborator

jesec added a commit to vercel/pkg-fetch that referenced this pull request Aug 24, 2021

jesec commented Aug 30, 2021

Copy link
Copy Markdown
Member Author

Hmm... Can someone land this? CI failure looks unrelated.

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

lpinca commented Sep 5, 2021

Copy link
Copy Markdown
Member

Landed in 338ab0d.

lpinca pushed a commit that referenced this pull request Sep 5, 2021
man ld -export_dynamic:

```
Preserves all global symbols in main executables during LTO.

Without this option, Link Time Optimization is allowed to inline
and remove global functions.

This option is used when a main executable may load a plug-in which
requires certain symbols from the main executable.
```

Bug: vercel/pkg#1155
Signed-off-by: Jesse Chan <jc@linux.com>

PR-URL: #39839
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
lpinca closed this Sep 5, 2021
targos pushed a commit that referenced this pull request Sep 7, 2021
man ld -export_dynamic:

```
Preserves all global symbols in main executables during LTO.

Without this option, Link Time Optimization is allowed to inline
and remove global functions.

This option is used when a main executable may load a plug-in which
requires certain symbols from the main executable.
```

Bug: vercel/pkg#1155
Signed-off-by: Jesse Chan <jc@linux.com>

PR-URL: #39839
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
richardlau pushed a commit that referenced this pull request Sep 10, 2021
man ld -export_dynamic:

```
Preserves all global symbols in main executables during LTO.

Without this option, Link Time Optimization is allowed to inline
and remove global functions.

This option is used when a main executable may load a plug-in which
requires certain symbols from the main executable.
```

Bug: vercel/pkg#1155
Signed-off-by: Jesse Chan <jc@linux.com>

PR-URL: #39839
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
BethGriggs mentioned this pull request Sep 21, 2021
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Issues and PRs related to build files or the CI. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL