Lib change leads to larger executables

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Fri Feb 23 14:28:02 PST 2007


Walter Bright wrote:
> Walter Bright wrote:
>> Bill Baxter wrote:
>>> I see hangs occasionally even for small programs.  Even on single 
>>> files compiled with dmd -run.  Every time it happens if I Ctrl-C kill 
>>> it and run the same command again, everything is fine.  Frequency is 
>>> maybe like 1 out of every 50 compiles.
>>
>> I've never seen optlink crash except on known cases where there's a 
>> gigantic amount of static data. If you've got more conventional cases, 
>> please post a bug report with a reproducible case.
> 
> I'd forgotten, there is a problem with optlink running on multicore 
> machines. There's supposed to be a way to tell Windows to run an exe 
> using only one core, but I can't think of it at the moment.

Is it a threaded application? (That would explain why the error is sporadic)
If so, the obvious workaround would be to tell it to only use one thread.
If not, why does multicore matter?




More information about the Digitalmars-d mailing list