GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: don't compile with -B, redux by bnoordhuis · Pull Request #6650 · nodejs/node

Conversation

@bnoordhuis

@bnoordhuis bnoordhuis commented May 9, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

It looks like suppressing -B and -fuse-ld=gold from common.gypi is
not very reliable. I'm positive it worked when commit 3cdb506 ("build:
don't compile with -B") was merged but subsequent updates appear to have
broken it again.

Take the nuclear option and disable them from tools/node_gyp.py.

Fixes: #6603
Refs: #6393

CI: https://ci.nodejs.org/job/node-test-pull-request/2545/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bnoordhuis bnoordhuis added the build Issues and PRs related to Node.js builds or CI infrastructure. label May 9, 2016
This was referenced May 9, 2016
build: don't compile with -B #6393
Merged
Build of v8/tools/gyp/mksnapshot fails with -fuse-ld=gold with binutils 2.25.1 #6603
Closed
@mhart

mhart commented May 9, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Great, this works for me (without needing binutils-gold installed). Is there any way these flags can be set via an env variable?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented May 9, 2016

Copy link
Copy Markdown
Member Author

Yes. export GYP_DEFINES="linux_use_bundled_binutils=0 linux_use_bundled_gold=0 linux_use_gold_flags=0" should do it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mhart

mhart commented May 9, 2016

Copy link
Copy Markdown
Contributor

I swear I tried that already 😸 – maybe I only had linux_use_gold_flags=0 and not the others though

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mhart

mhart commented May 9, 2016

Copy link
Copy Markdown
Contributor

Great, confirmed, setting GYP_DEFINES works too

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mhart

mhart commented May 9, 2016

Copy link
Copy Markdown
Contributor

(turns out the problem previously was that I was setting GYP_DEFINES but not exporting it... duh. So can also just do export GYP_DEFINES="linux_use_gold_flags=0" – that alone works in my case)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis

bnoordhuis commented May 10, 2016

Copy link
Copy Markdown
Member Author

Maybe R=@addaleax?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax

addaleax commented May 10, 2016

Copy link
Copy Markdown
Member

Yeah, LGTM and 👍 for the helpful pointer to deps/v8/build/toolchain.gypi.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bnoordhuis
build: don't compile with -B, redux
584f93a
It looks like suppressing `-B` and `-fuse-ld=gold` from common.gypi is
not very reliable.  I'm positive it worked when commit 3cdb506 ("build:
don't compile with -B") was merged but subsequent updates appear to have
broken it again.

Take the nuclear option and disable them from `tools/node_gyp.py`.

Fixes: nodejs#6603
PR-URL: nodejs#6650
Refs: nodejs#6393
Reviewed-By: Anna Henningsen <[email protected]>
@bnoordhuis bnoordhuis added the lts-watch-v4.x label May 10, 2016
@bnoordhuis
bnoordhuis force-pushed the fix6603 branch from 9c2b25d to 584f93a Compare May 10, 2016 11:00
@bnoordhuis bnoordhuis closed this May 10, 2016
@bnoordhuis
bnoordhuis deleted the fix6603 branch May 10, 2016 11:00
@bnoordhuis
bnoordhuis merged commit 584f93a into nodejs:master May 10, 2016
evanlucas pushed a commit that referenced this pull request May 17, 2016
@bnoordhuis @evanlucas
build: don't compile with -B, redux
3af9382
It looks like suppressing `-B` and `-fuse-ld=gold` from common.gypi is
not very reliable.  I'm positive it worked when commit 3cdb506 ("build:
don't compile with -B") was merged but subsequent updates appear to have
broken it again.

Take the nuclear option and disable them from `tools/node_gyp.py`.

Fixes: #6603
PR-URL: #6650
Refs: #6393
Reviewed-By: Anna Henningsen <[email protected]>
@evanlucas evanlucas mentioned this pull request May 17, 2016
2016-05-17, Version 6.2.0 (Stable) #6810
Merged
@MylesBorins MylesBorins added land-on-v4.x and removed lts-watch-v4.x labels Jun 2, 2016
MylesBorins pushed a commit that referenced this pull request Jun 2, 2016
@bnoordhuis Myles Borins
build: don't compile with -B, redux
7bbf8e0
It looks like suppressing `-B` and `-fuse-ld=gold` from common.gypi is
not very reliable.  I'm positive it worked when commit 3cdb506 ("build:
don't compile with -B") was merged but subsequent updates appear to have
broken it again.

Take the nuclear option and disable them from `tools/node_gyp.py`.

Fixes: #6603
PR-URL: #6650
Refs: #6393
Reviewed-By: Anna Henningsen <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Jun 24, 2016
v4.4.7 proposal #7395
Merged
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
@bnoordhuis Myles Borins
build: don't compile with -B, redux
a01caa3
It looks like suppressing `-B` and `-fuse-ld=gold` from common.gypi is
not very reliable.  I'm positive it worked when commit 3cdb506 ("build:
don't compile with -B") was merged but subsequent updates appear to have
broken it again.

Take the nuclear option and disable them from `tools/node_gyp.py`.

Fixes: #6603
PR-URL: #6650
Refs: #6393
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request Jun 24, 2016
@bnoordhuis Myles Borins
build: don't compile with -B, redux
e212004
It looks like suppressing `-B` and `-fuse-ld=gold` from common.gypi is
not very reliable.  I'm positive it worked when commit 3cdb506 ("build:
don't compile with -B") was merged but subsequent updates appear to have
broken it again.

Take the nuclear option and disable them from `tools/node_gyp.py`.

Fixes: #6603
PR-URL: #6650
Refs: #6393
Reviewed-By: Anna Henningsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

build Issues and PRs related to Node.js builds or CI infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@bnoordhuis @mhart @addaleax @MylesBorins
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.