From: Andrew R. <and...@us...> - 2010-05-27 13:21:27
|
Hi Werner, It's not a fundamental problem with gdc. As I say, the 4.3 version on my updated Ubuntu lucid system works (albeit 32 bit). gdc is the default d compiler on Debian and Ubuntu. If it turns out that certain versions don't work then we should warn people and test for them. I'd like some more data points first though. Alan, what version are you using? I'm assuming it is gdc-4.1 from Debian stable. A further search shows there is a specific issue with this Ubuntu gdc version https://bugs.launchpad.net/ubuntu/+source/gdc-4.2/+bug/235955 so it looks like it is just me. This is not the current version of Ubuntu, so this should be a passing issue. Andrew On Thu, May 27, 2010 at 12:30:23PM +0200, Werner Smekal wrote: > Hi Andrew, > > I would expect problems, since gdc is not maintained anymore > (http://dgcc.sourceforge.net/, last update 2007). There are plans to > update it or even to add official D support to gcc, but it seems nothing > happened (yet?). > > I would suggest that you use the offical D compiler by digitalmars.com > (http://www.digitalmars.com/d/download.html) but use Version 1, since > Version 2 is not stable (even the language specifications are not > stable, and examples are written for Version 1). > > I use(d) it on Windows and Mac OS X and the digitalmars.com compiler > just works fine with our CBS and examples. > > That's unfortunate that gdc seems to be broken, but it's not maintained > anymore. > > Regards, > Werner > > PS: There are other projects like ldc, based on llvm, > (http://www.dsource.org/projects/ldc) but I'm not sure if our CBS will > find this compiler. > > PPS: GDC work seems to be continued, but no binaries to download yet: > http://bitbucket.org/goshawk/gdc/wiki/Home > > On 5/27/10 12:04 PM, Andrew Ross wrote: > > > > I've just got round to installing gdc on my 64 bit Ubuntu Karmic system and unfortunately I am > > running into lots of problems. Examples 1, 3, 6, 7, 12, 14, 18, 19, 23, 31 all crash with a > > segmentation fault. The crash is consistent, but occurs in different places in different > > examples. For some it is immediate, for others it is after selecting a device. In some cases > > several pages are plotted before the crash. All other examples are fine. > > > > On my 32 bit Ubuntu Lucid system all works fine. > > > > This is with gdc 4.2.4. I don't think it is a 64-bit issue since Alan has reported no problems, > > so I suspect it is to do with the d compiler version. Has anyone else had problems? > > > > Andrew > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Plplot-devel mailing list > > Plp...@li... > > https://lists.sourceforge.net/lists/listinfo/plplot-devel > > -- > Dr. Werner Smekal > Institut fuer Angewandte Physik > Technische Universitaet Wien > Wiedner Hauptstr 8-10/134 > A-1040 Wien > Austria > DVR-Nr: 0005886 > > email: sm...@ia... (GPG: EDCAF4A79) > web: http://www.iap.tuwien.ac.at/~smekal > phone: +43-(0)1-58801-13463 (office) > +43-(0)1-58801-13469 (laboratory) > fax: +43-(0)1-58801-13499 > > ------------------------------------------------------------------------------ > > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |