Open mmueller-sag opened 5 years ago
@mmueller-sag : Did you install a different version of npm or node-gyp? I suspect that the option error is related to using a node-gyp level that is not "zOS" aware.
Can you confirm with the specific versions of npm and/or node-gyp you are currently using?
I'm reasonably sure (say 95%) that -fno-omit-framepointer
is inherited from node's common.gypi. node-gyp includes that file when it builds an add-on.
That switch is currently enabled on all platforms except windows and macos. Perhaps z/os should be added to the list as well?
I'm reasonably sure (say 95%) that
-fno-omit-framepointer
is inherited from node's common.gypi. node-gyp includes that file when it builds an add-on.That switch is currently enabled on all platforms except windows and macos. Perhaps z/os should be added to the list as well?
It is on the copy of common.gypi
in this repository https://github.com/ibmruntimes/node/blob/0b5af754618ac0f7585de52550b77aa92c94b4e7/common.gypi#L146-L148 but I think node-gyp
uses the one from the headers tarball unless --nodedir
is used?
but I think node-gyp uses the one from the headers tarball unless --nodedir is used?
Correct.
When trying to install package 'ffi' the package 'ref' comes as a prerequisite.
Is this some problem of the z/OS runtime? How can it be fixed?
Here is the more detailed output
make: Entering directory '/u/mm/p/node-v6.14.4-os390-s390x/bin/node_modules/ref/build' CXX(target) Release/obj.target/binding/src/binding.o error: CNJ5200 The option "-fno-omit-frame-pointer" is not supported. error: CNJ5200 The option "-fno-omit-frame-pointer" is not supported. ../src/binding_temp.cc:325:42: warning: data argument not used by format string [-Wformat-extra-args] snprintf(strbuf, 128, "\x25" PRId64, val);