Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 26 Aug 2014 21:05:17 +0200
From: "" <>
Subject: Re: Bug on fstat()?

Sorry for the delay. Ok, I must to say it: the cross-compiler did the
trick :-D I downloaded one of the pre-compiled ones and didn't
understand too much how to use it, so I clone the repository and build
and install it by hand thinking it would help me to understand how it
worked, but didn't :-( Lucklily, I found a Node.js install script from
alpinelinux (
and a cross-compiler helper script for Parrot AR drone
that gave me some inspiration and I was able to finally compile the
static build :-) I needed to disable OpenSSL support because it gave a
strange error:

'-DV8_USE_DEFAULT_PLATFORM' -I../deps/v8/src  -pthread -Wall -Wextra
-Wno-unused-parameter -m32 -fno-strict-aliasing -m32 -O3
-ffunction-sections -fdata-sections -fno-tree-vrp
-fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3
-fno-rtti -fno-exceptions -MMD -MF
 -c -o /home/piranna/Dropbox/Proyectos/NodeOS/NodeOS-QEmu/Layer2-nodejs/deps/node/out/Release/
En la función `ENGINE_load_builtin_engines':
eng_all.c:(.text.ENGINE_load_builtin_engines+0x46): referencia a
`ENGINE_load_padlock' sin definir
eng_all.c:(.text.ENGINE_load_builtin_engines+0x4b): referencia a
`ENGINE_load_gost' sin definir
collect2: error: ld returned 1 exit status
deps/openssl/ recipe for target

Seems to be that OpenSSL command line executable is trying to find
this references. I have tried to disable the generation of that target
from GYP but seems more difficult to do that what I though. I know
OpenSSL has some issues with musl, but anyone knows how to fix this?
Seems OpenSSL support is required so NPM can work and to be able to
install packages... :-/

Otherwise, the Node.js static build is working flawlessly and the
problem with fstat() has been fixed with the cross-compiler :-D I'm
having some issues with compiled modules, but probably they are dues
to compile them outside the custom environment (with the current
Node.js version and glibc instead of the development one and musl),
I'll try to make it work from inside them :-)

"Si quieres viajar alrededor del mundo y ser invitado a hablar en un
monton de sitios diferentes, simplemente escribe un sistema operativo
– Linus Tordvals, creador del sistema operativo Linux

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.