[Issue 758] Segmentation fault when compiling.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 31 15:06:15 PST 2006
http://d.puremagic.com/issues/show_bug.cgi?id=758
------- Comment #2 from quartz13163 at distanthumans.info 2006-12-31 17:06 -------
(In reply to comment #1)
> Do you mean that the compiler seg faults while compiling, or the linker seg
> faults when linking?
>
Hi Walter,
It appears as though the compiler is seg faulting because bud(aka build)
generates the "-c" option. linux's ld seems to be able to link fine as long as
all the .o files can be located. However, when dmd seg faults some .o files are
not present and then the linker complains based on the missing .o files.
Bud dosen't seem to recognize that dmd seg faults and blindly calls "ld" to
link. If I manually make sure all the .o files are compiled I can then link
using "ld". But that is for another forum. ;-).
If I had a choice I would rather figure out why dmd (or is it "ar" under linux)
that seems to create library files with missing things in it; most notably the
ModuleInfo things. If I can get that working again I could go back to using
libraries.
Please let me know if I can supply anymore info. I can recreate the issue.
-Will.
--
More information about the Digitalmars-d-bugs
mailing list