-
Notifications
You must be signed in to change notification settings - Fork 7.3k
GYP OSX build works but won't load script file #2176
Comments
Yes, there a some things still needing touched up in master that I have noticed, notably: 1) You may hit these as well, but the missing |
It's possibly related to #2061. Can you post a gdb backtrace? |
@springmeyer fixed pkg-config. no love, still no worky. @bnoordhuis I'm not sure why that is so funny to me but... 15 some odd min compile to change Segmentation fault to Bus error. rich. |
This is the same as #2061. The stat on any script specified on the commandline fails; but repl works because there is no stat call. See here: #2061 (comment) |
@paddybyers uh, ok. What can I do to help then? I'm at 1db9a2a which includes f004d5a (D__DARWIN_64_BIT_INO_T in wscript) if it matters. @bnoordhuis sorry, "read all instructions before proceeding..." ;) But -j now works for OSX! so build time is down to <3 min!
|
@seebees: as I commented on the other issue, I've not been able to reproduce it with a standalone program. Maybe I can put together a simple example and you can compile it with your toolchain and see if that reproduces it. So it sounds to me like you're building with ./configure && make instead of homebrew - yes? If so, can you capture a verbose build log so we can see which options are being passed at each step? Thanks |
@seebees: Thanks, Ryan. This is indeed the same issue as #2061. I'm closing this issue but follow the other one if you want to get updates. PS: Can you post the output of EDIT: If you can get me access to your machine that would help tremendously. I'm having a real hard time reproducing this problem. |
@paddybyers np. Yes make distclean && ./configure && make -j6 2>&1 >> asdf.txt But not everything goes there :( I will post a gist with both screen output and the file in a second. You want more then that? |
Lets see :) |
@paddybyers https://gist.github.com/1391780
|
Hmm, I really need the full commandline for each compile and link. How do you do that in make? |
@paddybeyers sadness, I do not know. If you tell me I can run it. but it sounds like you don't know either... I'll look around later today. If you find something post it and I'll get back to you. Plan on ssh or something with bnoordhuis tomorrow. but every little bit helps :) |
@paddybyers: |
Give me a bit then. On highest trelles train bridge in iowa. No compilers
|
@paddybyers holy crap that is a lot of data The first 10 sections are in the gist. The last bit is here. Hope it helps...
|
Notable changes: * buffer: - Due to changes in V8, it has been necessary to reimplement Buffer on top of V8's Uint8Array. While every effort has been made to maintain performance, users are likely to experience a different performance profile depending on how Buffer is used. (Trevor Norris) nodejs#1825. - Buffer can now take ArrayBuffers as a constructor argument (Trevor Norris) nodejs#2002. - When a single buffer is passed to Buffer.concat(), a new, copied Buffer object will be returned; previous behavior was to return the original Buffer object (Sakthipriyan Vairamani) nodejs#1937. * build: PPC support has been added to core to allow compiling on pLinux BE and LE (AIX support coming soon) (Michael Dawson) nodejs#2124. * dgram: If an error occurs within socket.send() and a callback has been provided, the error is only passed as the first argument to the callback and not emitted on the socket object; previous behavior was to do both (Matteo Collina & Chris Dickinson) nodejs#1796 * freelist: Deprecate the undocumented freelist core module (Sakthipriyan Vairamani) nodejs#2176. * http: - Status codes now all use the official IANA names as per RFC7231, e.g. http.STATUS_CODES[414] now returns 'URI Too Long' rather than 'Request-URI Too Large' (jomo) nodejs#1470. - Calling .getName() on an HTTP agent no longer returns a trailing colon, HTTPS agents will no longer return an extra colon near the middle of the string (Brendan Ashworth) nodejs#1617. * node: - NODE_MODULE_VERSION has been bumped to 45 to reflect the break in ABI (Rod Vagg) nodejs#2096. - Introduce a new process.release object that contains a name property set to 'io.js' and sourceUrl, headersUrl and libUrl (Windows only) properties containing URLs for the relevant resources; this is intended to be used by node-gyp (Rod Vagg) nodejs#2154. - The version of node-gyp bundled with io.js now downloads and uses a tarball of header files from iojs.org rather than the full source for compiling native add-ons; it is hoped this is a temporary floating patch and the change will be upstreamed to node-gyp soon (Rod Vagg) nodejs#2066. * repl: Persistent history is now enabled by default. The history file is located at ~/.node_repl_history, which can be overridden by the new environment variable NODE_REPL_HISTORY. This deprecates the previous NODE_REPL_HISTORY_FILE variable. Additionally, the format of the file has been changed to plain text to better handle file corruption. (Jeremiah Senkpiel) nodejs#2224. * smalloc: The smalloc module has been removed as it is no longer possible to provide the API due to changes in V8 (Ben Noordhuis) nodejs#2022. * tls: Add server.getTicketKeys() and server.setTicketKeys() methods for TLS session key rotation (Fedor Indutny) nodejs#2227. * v8: Upgraded to 4.4.63.26 - ES6: Enabled computed property names - ES6: Array can now be subclassed in strict mode - ES6: Implement rest parameters in staging, use the --harmony-rest-parameters command line flag - ES6: Implement the spread operator in staging, use the --harmony-spreadcalls command line flag - Removed SetIndexedPropertiesToExternalArrayData and related APIs, forcing a shift to Buffer to be reimplemented based on Uint8Array - Introduction of Maybe and MaybeLocal C++ API for objects which may or may not have a value. - Added support for PPC PR-URL: nodejs/node#2299
The build results in a executable that will run the REPL, but all tests fail and any script file will not load.
I get "Segmentation fault" when I try:
./out/Release/node ./test/simple/test-any-test.js
I'm guessing that this is stupidly simple, but I saw a bunch of GYP OSX issues... Feel free to shut me up. Oh, OSX 10.6.6
Here is stderr from a build, I can give you stdout if you like.
The text was updated successfully, but these errors were encountered: