bugzilla 424 - Unexpected OPTLINK Termination - solved!

Tom S h3r3tic at remove.mat.uni.torun.pl
Wed Nov 4 16:51:46 PST 2009


grauzone wrote:
> Walter Bright wrote:
>> grauzone wrote:
>>> And no, GNU ld is not too slow. The most time during building is 
>>> wasted due to not having _working_ incremental building (Tom S 
>>> discussed the issues about that with you).
>>
>> Do you mean incremental linking or incremental compiling?
> 
> Compiling. I think it had to do with emitting code for templates. DSSS 
> (rebuild) had the same problem, and its author just gave up and called 
> dmd once per source file, which made it awfully slow.
> 
> xfbuild (Tom S is its author, isn't he?) incremental building still 
> doesn't work for me because of the same issue.

The template emission method that DMD employs is a nice optimization, 
however until http://d.puremagic.com/issues/show_bug.cgi?id=3327 is 
fixed, incremental building may still be in trouble (and thus an option 
to control the emission might be useful). Additionally, 
http://d.puremagic.com/issues/show_bug.cgi?id=3328 is hindering the 
potential speed of an experimental incremental build tool I've created 
to work with the template emission optimization. The latter issue should 
be quite simple to to fix, but the former looks rather tricky and might 
be hitting some limitations of OMF.


-- 
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode


More information about the Digitalmars-d-announce mailing list