Thread overview
ArchLinux packages
Oct 17, 2010
Jérôme M. Berger
Oct 17, 2010
Iain Buclaw
Oct 17, 2010
Jérôme M. Berger
Oct 17, 2010
Iain Buclaw
Oct 24, 2010
Iain Buclaw
Nov 14, 2010
Jérôme M. Berger
October 17, 2010
	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=41890
[2] http://aur.archlinux.org/packages.php?ID=41891
-- 
mailto:jeberger@free.fr
http://jeberger.free.fr
Jabber: jeberger@jabber.fr



October 17, 2010
== 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?

October 17, 2010
Iain Buclaw wrote:
> == 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?
> 
	I'm using version 0.99.9 from
http://downloads.dsource.org/projects/tango/0.99.9/tango-0.99.9-src.tar.gz

		Jerome
-- 
mailto:jeberger@free.fr
http://jeberger.free.fr
Jabber: jeberger@jabber.fr



October 17, 2010
> Iain Buclaw wrote:
> > =3D=3D Quote from "J=C3=A9r=C3=B4me M. Berger" (jeberger@free.fr)'s art=
> icle
> >> 	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?=
> >
> 	I'm using version 0.99.9 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
October 24, 2010
== 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?=
> >
> 	I'm using version 0.99.9 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
November 14, 2010
Iain Buclaw wrote:
> 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.
> 
	The latest Tango trunk works with the latest gdc Mercurial. Thanks
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:

==============================8<------------------------------
 > gdb testgc
GNU gdb (GDB) 7.2
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=...) at testgc.d:12
12	        return (left is null) ? item : (item + left.check() -
right.check());
(gdb) print this.left
$1 = (struct TreeNode &) @0x7ffff7fb0f40: {<> = {_vptr$ = 0x420760,
_monitor = 0x0}, item = -129788, left = @0x0, right = @0x0}
(gdb) print this.right
$2 = (struct TreeNode &) @0x7ffff7fabf00: {<> = {_vptr$ = 0x0,
_monitor = 0x0}, item = -1008, left = @0x7ffff7fabf40, right =
@0x7ffff7fa9f00}
(gdb)
------------------------------>8==============================

		Jerome
-- 
mailto:jeberger@free.fr
http://jeberger.free.fr
Jabber: jeberger@jabber.fr