[Issue 5278] DMD generates programs that immediately segfault.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 7 23:31:36 PST 2010


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



--- Comment #9 from Chad Joan <chadjoan at gmail.com> 2010-12-07 23:29:58 PST ---
(In reply to comment #8)
> > I don't know if it's
> > related because the segfault is such a terribly vague error and I don't feel
> > like learning how to disassemble executables again right now
> 
> If dmd can generate debug info, you shouldn't need to disassemble. At least
> you'll know, where it crashes.
> 
> d2 is a sophisticated system, it can use nifty functions in trivial cases.
> AFAIK, Gentoo is compiled from the source, did you use any special options like
> strong optimization etc?

For DMD I just grab the binary releases.  I've never been very confident in the
D-related ebuilds :(

As for my system configuration and its optimization, I don't think I have
anything too exotic.  Here are my CFLAGS:
CFLAGS="-march=nocona -O2 -finline-functions -fgcse-after-reload -pipe"

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