www.digitalmars.com         C & C++   DMDScript  

D.gnu - ArchLinux packages

reply =?UTF-8?B?IkrDqXLDtG1lIE0uIEJlcmdlciI=?= <jeberger free.fr> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

	Hi,

	I'm officially deprecating the old ArchLinux gdc-svn package.
Instead I've uploaded two packages: gdc1-hg [1] and gdc2-hg [2] for
D1 and D2 respectively.

	It appears that Tango is not compatible with recent versions of
gdc: I get this message: "mismatch between dmd and object.d or
object.di found" whatever I do, which prevents me from updating the
gdc-tango package.

		Jerome

[1] http://aur.archlinux.org/packages.php?ID=3D41890
[2] http://aur.archlinux.org/packages.php?ID=3D41891
--=20
mailto:jeberger free.fr
http://jeberger.free.fr
Jabber: jeberger jabber.fr
Oct 17 2010
parent reply Iain Buclaw <ibuclaw ubuntu.com> writes:
== Quote from "Jérôme M. Berger" (jeberger free.fr)'s article
 	Hi,
 	I'm officially deprecating the old ArchLinux gdc-svn package.
 Instead I've uploaded two packages: gdc1-hg [1] and gdc2-hg [2] for
 D1 and D2 respectively.
 	It appears that Tango is not compatible with recent versions of
 gdc: I get this message: "mismatch between dmd and object.d or
 object.di found" whatever I do, which prevents me from updating the
 gdc-tango package.
 		Jerome
 [1] http://aur.archlinux.org/packages.php?ID=3D41890
 [2] http://aur.archlinux.org/packages.php?ID=3D41891

Which version of Tango are you using, or where are you getting it from?
Oct 17 2010
parent reply =?UTF-8?B?IkrDqXLDtG1lIE0uIEJlcmdlciI=?= <jeberger free.fr> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Iain Buclaw wrote:
 =3D=3D Quote from "J=C3=A9r=C3=B4me M. Berger" (jeberger free.fr)'s art=

 	Hi,
 	I'm officially deprecating the old ArchLinux gdc-svn package.
 Instead I've uploaded two packages: gdc1-hg [1] and gdc2-hg [2] for
 D1 and D2 respectively.
 	It appears that Tango is not compatible with recent versions of
 gdc: I get this message: "mismatch between dmd and object.d or
 object.di found" whatever I do, which prevents me from updating the
 gdc-tango package.
 		Jerome
 [1] http://aur.archlinux.org/packages.php?ID=3D3D41890
 [2] http://aur.archlinux.org/packages.php?ID=3D3D41891

Which version of Tango are you using, or where are you getting it from?=

=20

http://downloads.dsource.org/projects/tango/0.99.9/tango-0.99.9-src.tar.g= z Jerome --=20 mailto:jeberger free.fr http://jeberger.free.fr Jabber: jeberger jabber.fr
Oct 17 2010
next sibling parent Iain Buclaw <ibuclaw ubuntu.com> writes:
 Iain Buclaw wrote:
 =3D=3D Quote from "J=C3=A9r=C3=B4me M. Berger" (jeberger free.fr)'s art=

 	Hi,
 	I'm officially deprecating the old ArchLinux gdc-svn package.
 Instead I've uploaded two packages: gdc1-hg [1] and gdc2-hg [2] for
 D1 and D2 respectively.
 	It appears that Tango is not compatible with recent versions of
 gdc: I get this message: "mismatch between dmd and object.d or
 object.di found" whatever I do, which prevents me from updating the
 gdc-tango package.
 		Jerome
 [1] http://aur.archlinux.org/packages.php?ID=3D3D41890
 [2] http://aur.archlinux.org/packages.php?ID=3D3D41891

Which version of Tango are you using, or where are you getting it from?=

http://downloads.dsource.org/projects/tango/0.99.9/tango-0.99.9-src.tar.g= z Jerome

Looks like Tango has not been able to keep up with the speed of GDC updates, so quite a number of the hacks they do on behalf of GDC in that release are no longer necessary. Has already been fixed in the trunk. http://dsource.org/projects/tango/changeset/5520 I cannot comment on whether or not the trunk builds though (mwarning is probably the best person to ask). I should pay more attention/give it a try sometime though. =) Regards Iain
Oct 17 2010
prev sibling parent reply Iain Buclaw <ibuclaw ubuntu.com> writes:
== Quote from "Jérôme M. Berger" (jeberger free.fr)'s article
 Iain Buclaw wrote:
 Quote from "J=C3=A9r=C3=B4me M. Berger" (jeberger free.fr)'s article
 	Hi,
 	I'm officially deprecating the old ArchLinux gdc-svn package.
 Instead I've uploaded two packages: gdc1-hg [1] and gdc2-hg [2] for
 D1 and D2 respectively.
 	It appears that Tango is not compatible with recent versions of
 gdc: I get this message: "mismatch between dmd and object.d or
 object.di found" whatever I do, which prevents me from updating the
 gdc-tango package.
 		Jerome
 [1] http://aur.archlinux.org/packages.php?ID=3D3D41890
 [2] http://aur.archlinux.org/packages.php?ID=3D3D41891

Which version of Tango are you using, or where are you getting it from?=

http://downloads.dsource.org/projects/tango/0.99.9/tango-0.99.9-src.tar.gz Jerome

I'm currently working on fixing tango runtime for gdc (using a modified bob.sh to build) Here is the ticket in tango: http://dsource.org/projects/tango/ticket/2010 Any feedback or WIP patches would be helpful. Regards
Oct 24 2010
parent =?UTF-8?B?IkrDqXLDtG1lIE0uIEJlcmdlciI=?= <jeberger free.fr> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Iain Buclaw wrote:
 I'm currently working on fixing tango runtime for gdc (using a modified=

 build)
=20
 Here is the ticket in tango:
 http://dsource.org/projects/tango/ticket/2010
=20
 Any feedback or WIP patches would be helpful.
=20

Iain! However, I tried running the GC benchmark from http://dsource.org/projects/tango/wiki/GCBenchmark. It works with Tango but it segfaults with Phobos. When running it in gdb I saw that at some point an object has a null vptr: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D8<------------------------------
 gdb testgc

Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/jerome/prog/d/testgc...done. (gdb) r Starting program: /home/jerome/prog/d/testgc [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x0000000000402a3d in check (this=3D...) at testgc.d:12 12 return (left is null) ? item : (item + left.check() - right.check()); (gdb) print this.left $1 =3D (struct TreeNode &) 0x7ffff7fb0f40: {<> =3D {_vptr$ =3D 0x420760,= _monitor =3D 0x0}, item =3D -129788, left =3D 0x0, right =3D 0x0} (gdb) print this.right $2 =3D (struct TreeNode &) 0x7ffff7fabf00: {<> =3D {_vptr$ =3D 0x0, _monitor =3D 0x0}, item =3D -1008, left =3D 0x7ffff7fabf40, right =3D 0x7ffff7fa9f00} (gdb) ------------------------------>8=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Jerome --=20 mailto:jeberger free.fr http://jeberger.free.fr Jabber: jeberger jabber.fr
Nov 14 2010