[Issue 11684] SIGSEGV, std.stdio.__T7writelnTAyaZ.writeln() at std/stdio.d:1906

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 9 16:36:26 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11684



--- Comment #9 from Timothee Cour <timothee.cour2 at gmail.com> 2013-12-09 16:36:23 PST ---
(In reply to comment #8)
> Interesting. The segfault is caused by stdout being null.  But std.stdio's
> static this() does initialize it correctly. So the static this() somehow isn't
> getting called by the druntime startup code???


$cat ./dmd/src/dmd.conf
[Environment]
DFLAGS=-Ipath/to/phobos -Ipath/to/druntime/import
-L-Lpath/to/phobos/generated/linux/release/default/ -L--export-dynamic -L-lrt


> What compile flags are you using, and what's the contents of dmd.conf?

#compile flags:
$./dmd/src/dmd -g -ofmain main.d

Other than that I'm building dmd/druntime/phobos as usual, no special options
etc.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list