Bug#593803: libphobos-4.1-dev: std.c.linux.socket only works on X86

2010-08-21 Thread Daniel Gibson
Hi, I just realised that (in every version of std.c.linux.socket I've looked at, which includes the latest version in gdc hg and phobos svn trunk at dsource) the following functions and structs are missing: * sendmsg() and recvmsg() * struct msghdr and struct iovec * struct cmsghdr and macros

Bug#593803: libphobos-4.1-dev: std.c.linux.socket only works on X86

2010-08-20 Thread Daniel Gibson
Package: libphobos-4.1-dev Version: 0.25-4.1.2-23.2 Severity: important *** Please type your report below this line *** Hi, std.c.linux.socket only works on X86 because of "version(X86) ... else static assert(0);" in lines 70ff. I know this is fixed in the 4.3 package, but it would be really ni

Bug#581240: [gdc-4.3] Calculation of MD5 sums seriously broken

2010-05-15 Thread Daniel Gibson
On Thu, May 13, 2010 at 10:46 AM, Iain Buclaw wrote: > [i...@netbook ~]$ cat md5test.d > import std.md5; > import std.stdio; > void main(){ > // testcase from md5.d unittests > ubyte[16] digest; > sum (digest, "abc"); > writefln(digestToString(digest)); >     assert(digest == cast(ubyte[])x"900150

Bug#581698: similar bug in Ubuntu bugtracker

2010-05-15 Thread Daniel Gibson
On Sat, May 15, 2010 at 9:32 PM, Iain Buclaw wrote: > That indeed it is, and I've been aware of it for a while. > I actually fixed this with the patch in bug 581240 - hitting two birds with > one stone. > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581240#20 > If you have a look, the update

Bug#581698: similar bug in Ubuntu bugtracker

2010-05-15 Thread Daniel Gibson
I just found the following Bugreport in Ubuntu's bugtracker: https://bugs.launchpad.net/ubuntu/+source/gdc-4.3/+bug/570913 ("Classes nested in functions are not written to object files"), I guess it's the same bug. Cheers, - Daniel -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.

Bug#581700: [libphobos-4.1-dev] Not started Threads cause Segfault on exit

2010-05-14 Thread Daniel Gibson
Package: libphobos-4.1-dev Version: 0.25-4.1.2-27 Severity: normal Hi, While trying to narrow down another bug (#581698) I noticed that my program segfaults on exit, if there are Thread-objects that haven't been start()ed. While it probably doesn't make much sense to create Threads and not start

Bug#581698: [gdc-4.3] gdc 4.3 fails on anonymous nested classes

2010-05-14 Thread Daniel Gibson
Package: gdc-4.3 Version: 1:1.046-4.3.4-5 Severity: serious Hi, gdc-4.3 fails to compile code with anonymous nested classes. gdc-4.1 and dmd seem to have no problems, at least not with my code. If I try to extend Thread, I get the following compiletime-error: cae...@snaggletux:~/D_stuff$ gdc-4.

Bug#581240: [gdc-4.3] Calculation of MD5 sums seriously broken

2010-05-11 Thread Daniel Gibson
Package: gdc-4.3 Version: 1:1.046-4.3.4-5 Severity: serious The MD5-sums calculated by std.md5 are seriously broken - they're not only wrong, they're different on each run.. gdc-4.1 and the closed-source dmd do *not* have this bug. Because md5.d in the gdc-4.1 and gdc-4.3 package sources are iden