digitalmars.D.bugs - [Issue 9333] New: druntime module is not compiled into binary
- d-bugmail puremagic.com (44/44) Jan 17 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9333
- d-bugmail puremagic.com (13/13) Jan 22 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9333
- d-bugmail puremagic.com (16/16) Jan 29 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9333
http://d.puremagic.com/issues/show_bug.cgi?id=9333 Summary: druntime module is not compiled into binary Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: druntime AssignedTo: nobody puremagic.com ReportedBy: maxim maxim-fomin.ru --- Two month ago etc.linux.memoryerror module was added into druntime (https://github.com/D-Programming-Language/druntime/blob/master/src/etc/linux/memoryerror.d) for converting linux segfaults into exceptions. However, it seems to be absent: ---------------------------- import etc.linux.memoryerror; import core.stdc.stdio : printf; class A { int x; } void main() { A a; try { a.x = 0; } catch(NullPointerError er) { printf("catched\n"); } } ------------------------------------------ main.o:(.data+0xd0): undefined reference to `_D3etc5linux11memoryerror16NullPointerError7__ClassZ' collect2: error: ld returned 1 exit status --- errorlevel 1 As suggested in this thread(http://forum.dlang.org/thread/mailman.493.1358378360.22503.digitalmars-d puremagic.com?page=1) the module may not reach libdruntime/libphobos.a -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 17 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9333 Alex Rønne Petersen <alex lycus.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alex lycus.org CET --- I can't repro this issue. It links fine with 2.061: http://dpaste.dzfl.pl/96d98549 However, using the module at all is impossible until this PR is merged: https://github.com/D-Programming-Language/druntime/pull/389 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 22 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9333 Maxim Fomin <maxim maxim-fomin.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- I placed druntime sources and binaries (as well as phobos) not in default place on linux. I am using such installation for many month and have never experienced linker errors. It is strange that switching to ldc2 fixes linking problem. Since it is linkable using default settings and nobody else complained, I blame myself and mark issue as WORKSFORME, despite this is strange. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 29 2013