-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build failed on cygwin #93
Comments
ありがとうございます!サポート予定です! |
1.66.0 です。
|
もしかしたらboost-1.66.0だと上手くビルドできない可能性があります... |
Boost.Asioの $ cmake .. -DCMAKE_CXX_FLAGS="-D_GNU_SOURCE -DBOOST_ASIO_HAS_STD_STRING_VIEW"
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++.exe
-- Check for working CXX compiler: /usr/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX17
-- Performing Test COMPILER_SUPPORTS_CXX17 - Success
-- Performing Test COMPILER_SUPPORTS_CXX1z
-- Performing Test COMPILER_SUPPORTS_CXX1z - Success
-- CXX_FLAG: -std=c++17
-- Configuring done
-- Generating done
-- Build files have been written to: /path/to/poac/build
$ make
[ 50%] Building CXX object CMakeFiles/poac.dir/main.cpp.o
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/as: CMakeFiles/poac.dir/main.cpp.o: too many sections (37148)
/tmp/ccAWZvf2.s: Assembler messages:
/tmp/ccAWZvf2.s: Fatal error: can't write 171 bytes to section .text of CMakeFiles/poac.dir/main.cpp.o because: 'File too big'
/usr/lib/gcc/x86_64-pc-cygwin/7.4.0/../../../../x86_64-pc-cygwin/bin/as: CMakeFiles/poac.dir/main.cpp.o: too many sections (37148)
/tmp/ccAWZvf2.s: Fatal error: can't close CMakeFiles/poac.dir/main.cpp.o: File too big
make[2]: *** [CMakeFiles/poac.dir/build.make:63: CMakeFiles/poac.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/poac.dir/all] Error 2
make: *** [Makefile:128: all] Error 2 (リンクが通るとは言ってない) |
おお.ありがとうございます. cmakeに |
とりあえず |
[FYI] patch なしでビルドできるようになったのでパッケージスクリプトを作成してみました。 |
ありがとうございます! |
ビルドできるようになったと思うのでcloseします |
(サポート予定があるかどうかわからないですが) cygwin 環境でのビルドができない状態です。
ログ : https://gist.github.com/fd00/f589f0c42f3677117d9fc3e8f43474e2
resolve
以外のエラーは-D_GNU_SOURCE
で解決します。resolve
は引数port
の型がきちんと解釈できていないように見えるのですが cygwin gcc 特有のものかはわからないです...。環境
The text was updated successfully, but these errors were encountered: