[Issue 424] Unexpected OPTLINK Termination at EIP=0044C37B (too many fixups)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 20 23:54:08 PDT 2009


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


Jarrett Billingsley <jarrett.billingsley at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jarrett.billingsley at gmail.c
                   |                            |om




--- Comment #27 from Jarrett Billingsley <jarrett.billingsley at gmail.com>  2009-06-20 23:54:07 PDT ---
Open a windows command prompt and run the following line:

for /L %i in (1,1,17000) do @echo void func%i(){} >> test.txt

This creates test.txt with 17,000 functions.

Then create test.d in the same dir:

module test;
mixin(import("test.txt"));
void main() {}

Now, compile *with the following commandline*.

dmd test.d -g -J.

This causes OPTLINK v8.00.1 to crash with EIP=00412793 as sa mentioned.  

For more testing, delete test.txt and run the shell line above with different
values.  16000 does not crash.  Interestingly, 16500 neither succeeds nor
fails; the linker apparently hangs and does not use any CPU.

If you want a real-world test, you're going to have to install some third-party
D libraries.

-- 
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