build error with wsl2 mingw32 #25627

issue Reisen1969 openend this issue on July 17, 2022
  1. Reisen1969 commented at 7:28 am on July 17, 2022: none

    hello everyone, I follow this page to build https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md#building-for-64-bit-windows

    I took those steps:

    0PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
    1sudo bash -c "echo 0 > /proc/sys/fs/binfmt_misc/status" # Disable WSL support for Win32 applications.
    2cd depends
    3make HOST=x86_64-w64-mingw32
    4cd ..
    5./autogen.sh
    6CONFIG_SITE=$PWD/depends/x86_64-w64-mingw32/share/config.site ./configure --prefix=/
    7make # use "-j N" for N parallel jobs
    8sudo bash -c "echo 1 > /proc/sys/fs/binfmt_misc/status" # Enable WSL support for Win32 applications.
    

    everything right except “make -j 12” After compiling for a long time image

    generate some exe files: image

    my os info: windows 11 21H2 wsl2 : Linux DESKTOP-46OIGI3 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux gcc: x86_64-w64-mingw32-g++ (GCC) 9.3-win32 20200320

  2. Reisen1969 added the label Bug on Jul 17, 2022
  3. fanquake added the label Windows on Aug 1, 2022
  4. fanquake commented at 1:45 pm on August 8, 2022: member
    Almost certainly a local issue. Can you try a make clean and rebuilding?
  5. fanquake removed the label Bug on Aug 8, 2022
  6. fanquake commented at 10:27 am on August 10, 2022: member
    Going to close for now. Let us know if you’re still having the same issue, and we can reopen / investigate further.
  7. fanquake closed this on Aug 10, 2022

  8. Reisen1969 commented at 12:16 pm on August 10, 2022: none

    Almost certainly a local issue. Can you try a make clean and rebuilding?

    it matter

  9. bitcoin locked this on Aug 10, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-09-28 22:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me