[Issue 17728] New: Optlink: Error 168: >64K Global Types
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Mon Aug  7 13:14:00 PDT 2017
    
    
  
https://issues.dlang.org/show_bug.cgi?id=17728
          Issue ID: 17728
           Summary: Optlink: Error 168: >64K Global Types
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: bugzilla at digitalmars.com
As reported here: https://github.com/DigitalMars/optlink/issues/21
I'm getting this error in a mid-sized application (using vibe-d and another
internal library of similar size). It appears that this limit is quite easy to
reach with moderate template use. The question is if anything can be done about
this in the linker, or if this is a fundamental limitation rooted in the object
file format.
Message:
https://github.com/DigitalMars/optlink/blob/7c096397c052b209cb2cdf2dbe238fecd482239a/common/errors.asm#L1378
Constant:
https://github.com/DigitalMars/optlink/blob/7c096397c052b209cb2cdf2dbe238fecd482239a/cv/cvtypcon.asm#L2819
--
    
    
More information about the Digitalmars-d-bugs
mailing list