[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-08-29 Thread Michael Bienia
ldc 0.9.2+hg1655-0ubuntu1 is now in Maverick. There was a slight delay
due to Beta Freeze till it got accepted into the archive.

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-08-29 Thread Matt Jones
I just tried it. The 1655 revision can't even build a simple:

void main() {
}

I dumps out linking errors like this:

/usr/lib/gcc/i686-linux-gnu/4.4.5/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
main.o: In function `_D4main16__moduleinfoCtorZ':
main:(.text+0x11): undefined reference to `_Dmodule_ref'
main:(.text+0x21): undefined reference to `_Dmodule_ref'
main.o:(.data+0x0): undefined reference to `_D10ModuleInfo6__vtblZ'
collect2: ld returned 1 exit status
Error: linking failed:
status: 1

I tried linking manually. But can't get it to work at all.

If you can't get the 1655 revision to work, I recommend moving to
previous version 0.9.1+hg1596-3, and fixing the ldc.conf file.

In my limited experience of building ldc manually, 1596 version is an
okay place to build from. Everything after that is extremely unstable.
The ldc devs need to put out a snap shot that works.

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-08-29 Thread Michael Bienia
Unfortunately going back to an older version would be really hard as the
reason for the upgrade to hg1655 is that maverick has only llvm 2.7 and
only versions greater than hg1650 build with it.

I can reproduce this problem you see and I might have a possible fix for it (at 
least I could compile your simple code):
based on the fix you proposed, I tried now adding -L-ltango-base-ldc to 
ldc.conf (as tango-user-ldc is now listed as defaultlib) and it worked.

Here is my current ldc.conf:
default:
{
// 'switches' holds array of string that are appends to the command line
// arguments before they are parsed.
switches = [
-I/usr/include/d,
-I/usr/include/d/ldc,
-I/usr/include/d/tango/core/vendor,
-L-L/usr/lib/d,
-L-ltango-base-ldc,
-d-version=Tango,
-defaultlib=tango-user-ldc,
-debuglib=tango-user-ldc
];
};

If you can confirm that it fixes this problem, I'll upload a fixed
package.

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-08-29 Thread Matt Jones
I just tried your new ldc.conf. It works! I was able to compile trivial
examples, and large frameworks.

Thanks

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-08-29 Thread Launchpad Bug Tracker
This bug was fixed in the package ldc - 0.9.2+hg1655-0ubuntu2

---
ldc (0.9.2+hg1655-0ubuntu2) maverick; urgency=low

  * Add missing tango libraries to ldc.conf.in (lp: #558810).
 -- Michael Bienia ge...@ubuntu.com   Sun, 29 Aug 2010 23:59:01 +0200

** Changed in: ldc (Ubuntu)
   Status: New = Fix Released

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-08-28 Thread Michael Bienia
The ldc.conf from ldc 0.9.2+hg1655 (from maverick) looks as following:

default:
{
// 'switches' holds array of string that are appends to the command line
// arguments before they are parsed.
switches = [
-I/usr/include/d,
-I/usr/include/d/ldc,
-I/usr/include/d/tango/core/vendor,
-L-L/usr/lib/d,
-d-version=Tango,
-defaultlib=tango-user-ldc,
-debuglib=tango-user-ldc
];
};

Do you know if the change you mentioned is still needed?

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-08-28 Thread Matt Jones
I just tried it in Maverick. Unfortunately I was unable to test, as the
latest version is 0.9.1+hg1596-3. Even with the proposed repo activated.
I need a way to test 0.9.2+hg1655 to be sure.

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-05-05 Thread Matt Jones
Changed from a tango bug, to a ldc bug.

** Summary changed:

- svn5259 is broken
+ ldc.conf is missing some tango libraries

** Package changed: libtango (Ubuntu) = ldc (Ubuntu)

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-05-05 Thread Matt Jones
The problem is that the /etc/ldc.conf file only has some of the tango
libraries. The switches are:

switches = [
-I/usr/include/d,
-L-L/usr/lib/d,
-d-version=Tango,
-defaultlib=tango-base-ldc,
-debuglib=tango-base-ldc
];

But they should be:

switches = [
-I/usr/include/d,
-I/usr/include/d/ldc,
-L-L/usr/lib/d,
-L-ltango-user-ldc,
-d-version=Tango,
-defaultlib=tango-base-ldc,
-debuglib=tango-base-ldc
];

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 558810] Re: ldc.conf is missing some tango libraries

2010-05-05 Thread Matt Jones
** Description changed:

- We are using svn5259, which can't even build basic hello world programs.
- 
- Their project has been changing like mad, and builds have been broken
- for a while. If you roll back to around svn5178 it should work fine. I
- have a karmic version in a ppa that has been working nicely, if you need
- a reference: https://launchpad.net/~rester-
- developers/+archive/ppa/+packages
- 
- 
- running ubuntu 10.04 32bit.
+ Updated: My initial speculation about the bug was wrong. See the next
+ posts for details.

-- 
ldc.conf is missing some tango libraries
https://bugs.launchpad.net/bugs/558810
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs