Can't compile on macOS #4

Closed
opened 2020-05-29 12:27:56 +02:00 by Derfel · 1 comment

Compilation fails for me with Docker on macOS:

gcc.compile.c++ bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/peer_connection.o
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

    "g++"  -ftemplate-depth-512 -fPIC -pthread -O3 -finline-functions -Wno-inline -Wall -Wc++11-compat -fvisibility-inlines-hidden -Wall -Wextra -Wno-format-zero-length -Wparentheses -Wpedantic -Wvla -fvisibility=hidden -DBOOST_ALL_NO_LIB -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_DEPRECATED -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_SOURCE -DNDEBUG -DOPENSSL_NO_SSL2 -DTORRENT_BUILDING_LIBRARY -DTORRENT_BUILDING_SHARED -DTORRENT_USE_I2P=1 -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -D_WIN32_WINNT=0x0600  -I"/boost" -I"/usr/local/include" -I"/usr/sfw/include" -I"include" -I"include/libtorrent" -c -o "bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/peer_connection.o" "src/peer_connection.cpp"

...failed gcc.compile.c++ bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/peer_connection.o...
gcc.compile.c++ bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/bt_peer_connection.o
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

    "g++"  -ftemplate-depth-512 -fPIC -pthread -O3 -finline-functions -Wno-inline -Wall -Wc++11-compat -fvisibility-inlines-hidden -Wall -Wextra -Wno-format-zero-length -Wparentheses -Wpedantic -Wvla -fvisibility=hidden -DBOOST_ALL_NO_LIB -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_DEPRECATED -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_SOURCE -DNDEBUG -DOPENSSL_NO_SSL2 -DTORRENT_BUILDING_LIBRARY -DTORRENT_BUILDING_SHARED -DTORRENT_USE_I2P=1 -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -D_WIN32_WINNT=0x0600  -I"/boost" -I"/usr/local/include" -I"/usr/sfw/include" -I"include" -I"include/libtorrent" -c -o "bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/bt_peer_connection.o" "src/bt_peer_connection.cpp"

...failed gcc.compile.c++ bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/bt_peer_connection.o...
Compilation fails for me with Docker on macOS: ``` gcc.compile.c++ bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/peer_connection.o g++: fatal error: Killed signal terminated program cc1plus compilation terminated. "g++" -ftemplate-depth-512 -fPIC -pthread -O3 -finline-functions -Wno-inline -Wall -Wc++11-compat -fvisibility-inlines-hidden -Wall -Wextra -Wno-format-zero-length -Wparentheses -Wpedantic -Wvla -fvisibility=hidden -DBOOST_ALL_NO_LIB -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_DEPRECATED -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_SOURCE -DNDEBUG -DOPENSSL_NO_SSL2 -DTORRENT_BUILDING_LIBRARY -DTORRENT_BUILDING_SHARED -DTORRENT_USE_I2P=1 -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -D_WIN32_WINNT=0x0600 -I"/boost" -I"/usr/local/include" -I"/usr/sfw/include" -I"include" -I"include/libtorrent" -c -o "bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/peer_connection.o" "src/peer_connection.cpp" ...failed gcc.compile.c++ bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/peer_connection.o... gcc.compile.c++ bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/bt_peer_connection.o g++: fatal error: Killed signal terminated program cc1plus compilation terminated. "g++" -ftemplate-depth-512 -fPIC -pthread -O3 -finline-functions -Wno-inline -Wall -Wc++11-compat -fvisibility-inlines-hidden -Wall -Wextra -Wno-format-zero-length -Wparentheses -Wpedantic -Wvla -fvisibility=hidden -DBOOST_ALL_NO_LIB -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_HAS_STD_CHRONO -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_DEPRECATED -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_SOURCE -DNDEBUG -DOPENSSL_NO_SSL2 -DTORRENT_BUILDING_LIBRARY -DTORRENT_BUILDING_SHARED -DTORRENT_USE_I2P=1 -DTORRENT_USE_LIBCRYPTO -DTORRENT_USE_OPENSSL -D_FILE_OFFSET_BITS=64 -D_WIN32_WINNT=0x0600 -I"/boost" -I"/usr/local/include" -I"/usr/sfw/include" -I"include" -I"include/libtorrent" -c -o "bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/bt_peer_connection.o" "src/bt_peer_connection.cpp" ...failed gcc.compile.c++ bin/gcc-8/release/address-model-64/crypto-openssl/threading-multi/src/bt_peer_connection.o... ```
Author

Ah, nevermind, it's probably too little RAM for the Docker VM.

Ah, nevermind, it's probably too little RAM for the Docker VM.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: premiere/premiere-deluge-docker#4
No description provided.