[Issue 3372] optlink silently mistreats object files with more than 16384 symbols

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 22 23:31:56 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=3372



--- Comment #6 from Rainer Schuetze <r.sagitario at gmx.de> 2011-02-22 23:29:12 PST ---
I can confirm this bug is fixed. 

Even if it's only the limit that has been pushed to 32768 without other
changes, you won't be able to stuff an object file with more symbols into
optlink because dmd 2.052 asserts with

Internal error: ..\ztc\cgobj.c 425

This could be a bit more friendly, though.

There might be projects that need more symbols still, so a work around is to
not compile into a single object file, but to multiple object files. You
currently have to do this by calling dmd twice, once for compilation and then
for linking as the output filename will otherwise also be used for the single
object file.

The problem described in comment 5 is probably not related to this bug, but the
crasher bugs, e.g. 2436.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list