D.gnu - GDC 4.4.3
- Steve Teale (7/7) Mar 20 2010 After some time, I have finally got GDC (DMD 2.015) to build and compile...
- Robert Clipsham (15/22) Mar 20 2010 I'd go with DStress if you want a full test suite, but there's also the
- Michael P. (6/17) Mar 21 2010 Great news!
- Steve Teale (29/51) Mar 21 2010 Michael,
- Michael P. (2/63) Mar 21 2010 It seems to work fine on the latest hg tip from bitbucket. (DMD FE versi...
- Vincenzo Ampolo (6/8) Mar 27 2010 Hi,
- Steve Teale (11/17) Mar 27 2010 Vincenzo,
- Joseph Wakeling (2/10) Apr 21 2010 Isn't that an argument in _favour_ of publishing your current branch, wi...
- Iain Buclaw (9/9) Aug 09 2010 Hey Steve,
After some time, I have finally got GDC (DMD 2.015) to build and compile Phobos2 with GCC-4.4.3. So far I have only built and run hello world, and a couple of small test programs I made to investigate problems I had patching GCC. However, it's a start. What do I use for testing it - DStress? Steve
Mar 20 2010
On 20/03/10 08:08, Steve Teale wrote:After some time, I have finally got GDC (DMD 2.015) to build and compile Phobos2 with GCC-4.4.3. So far I have only built and run hello world, and a couple of small test programs I made to investigate problems I had patching GCC. However, it's a start. What do I use for testing it - DStress? SteveI'd go with DStress if you want a full test suite, but there's also the ldc mini test suite, and if you can get a copy of Walters test suite (you'll have to ask him nicely, he prefers to keep it to a select few due to licensing issues) that would be great :) It would also be a good idea to start up a gdc test suite, every time you find a bug/a bug is reported, add it to the test suite and make sure it's run before each release... that way you can minimise the number of regressions :) I'd say you could try and compile some libraries/apps too, but I doubt there's any that work with dmdfe 2.015 any more... your best bet in that sense for now would to be to make sure phobos compiles and its unit tests pass for now, at least until you manage to update the front end so you can test with other apps/libraries. Thanks for all your work, good luck getting gdc up to date and usable again :)
Mar 20 2010
Steve Teale Wrote:After some time, I have finally got GDC (DMD 2.015) to build and compile Phobos2 with GCC-4.4.3. So far I have only built and run hello world, and a couple of small test programs I made to investigate problems I had patching GCC. However, it's a start. What do I use for testing it - DStress? SteveGreat news! Have you tested it with D1? Unfortunately, I do not have a real testing suite. One of the things I plan to do is have some example programs included with GDC so that the user can make sure everything is working okay. Some of the programs could be trivial, others could be to test commonly error prone code. Right now, all that's in there is a "Hello World" program.
Mar 21 2010
On Sun, 21 Mar 2010 12:38:29 -0400, Michael P. wrote:Steve Teale Wrote:Michael, I haven't tested it with D1 - frankly it's not clear to me where D1 is going. There is an outstanding problem. Could you please try the following with your latest D1 version: import std.stdio; int foo(int n) { int inner(int m) { int ininner(int k) { writefln("foo.n = %d", n); return k+m+n+1; } return ininner(m)+n+1; } return inner(n)+n; } void main() { int t = foo(22); writefln("t = %d", t); } This fails with mine, and with the latest GDC I got from Ubuntu. Thanks SteveAfter some time, I have finally got GDC (DMD 2.015) to build and compile Phobos2 with GCC-4.4.3. So far I have only built and run hello world, and a couple of small test programs I made to investigate problems I had patching GCC. However, it's a start. What do I use for testing it - DStress? SteveGreat news! Have you tested it with D1? Unfortunately, I do not have a real testing suite. One of the things I plan to do is have some example programs included with GDC so that the user can make sure everything is working okay. Some of the programs could be trivial, others could be to test commonly error prone code. Right now, all that's in there is a "Hello World" program.
Mar 21 2010
Steve Teale Wrote:On Sun, 21 Mar 2010 12:38:29 -0400, Michael P. wrote:It seems to work fine on the latest hg tip from bitbucket. (DMD FE version 1.046) It compiles fine and outputs the same results as dmd 1.057.Steve Teale Wrote:Michael, I haven't tested it with D1 - frankly it's not clear to me where D1 is going. There is an outstanding problem. Could you please try the following with your latest D1 version: import std.stdio; int foo(int n) { int inner(int m) { int ininner(int k) { writefln("foo.n = %d", n); return k+m+n+1; } return ininner(m)+n+1; } return inner(n)+n; } void main() { int t = foo(22); writefln("t = %d", t); } This fails with mine, and with the latest GDC I got from Ubuntu. Thanks SteveAfter some time, I have finally got GDC (DMD 2.015) to build and compile Phobos2 with GCC-4.4.3. So far I have only built and run hello world, and a couple of small test programs I made to investigate problems I had patching GCC. However, it's a start. What do I use for testing it - DStress? SteveGreat news! Have you tested it with D1? Unfortunately, I do not have a real testing suite. One of the things I plan to do is have some example programs included with GDC so that the user can make sure everything is working okay. Some of the programs could be trivial, others could be to test commonly error prone code. Right now, all that's in there is a "Hello World" program.
Mar 21 2010
Steve Teale wrote:After some time, I have finally got GDC (DMD 2.015) to build andcompilePhobos2 with GCC-4.4.3.Hi, can you please publish your efforts of make gdc running on 4.4.3? So we can merge with the main branch. Thanks.
Mar 27 2010
On Sat, 27 Mar 2010 10:52:25 +0100, Vincenzo Ampolo wrote:Hi, can you please publish your efforts of make gdc running on 4.4.3? So we can merge with the main branch. Thanks.Vincenzo, There are still outstanding problems, since I've tried to compile and run more programs I find that something has changed in 4.4.3 that has broken the D runtime - more specifically GC. I get a segmentation fault if I try to change the length of an empty array - not good. When I've got this issue sorted I will prepare some patches. Like the rest of us, I do have personal life commitments that take up time - very annoying. Steve
Mar 27 2010
There are still outstanding problems, since I've tried to compile and run more programs I find that something has changed in 4.4.3 that has broken the D runtime - more specifically GC. I get a segmentation fault if I try to change the length of an empty array - not good. When I've got this issue sorted I will prepare some patches. Like the rest of us, I do have personal life commitments that take up time - very annoying.Isn't that an argument in _favour_ of publishing your current branch, with issues acknowledged, so that others with more time can get on and fix them straight away?
Apr 21 2010
Hey Steve, Do you still have the patches for GCC-4.4 at hand? If you were to make them available for access, I for one would be greatly appreciated. As we are going through some swift changes in GDC at the moment, having the patches "in the flux" will allow us to ensure the integrity and functionality of the patches are kept in good working order for everyone to benefit. Regards Iain.
Aug 09 2010