Skip to content

build: set -blibpath: for AIX - #25447

Closed
richardlau wants to merge 1 commit into
nodejs:masterfrom
richardlau:restore-aix-blibpath
Closed

build: set -blibpath: for AIX#25447
richardlau wants to merge 1 commit into
nodejs:masterfrom
richardlau:restore-aix-blibpath

Conversation

@richardlau

Copy link
Copy Markdown
Member

#17604 refactored the gyp files
so that -blibpath: on AIX was only set if node_shared=="true".
Restore the setting for non-shared builds.

Fixes: #25444

cc @nodejs/build-files @nodejs/platform-aix

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

nodejs#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: nodejs#25444
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-botnodejs-github-bot added the build Issues and PRs related to build files or the CI. label Jan 11, 2019
@richardlau

Copy link
Copy Markdown
MemberAuthor

Locally built:

bash-4.4$ dump -X64 -H out/Release/node
out/Release/node:
***Loader Section***
Loader Header Information
VERSION# #SYMtableENT #RELOCent LENidSTR
0x00000001 0x0000c49b 0x00027893 0x000000a4
#IMPfilID OFFidSTR LENstrTBL OFFstrTBL
0x00000006 0x0039f7f0 0x0033a49e 0x0039f894
***Import File Strings***
INDEX PATH BASE MEMBER
0 /usr/lib:/lib:/opt/freeware/lib/pthread/ppc64
1 libperfstat.a shr_64.o
2 libstdc++.a libstdc++.so.6
3 libgcc_s.a shr.o
4 libpthreads.a shr_xpg5_64.o
5 libc.a shr_64.o
bash-4.4$

@richardlau

Copy link
Copy Markdown
MemberAuthor

@richardlaurichardlau added the aix Issues and PRs related to the AIX platform. label Jan 11, 2019
@richardlaurichardlau added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. lts-watch-v10.x labels Jan 11, 2019

@mhdawsonmhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like this not to land until the discussion on whether its the right thing to do completes.

@mhdawsonmhdawson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Ok I see this actually fixes a regression and it was that way before assuming CI passes of course.

@mhdawson

Copy link
Copy Markdown
Member

@richardlau did you check that the fix that caused the regression was backported to 6.x and 8.x ?

@mhdawson

Copy link
Copy Markdown
Member

I see it was backported to 6.x and 8.x so never mind.

@richardlau

Copy link
Copy Markdown
MemberAuthor

@richardlau

Copy link
Copy Markdown
MemberAuthor

Comment threadcommon.gypi
@richardlau

richardlau commented Jan 14, 2019

Copy link
Copy Markdown
MemberAuthor

@addaleax

Copy link
Copy Markdown
Member

Landed in bd8d682

addaleax pushed a commit that referenced this pull request Jan 14, 2019
#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: #25444
PR-URL: #25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
addaleax pushed a commit that referenced this pull request Jan 14, 2019
#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: #25444
PR-URL: #25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@richardlau

Copy link
Copy Markdown
MemberAuthor

Backport to v8.x-staging: #25521 (as requested).

@richardlaurichardlau added the regression Issues related to regressions. label Jan 15, 2019
@BridgeARBridgeAR mentioned this pull request Jan 16, 2019
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Jan 16, 2019
nodejs#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: nodejs#25444
PR-URL: nodejs#25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@MylesBorinsMylesBorins mentioned this pull request Jan 24, 2019
BethGriggs pushed a commit that referenced this pull request Feb 13, 2019
#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: #25444
PR-URL: #25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
BethGriggs pushed a commit that referenced this pull request Feb 19, 2019
#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: #25444
PR-URL: #25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
BethGriggs pushed a commit that referenced this pull request Feb 20, 2019
#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: #25444
PR-URL: #25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
rvagg pushed a commit that referenced this pull request Feb 28, 2019
#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: #25444
PR-URL: #25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
richardlau added a commit to richardlau/node-1 that referenced this pull request Mar 6, 2019
nodejs#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: nodejs#25444
Backport-PR-URL: nodejs#25521
PR-URL: nodejs#25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
richardlau added a commit to richardlau/node-1 that referenced this pull request Mar 12, 2019
nodejs#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: nodejs#25444
Backport-PR-URL: nodejs#26478
PR-URL: nodejs#25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
BethGriggs pushed a commit that referenced this pull request Mar 15, 2019
#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: #25444
Backport-PR-URL: #26478
PR-URL: #25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@BethGriggsBethGriggs mentioned this pull request Mar 15, 2019
BethGriggs pushed a commit that referenced this pull request Mar 19, 2019
#17604 refactored the gyp files
so that `-blibpath:` on AIX was only set if `node_shared=="true"`.
Restore the setting for non-shared builds.
Fixes: #25444
Backport-PR-URL: #25521
PR-URL: #25447
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
@MylesBorinsMylesBorins mentioned this pull request Mar 26, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aixIssues and PRs related to the AIX platform.author readyPRs that have at least one approval, no pending requests for changes, and a CI started.buildIssues and PRs related to build files or the CI.regressionIssues related to regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LIBPATH issue in AIX node binary

7 participants

@richardlau@nodejs-github-bot@mhdawson@addaleax@refack@gireeshpunathil@BethGriggs