Skip to content

Instantly share code, notes, and snippets.

@LeonardLaszlo
Created December 12, 2018 10:52
Show Gist options
  • Save LeonardLaszlo/b454df742306d9f2a8fe93991b9f6cbf to your computer and use it in GitHub Desktop.
Save LeonardLaszlo/b454df742306d9f2a8fe93991b9f6cbf to your computer and use it in GitHub Desktop.
Building open ssl fails
ninja: Entering directory `out_gn_arm/nw'
[914/914] STAMP obj/content/nw/nwjs.stamp
ninja: Entering directory `out_gn_arm/nw'
ninja: no work to do.
ninja: Entering directory `out_gn_arm/Release'
[6/1243] CC obj/third_party/node-nw/deps/uv/src/unix/libuv.getaddrinfo.o
In file included from ../../third_party/node-nw/deps/uv/src/unix/internal.h:27:0,
from ../../third_party/node-nw/deps/uv/src/unix/getaddrinfo.c:29:
../../third_party/node-nw/deps/uv/src/unix/getaddrinfo.c: In function ‘uv__getaddrinfo_translate_error’:
../../third_party/node-nw/deps/uv/src/unix/getaddrinfo.c:92:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
assert(!(int)("unknown EAI_* error code"));
^
[46/1243] CC obj/third_party/node-nw/deps/uv/src/unix/libuv.fs.o
../../third_party/node-nw/deps/uv/src/unix/fs.c:28:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
#pragma clang diagnostic push
^
../../third_party/node-nw/deps/uv/src/unix/fs.c:29:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
#pragma clang diagnostic ignored "-Warray-bounds"
^
../../third_party/node-nw/deps/uv/src/unix/fs.c:1526:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas]
#pragma clang diagnostic pop
^
[504/1243] CC obj/third_party/node-nw/deps/openssl/openssl/crypto/md5/openssl.md5_dgst.o
In file included from ../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_locl.h:98:0,
from ../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:60:
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c: In function ‘md5_block_data_order’:
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:109:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:111:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:115:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:118:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:121:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:124:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:127:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:130:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:133:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:136:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:139:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:142:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:145:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:148:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:151:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md32_common.h:276:75: warning: right-hand operand of comma expression has no effect [-Wunused-value]
# define HOST_c2l(c,l) ((l)=*((const unsigned int *)(c)), (c)+=4, l)
^
../../third_party/node-nw/deps/openssl/openssl/crypto/md5/md5_dgst.c:154:9: note: in expansion of macro ‘HOST_c2l’
HOST_c2l(data, l);
^
[685/1243] CC obj/third_party/node-nw/deps/openssl/asm/arm-void-gas/sha/openssl.sha1-armv4-large.o
FAILED: obj/third_party/node-nw/deps/openssl/asm/arm-void-gas/sha/openssl.sha1-armv4-large.o
cc -MMD -MF obj/third_party/node-nw/deps/openssl/asm/arm-void-gas/sha/openssl.sha1-armv4-large.o.d -D_REENTRANT -DPURIFY -DOPENSSL_NO_COMP -DOPENSSL_NO_SSL3 -DOPENSSL_NO_HEARTBEATS -DOPENSSL_NO_HW '-DENGINESDIR="/dev/null"' -DTERMIOS '-DOPENSSLDIR="/etc/ssl"' -DL_ENDIAN -DAES_ASM -DCPUID_ASM -DOPENSSL_BN_ASM_MONT -DOPENSSL_CPUID_OBJ -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DGHASH_ASM -DDSO_DLFCN -DHAVE_DLFCN_H -I../../third_party/node-nw/deps/openssl -I../../third_party/node-nw/deps/openssl/openssl -I../../third_party/node-nw/deps/openssl/openssl/crypto -I../../third_party/node-nw/deps/openssl/openssl/crypto/asn1 -I../../third_party/node-nw/deps/openssl/openssl/crypto/evp -I../../third_party/node-nw/deps/openssl/openssl/crypto/md2 -I../../third_party/node-nw/deps/openssl/openssl/crypto/modes -I../../third_party/node-nw/deps/openssl/openssl/crypto/store -I../../third_party/node-nw/deps/openssl/openssl/include -Wno-missing-field-initializers -pthread -Wall -Wextra -Wno-unused-parameter -fPIC -O3 -fno-omit-frame-pointer -c ../../third_party/node-nw/deps/openssl/asm/arm-void-gas/sha/sha1-armv4-large.S -o obj/third_party/node-nw/deps/openssl/asm/arm-void-gas/sha/openssl.sha1-armv4-large.o
In file included from ../../third_party/node-nw/deps/openssl/asm/arm-void-gas/sha/sha1-armv4-large.S:1:0:
../../third_party/node-nw/deps/openssl/openssl/crypto/arm_arch.h:46:6: error: #error "unsupported ARM architecture"
# error "unsupported ARM architecture"
^
[689/1243] CC obj/third_party/node-nw/deps/openssl/openssl/crypto/x509v3/openssl.v3_utl.o
../../third_party/node-nw/deps/openssl/openssl/crypto/x509v3/v3_utl.c: In function ‘hex_to_string’:
../../third_party/node-nw/deps/openssl/openssl/crypto/x509v3/v3_utl.c:412:5: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
const static char hexdig[] = "0123456789ABCDEF";
^
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment