win: non-static libssp in libbitcoinconsensus DLL #28104

issue fanquake opened this issue on July 19, 2023
  1. fanquake commented at 11:18 AM on July 19, 2023: member

    If you Guix build for Windows, and call objdump on libbitcoinconsensus-0.dll, you'll find it uses a non-static libssp:

    objdump -x src/.libs/libbitcoinconsensus-0.dll
    ...
    The Import Tables (interpreted .idata section contents)
     vma:            Hint    Time      Forward  DLL       First
                     Table   Stamp     Chain    Name      Thunk
     00263000	00263050 00000000 00000000 0026409c 00263490
    
    	DLL Name: libssp-0.dll
    	vma:  Hint/Ord Member-Name Bound-To
    	2638d0	    3  __memcpy_chk
    	2638e0	    7  __stack_chk_fail
    	2638f4	    8  __stack_chk_guard
    

    DLLs should be built with a static libgcc/stdc++/ssp:

    https://github.com/bitcoin/bitcoin/blob/84c5416b03248c91aa7efe46555699f9f121d8a4/configure.ac#L724-L730

    This has been an issue since we switched to using Guix for the 22.0 release.

  2. fanquake added the label Windows on Jul 19, 2023
  3. fanquake added the label Build system on Jul 19, 2023
  4. fanquake closed this on Nov 22, 2023

  5. Julio-Rats referenced this in commit 5d13b9586e on Jan 26, 2024
  6. bitcoin locked this on Nov 21, 2024

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: 2026-04-17 03:13 UTC

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