Created
February 19, 2019 10:41
-
-
Save gdeest/627c8d4e5dc5b0bc3d2d2cf659666bf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PS C:\Users\gaeld\stdcpp> ..\Downloads\bazel-0.21.0-windows-x86_64.exe build --config windows hsbin | |
| WARNING: The following rc files are no longer being read, please transfer their contents or import their path into one of the standard rc files: | |
| c:\users\gaeld\stdcpp/.bazelrc | |
| INFO: Invocation ID: f6aaff38-9ee5-4c31-ad78-98b6064ced80 | |
| INFO: Analysed target //:hsbin (17 packages loaded, 117 targets configured). | |
| INFO: Found 1 target... | |
| SUBCOMMAND: # //:cclib [action 'Compiling cc/lib.cpp'] | |
| cd C:/users/gaeld/_bazel_gaeld/vugn72ay/execroot/__main__ | |
| SET PATH=C:\msys64\usr\bin;C:\msys64\bin | |
| SET PWD=/proc/self/cwd | |
| external/io_tweag_rules_haskell_ghc_windows_amd64/mingw/bin/gcc -std=gnu++0x -MD -MF bazel-out/x64_windows-fastbuild/bin/_objs/cclib/lib.d -frandom-seed=bazel-out/x64_windows-fastbuild/bin/_objs/cclib/lib.o -iquote . -iquote bazel-out/x64_windows-fastbuild/genfiles -iquote bazel-out/x64_windows-fastbuild/bin -Ibazel-out/x64_windows-fastbuild/bin/_virtual_includes/cclib -c cc/lib.cpp -o bazel-out/x64_windows-fastbuild/bin/_objs/cclib/lib.o | |
| SUBCOMMAND: # //:hsbin [action 'HaskellLinkBinary hsbin.exe'] | |
| cd C:/users/gaeld/_bazel_gaeld/vugn72ay/execroot/__main__ | |
| SET LANG=en_US.UTF-8 | |
| C:/msys64/usr/bin/bash.exe -c | |
| export PATH=${PATH:-} # otherwise GCC fails on Windows | |
| # this is equivalent to 'readarray'. We do not use 'readarray' in order to | |
| # support older bash versions. | |
| while IFS= read -r line; do ghc_args+=("$line"); done < bazel-out/x64_windows-fastbuild/bin/ghc_args_hsbin_HaskellLinkBinary | |
| while IFS= read -r line; do extra_args+=("$line"); done < bazel-out/x64_windows-fastbuild/bin/extra_args_hsbin_H while IFS= read -r line; do param_file_args+=("$line"); done < bazel-out/x64_windows-fastbuild/bin/_obj/hsbin.st | |
| atic.manifest | |
| "${ghc_args[@]}" "${extra_args[@]}" "${param_file_args[@]}" | |
| ERROR: C:/users/gaeld/stdcpp/BUILD:18:1: error executing shell command: 'C:/msys64/usr/bin/bash.exe -c | |
| export PATH=${PATH:-} # otherwise GCC fails on Windows | |
| # this is equivalent to 'readarray'. We do not use 'readarray' in order to | |
| cd C:/users/gaeld/_bazel_gaeld/vugn72ay/execroot/__main__ | |
| SET LANG=en_US.UTF-8 | |
| C:/msys64/usr/bin/bash.exe -c | |
| export PATH=${PATH:-} # otherwise GCC fails on Windows | |
| # support older bash versions. | |
| while IFS= read -r line; do ghc_args+=("$line"); done < bazel-out/x64_windows-fastbuild/bin/ghc_args_hsbin_Haske | |
| llLinkBinary | |
| while IFS= read -r line; do extra_args+=("$line"); done < bazel-out/x64_windows-fastbuild/bin/extra_args_hsbin_H | |
| askellLinkBinary | |
| atic.manifest | |
| "${ghc_args[@]}" "${extra_args[@]}" "${param_file_args[@]}" | |
| Execution platform: @bazel_tools//platforms:host_platform | |
| bazel-out/x64_windows-fastbuild/bin/libcclib.a(lib.o):lib.cpp:(.text+0x18): undefined reference to `std::basic_ostream<c | |
| har, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream< | |
| char, std::char_traits<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) | |
| ' | |
| bazel-out/x64_windows-fastbuild/bin/libcclib.a(lib.o):lib.cpp:(.text+0x27): undefined reference to `std::ostream::operat | |
| or<<(std::ostream& (*)(std::ostream&))' | |
| bazel-out/x64_windows-fastbuild/bin/libcclib.a(lib.o):lib.cpp:(.text+0x42): undefined reference to `std::ios_base::Init: | |
| :~Init()' | |
| bazel-out/x64_windows-fastbuild/bin/libcclib.a(lib.o):lib.cpp:(.text+0x72): undefined reference to `std::ios_base::Init: | |
| :Init()' | |
| bazel-out/x64_windows-fastbuild/bin/libcclib.a(lib.o):lib.cpp:(.rdata$.refptr._ZSt4endlIcSt11char_traitsIcEERSt13basic_o | |
| streamIT_T0_ES6_[.refptr._ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_]+0x0): undefined reference to `std:: | |
| basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::cha | |
| collect2.exe: error: ld returned 1 exit status | |
| `gcc.exe' failed in phase `Linker'. (Exit code: 1) | |
| Target //:hsbin failed to build | |
| INFO: Elapsed time: 4.718s, Critical Path: 2.44s | |
| INFO: 1 process: 1 local. | |
| FAILED: Build did NOT complete successfully |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment