{"action":"created","issue":{"url":"https://api.github.com/repos/MonoOni/binarydist/issues/7","repository_url":"https://api.github.com/repos/MonoOni/binarydist","labels_url":"https://api.github.com/repos/MonoOni/binarydist/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/MonoOni/binarydist/issues/7/comments","events_url":"https://api.github.com/repos/MonoOni/binarydist/issues/7/events","html_url":"https://github.com/MonoOni/binarydist/issues/7","id":300460011,"number":7,"title":"BoringTLS","user":{"login":"NattyNarwhal","id":3161292,"avatar_url":"https://avatars1.githubusercontent.com/u/3161292?v=4","gravatar_id":"","url":"https://api.github.com/users/NattyNarwhal","html_url":"https://github.com/NattyNarwhal","followers_url":"https://api.github.com/users/NattyNarwhal/followers","following_url":"https://api.github.com/users/NattyNarwhal/following{/other_user}","gists_url":"https://api.github.com/users/NattyNarwhal/gists{/gist_id}","starred_url":"https://api.github.com/users/NattyNarwhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NattyNarwhal/subscriptions","organizations_url":"https://api.github.com/users/NattyNarwhal/orgs","repos_url":"https://api.github.com/users/NattyNarwhal/repos","events_url":"https://api.github.com/users/NattyNarwhal/events{/privacy}","received_events_url":"https://api.github.com/users/NattyNarwhal/received_events","type":"User","site_admin":false},"labels":[{"id":848258239,"url":"https://api.github.com/repos/MonoOni/binarydist/labels/aix","name":"aix","color":"e99695","default":false},{"id":828156656,"url":"https://api.github.com/repos/MonoOni/binarydist/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":848258384,"url":"https://api.github.com/repos/MonoOni/binarydist/labels/i","name":"i","color":"8f52b7","default":false},{"id":848273103,"url":"https://api.github.com/repos/MonoOni/binarydist/labels/toolchain","name":"toolchain","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-27T01:28:27Z","updated_at":"2018-02-27T15:19:09Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Mono's managed TLS stack is deprecated and only supports TLS 1.0. BoringTLS requires cmake (installed) and will likely need some tweaking. Luckily, z Linux Mono maintainers have commited big endian fixes."},"comment":{"url":"https://api.github.com/repos/MonoOni/binarydist/issues/comments/368912988","html_url":"https://github.com/MonoOni/binarydist/issues/7#issuecomment-368912988","issue_url":"https://api.github.com/repos/MonoOni/binarydist/issues/7","id":368912988,"user":{"login":"NattyNarwhal","id":3161292,"avatar_url":"https://avatars1.githubusercontent.com/u/3161292?v=4","gravatar_id":"","url":"https://api.github.com/users/NattyNarwhal","html_url":"https://github.com/NattyNarwhal","followers_url":"https://api.github.com/users/NattyNarwhal/followers","following_url":"https://api.github.com/users/NattyNarwhal/following{/other_user}","gists_url":"https://api.github.com/users/NattyNarwhal/gists{/gist_id}","starred_url":"https://api.github.com/users/NattyNarwhal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NattyNarwhal/subscriptions","organizations_url":"https://api.github.com/users/NattyNarwhal/orgs","repos_url":"https://api.github.com/users/NattyNarwhal/repos","events_url":"https://api.github.com/users/NattyNarwhal/events{/privacy}","received_events_url":"https://api.github.com/users/NattyNarwhal/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T15:19:09Z","updated_at":"2018-02-27T15:19:09Z","author_association":"CONTRIBUTOR","body":"Truncated log of progress. Right now, we're having issues linking?\r\n\r\n```\r\n[ 86%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509-chain.c.o\r\n[ 86%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509-crl.c.o\r\n[ 86%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509-lookup.c.o\r\n[ 86%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509-lookup-mono.c.o\r\n[ 87%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509-name.c.o\r\n[ 87%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509-revoked.c.o\r\n[ 87%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509-store-ctx.c.o\r\n[ 88%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509-store.c.o\r\n[ 88%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509-verify-param.c.o\r\n[ 88%] Building C object CMakeFiles/mono-btls-shared.dir/btls-x509.c.o\r\n[ 88%] Linking C shared library libmono-btls-shared.so\r\ngmake[6]: Leaving directory '/opt/monodev/mono/mono/btls/build-shared'\r\n[ 88%] Built target mono-btls-shared\r\ngmake[6]: Entering directory '/opt/monodev/mono/mono/btls/build-shared'\r\nScanning dependencies of target crypto\r\ngmake[6]: Leaving directory '/opt/monodev/mono/mono/btls/build-shared'\r\ngmake[6]: Entering directory '/opt/monodev/mono/mono/btls/build-shared'\r\n[ 88%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/cpu-aarch64-linux.c.o\r\n[ 89%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/cpu-arm.c.o\r\n[ 89%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/cpu-arm-linux.c.o\r\n[ 89%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/cpu-intel.c.o\r\n[ 89%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/crypto.c.o\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c: In function 'CRYPTO_library_init':\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c:124:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c: In function 'CRYPTO_is_confidential_build':\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c:132:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c: In function 'CRYPTO_has_asm':\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c:140:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c: In function 'SSLeay_version':\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c:144:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c: In function 'SSLeay':\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c:148:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c: In function 'CRYPTO_malloc_init':\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c:152:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c: In function 'ENGINE_load_builtin_engines':\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c:154:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n void ENGINE_load_builtin_engines(void) {}\r\n ^~~~\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c: In function 'OPENSSL_load_builtin_modules':\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c:156:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n void OPENSSL_load_builtin_modules(void) {}\r\n ^~~~\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c: In function 'FIPS_mode':\r\n/opt/monodev/mono/external/boringssl/crypto/crypto.c:158:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n int FIPS_mode(void) { return 0; }\r\n ^~~\r\n[ 90%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/ex_data.c.o\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c: In function 'CRYPTO_get_ex_new_index':\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c:168:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c: In function 'CRYPTO_set_ex_data':\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c:193:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c: In function 'CRYPTO_get_ex_data':\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c:200:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c: In function 'CRYPTO_new_ex_data':\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c:232:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c: In function 'CRYPTO_dup_ex_data':\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c:262:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c: In function 'CRYPTO_free_ex_data':\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c:292:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c: In function 'CRYPTO_cleanup_all_ex_data':\r\n/opt/monodev/mono/external/boringssl/crypto/ex_data.c:294:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n void CRYPTO_cleanup_all_ex_data(void) {}\r\n ^~~~\r\n[ 90%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/mem.c.o\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'OPENSSL_realloc_clean':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:111:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'OPENSSL_cleanse':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:126:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'CRYPTO_memcmp':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:138:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'OPENSSL_hash32':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:155:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'OPENSSL_strnlen':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:167:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'OPENSSL_strdup':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:183:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n char *OPENSSL_strdup(const char *s) { return strdup(s); }\r\n ^~~~\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'OPENSSL_strcasecmp':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:187:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'OPENSSL_strncasecmp':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:191:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'BIO_snprintf':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:205:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c: In function 'BIO_vsnprintf':\r\n/opt/monodev/mono/external/boringssl/crypto/mem.c:209:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n[ 90%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/refcount_c11.c.o\r\n[ 90%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/refcount_lock.c.o\r\n/opt/monodev/mono/external/boringssl/crypto/refcount_lock.c: In function 'CRYPTO_refcount_inc':\r\n/opt/monodev/mono/external/boringssl/crypto/refcount_lock.c:35:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/refcount_lock.c: In function 'CRYPTO_refcount_dec_and_test_zero':\r\n/opt/monodev/mono/external/boringssl/crypto/refcount_lock.c:51:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n[ 91%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/thread.c.o\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_num_locks':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:72:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n int CRYPTO_num_locks(void) { return 1; }\r\n ^~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_set_locking_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:75:47: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n                                               const char *file, int line)) {}\r\n                                               ^~~~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_get_locking_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:80:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_set_add_lock_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:83:47: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n                                               const char *file, int line)) {}\r\n                                               ^~~~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_get_lock_name':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:87:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_THREADID_set_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:89:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n int CRYPTO_THREADID_set_callback(void (*func)(CRYPTO_THREADID *)) { return 1; }\r\n ^~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_THREADID_set_numeric':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:91:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n void CRYPTO_THREADID_set_numeric(CRYPTO_THREADID *id, unsigned long val) {}\r\n ^~~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_THREADID_set_pointer':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:93:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n void CRYPTO_THREADID_set_pointer(CRYPTO_THREADID *id, void *ptr) {}\r\n ^~~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_THREADID_current':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:95:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n void CRYPTO_THREADID_current(CRYPTO_THREADID *id) {}\r\n ^~~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_set_id_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:97:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n void CRYPTO_set_id_callback(unsigned long (*func)(void)) {}\r\n ^~~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_set_dynlock_create_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:100:5: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n     *dyn_create_function)(const char *file, int line)) {}\r\n     ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_set_dynlock_lock_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:103:22: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n     int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)) {}\r\n                      ^~~~~~~~~~~~~~~~~~~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_set_dynlock_destroy_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:106:12: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n     struct CRYPTO_dynlock_value *l, const char *file, int line)) {}\r\n            ^~~~~~~~~~~~~~~~~~~~\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_get_dynlock_create_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:111:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_get_dynlock_lock_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:117:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c: In function 'CRYPTO_get_dynlock_destroy_callback':\r\n/opt/monodev/mono/external/boringssl/crypto/thread.c:122:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n[ 91%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/thread_none.c.o\r\n[ 91%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/thread_pthread.c.o\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_MUTEX_init':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:34:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_MUTEX_lock_read':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:40:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_MUTEX_lock_write':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:46:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_MUTEX_unlock_read':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:52:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_MUTEX_unlock_write':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:58:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_MUTEX_cleanup':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:62:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_STATIC_MUTEX_lock_read':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:68:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_STATIC_MUTEX_lock_write':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:74:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_STATIC_MUTEX_unlock_read':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:80:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_STATIC_MUTEX_unlock_write':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:86:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_once':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:92:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_get_thread_local':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:140:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c: In function 'CRYPTO_set_thread_local':\r\n/opt/monodev/mono/external/boringssl/crypto/thread_pthread.c:174:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n[ 92%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/thread_win.c.o\r\n[ 92%] Building C object boringssl/crypto/CMakeFiles/crypto.dir/time_support.c.o\r\n/opt/monodev/mono/external/boringssl/crypto/time_support.c: In function 'OPENSSL_gmtime':\r\n/opt/monodev/mono/external/boringssl/crypto/time_support.c:78:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/time_support.c: In function 'OPENSSL_gmtime_adj':\r\n/opt/monodev/mono/external/boringssl/crypto/time_support.c:172:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n/opt/monodev/mono/external/boringssl/crypto/time_support.c: In function 'OPENSSL_gmtime_diff':\r\n/opt/monodev/mono/external/boringssl/crypto/time_support.c:206:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]\r\n }\r\n ^\r\n[ 92%] Linking C static library libcrypto.a\r\nar: Error 0\r\nar: 0707-106 Internal error while reading the fixed\r\n        header of archive file libcrypto.a.\r\nranlib: 0654-601 Execution of ar failed\r\nUsage: ranlib [-t] [-X {32|64|32_64}] [--] file ...\r\ngmake[6]: *** [boringssl/crypto/CMakeFiles/crypto.dir/build.make:946: boringssl/crypto/libcrypto.a] Error 1\r\ngmake[6]: *** Deleting file 'boringssl/crypto/libcrypto.a'\r\ngmake[6]: Leaving directory '/opt/monodev/mono/mono/btls/build-shared'\r\ngmake[5]: *** [CMakeFiles/Makefile2:383: boringssl/crypto/CMakeFiles/crypto.dir/all] Error 2\r\ngmake[5]: Leaving directory '/opt/monodev/mono/mono/btls/build-shared'\r\ngmake[4]: *** [Makefile:84: all] Error 2\r\ngmake[4]: Leaving directory '/opt/monodev/mono/mono/btls/build-shared'\r\ngmake[3]: *** [Makefile:623: build-shared/libmono-btls-shared.so] Error 2\r\ngmake[3]: Leaving directory '/opt/monodev/mono/mono/btls'\r\ngmake[2]: *** [Makefile:484: all-recursive] Error 1\r\ngmake[2]: Leaving directory '/opt/monodev/mono/mono'\r\ngmake[1]: *** [Makefile:558: all-recursive] Error 1\r\ngmake[1]: Leaving directory '/opt/monodev/mono'\r\ngmake: *** [Makefile:488: all] Error 2\r\n```\r\n\r\nThe patch:\r\n\r\n```patch\r\ndiff --git a/configure.ac b/configure.ac\r\nindex 5c8fe7e..8893f9e 100644\r\n--- a/configure.ac\r\n+++ b/configure.ac\r\n@@ -3453,6 +3453,8 @@ case \"$host\" in\r\n                arch_target=ppc;\r\n                case $host_os in\r\n                  aix*|os400*)\r\n+                       BTLS_SUPPORTED=yes\r\n+                       BTLS_PLATFORM=powerpc\r\n                        dnl on AIX/PASE, shared libraries can be inside archives\r\n                        dnl if they are, we specify them by lib.a(lib.so)\r\n                        dnl we may hardcode 64-bit names at times, but we don't do 32-bit AIX, so\r\n@@ -4539,6 +4541,15 @@ if test \"x$enable_btls\" = \"xyes\"; then\r\n        aarch64)\r\n                btls_arch=aarch64\r\n                ;;\r\n+       powerpc)\r\n+               btls_arch=powerpc\r\n+               case $host_os in\r\n+                       aix*|os400*)\r\n+                               dnl be consistent\r\n+                               btls_cflags=\"$btls_cflags -maix64 -D_ALL_SOURCE -D_THREAD_SAFE -D_REENTRANT\"\r\n+                               btls_ldflags=\"$btls_ldflags -maix64\"\r\n+               esac\r\n+               ;;\r\n        android-armv5)\r\n                BTLS_CMAKE_ARGS=\"-DANDROID_ABI=\\\"armeabi\\\" -DANDROID_NATIVE_API_LEVEL=14\"\r\n                ;;\r\ndiff --git a/external/boringssl b/external/boringssl\r\n--- a/external/boringssl\r\n+++ b/external/boringssl\r\n@@ -1 +1 @@\r\n-Subproject commit 2ba8564f8b677a338bd84a41d5817f6399861031\r\n+Subproject commit 2ba8564f8b677a338bd84a41d5817f6399861031-dirty\r\n```\r\n\r\n```patch\r\ndiff --git a/CMakeLists.txt b/CMakeLists.txt\r\nindex 2ba98c0..c81269a 100644\r\n--- a/CMakeLists.txt\r\n+++ b/CMakeLists.txt\r\n@@ -166,6 +166,8 @@ elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL \"aarch64\")\r\n   set(ARCH \"aarch64\")\r\n elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL \"s390x\")\r\n   set(ARCH \"s390x\")\r\n+elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL \"powerpc\")\r\n+  set(ARCH \"powerpc\")\r\n else()\r\n   message(FATAL_ERROR \"Unknown processor:\" ${CMAKE_SYSTEM_PROCESSOR})\r\n endif()\r\ndiff --git a/include/openssl/thread.h b/include/openssl/thread.h\r\nindex 9a96fb4..1900d9e 100644\r\n--- a/include/openssl/thread.h\r\n+++ b/include/openssl/thread.h\r\n@@ -77,7 +77,7 @@ typedef struct crypto_mutex_st {\r\n typedef union crypto_mutex_st {\r\n   void *handle;\r\n } CRYPTO_MUTEX;\r\n-#elif defined(__MACH__) && defined(__APPLE__)\r\n+#elif (defined(__MACH__) && defined(__APPLE__)) || defined(_AIX)\r\n typedef pthread_rwlock_t CRYPTO_MUTEX;\r\n #else\r\n /* It is reasonable to include pthread.h on non-Windows systems, however the\r\n```"}}
{"actor":{"display_login":"NattyNarwhal"}}