[msvc] number of sections exceeded object file format limit: compile with /bigobj #16245

issue NicolasDorier opened this issue on June 20, 2019
  1. NicolasDorier commented at 3:22 AM on June 20, 2019: contributor

    Only happening in Debug mode

    
    "C:\Sources\bitcoin\build_msvc\bitcoin.sln" (default target) (1) ->
    "C:\Sources\bitcoin\build_msvc\libbitcoinconsensus\libbitcoinconsensus.vcxproj" (default target) (2) ->
    (Lib target) ->
      sha256_sse4.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation
     that consumes this library [C:\Sources\bitcoin\build_msvc\libbitcoinconsensus\libbitcoinconsensus.vcxproj]
    
    
    "C:\Sources\bitcoin\build_msvc\bitcoin.sln" (default target) (1) ->
    "C:\Sources\bitcoin\build_msvc\testconsensus\testconsensus.vcxproj" (default target) (3) ->
    "C:\Sources\bitcoin\build_msvc\libbitcoin_util\libbitcoin_util.vcxproj" (default target) (4) ->
      sync.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that c
    onsumes this library [C:\Sources\bitcoin\build_msvc\libbitcoin_util\libbitcoin_util.vcxproj]
      compat_strnlen.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operat
    ion that consumes this library [C:\Sources\bitcoin\build_msvc\libbitcoin_util\libbitcoin_util.vcxproj]
    
    
    "C:\Sources\bitcoin\build_msvc\bitcoin.sln" (default target) (1) ->
    "C:\Sources\bitcoin\build_msvc\bitcoind\bitcoind.vcxproj" (default target) (6) ->
    "C:\Sources\bitcoin\build_msvc\libbitcoin_wallet\libbitcoin_wallet.vcxproj" (default target) (10) ->
    (ClCompile target) ->
      C:\Sources\bitcoin\src\wallet\wallet.cpp : fatal error C1128: number of sections exceeded object file format limit: compile with /bigobj [C:\Sources\bitc
    oin\build_msvc\libbitcoin_wallet\libbitcoin_wallet.vcxproj]
    
        3 Warning(s)
        1 Error(s)
    

    Probably easy to fix, will check later.

  2. fanquake added the label Windows on Jun 20, 2019
  3. NicolasDorier referenced this in commit eb832cd3b4 on Jun 20, 2019
  4. MarcoFalke closed this on Jun 20, 2019

  5. MarcoFalke referenced this in commit 23815ee74d on Jun 20, 2019
  6. sidhujag referenced this in commit 4ba06ab591 on Jun 20, 2019
  7. HashUnlimited referenced this in commit 9bc89dbd46 on Aug 30, 2019
  8. Munkybooty referenced this in commit 805dc2fae7 on Oct 7, 2021
  9. Munkybooty referenced this in commit d520dcf33c on Oct 14, 2021
  10. MarcoFalke locked this on Dec 16, 2021

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:14 UTC

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