silviucpp / erltls Goto Github PK
View Code? Open in Web Editor NEWTLS/SSL/DTLS BoringSSL/OpenSSL-based NIF implementation of Erlang ssl module
License: MIT License
TLS/SSL/DTLS BoringSSL/OpenSSL-based NIF implementation of Erlang ssl module
License: MIT License
Erlang21.0
on Ubuntu 16.04
$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ rebar get-deps co
[...]
make[1]: Entering directory '/home/yhf/fah/deps/erltls'
repo=https://boringssl.googlesource.com/boringssl rev=0e4a448ab8aa66a38593f68d19fa0a2e340833e4 branch=chromium-stable
~/fah/deps/erltls/deps ~/fah/deps/erltls
~/fah/deps/erltls/deps/boringssl ~/fah/deps/erltls/deps ~/fah/deps/erltls
HEAD is now at 0e4a448... Add ClientHello no_session_id variant.
~/fah/deps/erltls/deps ~/fah/deps/erltls
~/fah/deps/erltls
~/fah/deps/erltls/deps ~/fah/deps/erltls
~/fah/deps/erltls/deps/boringssl ~/fah/deps/erltls/deps ~/fah/deps/erltls
mkdir: cannot create directory ‘build’: File exists
~/fah/deps/erltls/deps/boringssl/build ~/fah/deps/erltls/deps/boringssl ~/fah/deps/erltls/deps ~/fah/deps/erltls
-- Configuring done
-- Generating done
-- Build files have been written to: /home/yhf/fah/deps/erltls/deps/boringssl/build
make[2]: Entering directory '/home/yhf/fah/deps/erltls/deps/boringssl/build'
make[3]: Entering directory '/home/yhf/fah/deps/erltls/deps/boringssl/build'
make[4]: Entering directory '/home/yhf/fah/deps/erltls/deps/boringssl/build'
make[4]: Leaving directory '/home/yhf/fah/deps/erltls/deps/boringssl/build'
[ 1%] Built target gtest
make[4]: Entering directory '/home/yhf/fah/deps/erltls/deps/boringssl/build'
[ 1%] Generating crypto_test_data.cc
# runtime
/usr/local/go/src/runtime/mstkbar.go:151:10: debug.gcstackbarrieroff undefined (type struct { allocfreetrace int32; cgocheck int32; efence int32; gccheckmark int32; gcpacertrace int32; gcshrinkstackoff int32; gcrescanstacks int32; gcstoptheworld int32; gctrace int32; invalidptr int32; sbrk int32; scavenge int32; scheddetail int32; schedtrace int32 } has no field or method gcstackbarrieroff)
/usr/local/go/src/runtime/mstkbar.go:162:24: division by zero
/usr/local/go/src/runtime/mstkbar.go:162:43: invalid expression unsafe.Sizeof(composite literal)
/usr/local/go/src/runtime/mstkbar.go:162:44: undefined: stkbar
/usr/local/go/src/runtime/mstkbar.go:212:4: gp.stkbar undefined (type *g has no field or method stkbar)
/usr/local/go/src/runtime/mstkbar.go:213:15: gp.stkbar undefined (type *g has no field or method stkbar)
/usr/local/go/src/runtime/mstkbar.go:216:23: undefined: stackBarrierPC
/usr/local/go/src/runtime/mstkbar.go:226:28: gp.stkbarPos undefined (type *g has no field or method stkbarPos)
/usr/local/go/src/runtime/mstkbar.go:227:19: gp.stkbarPos undefined (type *g has no field or method stkbarPos)
/usr/local/go/src/runtime/mstkbar.go:248:41: undefined: stkbar
/usr/local/go/src/runtime/mstkbar.go:227:19: too many errors
CMakeFiles/crypto_test_data.dir/build.make:104: recipe for target 'crypto_test_data.cc' failed
make[4]: *** [crypto_test_data.cc] Error 2
make[4]: *** Deleting file 'crypto_test_data.cc'
make[4]: Leaving directory '/home/yhf/fah/deps/erltls/deps/boringssl/build'
CMakeFiles/Makefile2:138: recipe for target 'CMakeFiles/crypto_test_data.dir/all' failed
make[3]: *** [CMakeFiles/crypto_test_data.dir/all] Error 2
make[3]: Leaving directory '/home/yhf/fah/deps/erltls/deps/boringssl/build'
Makefile:83: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/yhf/fah/deps/erltls/deps/boringssl/build'
error with make
Makefile:8: recipe for target 'get_deps' failed
make[1]: *** [get_deps] Error 1
make[1]: Leaving directory '/home/yhf/fah/deps/erltls'
ERROR: Command [compile] failed!
Makefile:143: recipe for target 'get-deps' failed
make: *** [get-deps] Error 1
In the other side, it successfully compiles on macOS
with Erlang 21.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.