www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17731] New: dman fails to build due to more than 32767 symbols

https://issues.dlang.org/show_bug.cgi?id=17731

          Issue ID: 17731
           Summary: dman fails to build due to more than 32767 symbols
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: blocker
          Priority: P3
         Component: tools
          Assignee: nobody puremagic.com
          Reporter: code dawg.eu

Seems like the static array

    static IndexEntry[] entries = mixin (import("d.tag"));

with lots of entries in d.tag

    [
    IndexEntry("!in", ["http://dlang.org/spec/expression.html#InExpression"]),
    IndexEntry("#error and Static Asserts",
["http://dlang.org/pretod.html#staticassert"]),
    //...
    ]

creates many _TMP symbols (~32K on linux) and hence the tool hits the OMF
symbol limit.

--
Aug 07 2017