[Issue 4130] DMD crashes if it has to compile a project which is too complex
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 28 22:43:54 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4130
--- Comment #14 from Torsten Sommerfeld <Globe13.Trotter17 at gmx.de> 2010-04-28 22:43:49 PDT ---
After I have modified the file cod3.c changing
struct fixlist
{ symbol *Lsymbol; // symbol we don't know about
short Lseg; // where the fixup is going (CODE or DATA, never
UDATA)
...
};
to
struct fixlist
{ symbol *Lsymbol; // symbol we don't know about
int Lseg; // where the fixup is going (CODE or DATA, never
UDATA)
...
};
dmd is able to compile successfully. However, now gcc(ld) failes with
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to
000000000804a8b0
Program received signal SIGSEGV, Segmentation fault.
0x00bff5f7 in ?? () from /usr/lib/libbfd-2.20.so
(gdb) bt
#0 0x00bff5f7 in ?? () from /usr/lib/libbfd-2.20.so
#1 0x00c9039c in ?? () from /usr/lib/libbfd-2.20.so
#2 0x089a7258 in ?? ()
#3 0x089a95f0 in ?? ()
#4 0xb5e57008 in ?? ()
#5 0x0000175c in ?? ()
#6 0x00000000 in ?? ()
So it seems there was a reason the data type was short and not int
Any ideas?
--
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