User feedback - recurrent runtime bug

Steven Schveighoffer schveiguy at yahoo.com
Thu Nov 4 09:50:25 PDT 2010


On Thu, 04 Nov 2010 12:41:16 -0400, Iain Buclaw <ibuclaw at ubuntu.com> wrote:

> == Quote from Steven Schveighoffer (schveiguy at yahoo.com)'s article

>> Compile time is not possible.  You cannot construct the import graph  
>> until
>> link time, and the linker does not support performing any kind of  
>> analysis.
>> -Steve
>
> Agreed, and what makes the plot thicker is that it also depends on the  
> *order*
> that you send files to the linker too.
>
> Bug report from Debian:  
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583837

That actually shouldn't matter.  I believe what you are seeing is a  
manifestation of bug 4384.  The cycle detection algorithm is broken, it  
doesn't detect some cycles, and I would not be surprised if link order  
affected whether a certain cycle was detected.

-Steve


More information about the Digitalmars-d mailing list