digitalmars.D.learn - updating druntime
- Benji (8/8) Dec 12 2013 Hello,
- John Colvin (2/10) Dec 12 2013 how did you install dmd/druntime/phobos originally?
- Benji (3/15) Dec 12 2013 As it is mentioned in installation instructions to the dmd
- Marco Leise (11/28) Dec 13 2013 Did you use the .deb file? It shouldn't produce such a
- John Colvin (2/3) Dec 13 2013 A bit drastic, or am i missing something?!?!
- Marco Leise (7/11) Dec 13 2013 That was meant as "remove anything D related from your
- John Colvin (2/11) Dec 13 2013 Woops, sorry, missed that it was posix :)
- Benji (32/59) Dec 13 2013 Yes, I used :(
- Marco Leise (9/29) Dec 13 2013 And when you compile like this?: dmd helloa.d -L-lcurl
- Benji (2/29) Dec 13 2013 I got two errors mentioned above at once.. :(
- Marco Leise (5/6) Dec 13 2013 What the heck is happening on your system? :(
- Benji (2/6) Dec 13 2013 I plan to install Arch, so hope that will solve it :P
- Marco Leise (15/24) Dec 14 2013 So format c: it is ...
- Benji (3/28) Dec 15 2013 I have Debian now,
- Marco Leise (6/37) Dec 15 2013 As it should. But I keep wondering why it didn't work on
- Joseph Rushton Wakeling (2/4) Dec 15 2013 Forgot to copy phobos/etc to include/d2/etc ... ?
Hello, when I try to compile something with dmd, I get following message: /usr/include/dmd/phobos/std/bitmanip.d(416): Error: undefined identifier '_xopCmp' Error: ICE: _xopCmp not found in object module. You must update druntime How to 'update druntime' ?
Dec 12 2013
On Thursday, 12 December 2013 at 16:44:28 UTC, Benji wrote:Hello, when I try to compile something with dmd, I get following message: /usr/include/dmd/phobos/std/bitmanip.d(416): Error: undefined identifier '_xopCmp' Error: ICE: _xopCmp not found in object module. You must update druntime How to 'update druntime' ?how did you install dmd/druntime/phobos originally?
Dec 12 2013
On Thursday, 12 December 2013 at 19:11:03 UTC, John Colvin wrote:On Thursday, 12 December 2013 at 16:44:28 UTC, Benji wrote:As it is mentioned in installation instructions to the dmd (linux-ubuntu)Hello, when I try to compile something with dmd, I get following message: /usr/include/dmd/phobos/std/bitmanip.d(416): Error: undefined identifier '_xopCmp' Error: ICE: _xopCmp not found in object module. You must update druntime How to 'update druntime' ?how did you install dmd/druntime/phobos originally?
Dec 12 2013
Am Thu, 12 Dec 2013 20:29:31 +0100 schrieb "Benji" <romanbeno273 gmail.com>:On Thursday, 12 December 2013 at 19:11:03 UTC, John Colvin wrote:Did you use the .deb file? It shouldn't produce such a version mismatch. Did you install over a previous installation and possibly have some leftover files from the old DMD version? I'd say format c: and start over with the installation of DMD. In any case, if you didn't install from the GitHub sources this error message should not appear and someone who isn't hacking on DMD does not have to update druntime manually. -- MarcoOn Thursday, 12 December 2013 at 16:44:28 UTC, Benji wrote:As it is mentioned in installation instructions to the dmd (linux-ubuntu)Hello, when I try to compile something with dmd, I get following message: /usr/include/dmd/phobos/std/bitmanip.d(416): Error: undefined identifier '_xopCmp' Error: ICE: _xopCmp not found in object module. You must update druntime How to 'update druntime' ?how did you install dmd/druntime/phobos originally?
Dec 13 2013
On Friday, 13 December 2013 at 15:00:57 UTC, Marco Leise wrote:I'd say format c:A bit drastic, or am i missing something?!?!
Dec 13 2013
Am Fri, 13 Dec 2013 16:08:22 +0100 schrieb "John Colvin" <john.loughran.colvin gmail.com>:On Friday, 13 December 2013 at 15:00:57 UTC, Marco Leise wrote:That was meant as "remove anything D related from your system". format c: on a POSIX system, come on. I was clearly not serious. :) -- MarcoI'd say format c:A bit drastic, or am i missing something?!?!
Dec 13 2013
On Friday, 13 December 2013 at 15:54:06 UTC, Marco Leise wrote:Am Fri, 13 Dec 2013 16:08:22 +0100 schrieb "John Colvin" <john.loughran.colvin gmail.com>:Woops, sorry, missed that it was posix :)On Friday, 13 December 2013 at 15:00:57 UTC, Marco Leise wrote:That was meant as "remove anything D related from your system". format c: on a POSIX system, come on. I was clearly not serious. :)I'd say format c:A bit drastic, or am i missing something?!?!
Dec 13 2013
On Friday, 13 December 2013 at 15:00:57 UTC, Marco Leise wrote:Am Thu, 12 Dec 2013 20:29:31 +0100 schrieb "Benji" <romanbeno273 gmail.com>:Yes, I used :( I tryied it again via zip-archive, and it works... but, using std.net.curl module functions doesn't work for me... This is my error: (after get("google.com") call) [...] In function `_D3std3net4curl4Curl7performMFbZi': std/net/curl.d:(.text._D3std3net4curl4Curl7performMFbZi+0x1f): undefined reference to `curl_easy_perform' /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libphobos2 a(curl_248d_4a1.o): In function `_D3std3net4curl4Curl11errorStringMFiZAya': std/net/curl.d:(.text._D3std3net4curl4Curl11errorStringMFiZAya+0x11): undefined reference to `curl_easy_strerror' collect2: error: ld returned 1 exit status When I compile it this way: dmd helloa.d -L-lphobos2 -L-lcurl Another error appear: [...] helloa.d:(.text._D3std6format66__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTmZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8Ap enderxAammZk+0x45): undefined reference to `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec' helloa.o: In function `_D3std6format68__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTAyaZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8AppenderxAamAyaZk': helloa.d:(.text._D3std6format68__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTAyaZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8Appe derxAamAyaZk+0x49): undefined reference to `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec' helloa.o:helloa.d:(.text._D3std6format64__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTtZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8A penderxAatZk+0x40): more undefined references to `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10Format pecTaZ10FormatSpec' follow collect2: error: ld returned 1 exit status After 7 hours of effort and trying everything it still doesn't work :((On Thursday, 12 December 2013 at 19:11:03 UTC, John Colvin wrote:Did you use the .deb file? It shouldn't produce such a version mismatch. Did you install over a previous installation and possibly have some leftover files from the old DMD version? I'd say format c: and start over with the installation of DMD. In any case, if you didn't install from the GitHub sources this error message should not appear and someone who isn't hacking on DMD does not have to update druntime manually.On Thursday, 12 December 2013 at 16:44:28 UTC, Benji wrote:As it is mentioned in installation instructions to the dmd (linux-ubuntu)Hello, when I try to compile something with dmd, I get following message: /usr/include/dmd/phobos/std/bitmanip.d(416): Error: undefined identifier '_xopCmp' Error: ICE: _xopCmp not found in object module. You must update druntime How to 'update druntime' ?how did you install dmd/druntime/phobos originally?
Dec 13 2013
Am Fri, 13 Dec 2013 19:48:46 +0100 schrieb "Benji" <romanbeno273 gmail.com>:When I compile it this way: dmd helloa.d -L-lphobos2 -L-lcurl Another error appear: [...] helloa.d:(.text._D3std6format66__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTmZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8Ap enderxAammZk+0x45): undefined reference to `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec' helloa.o: In function `_D3std6format68__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTAyaZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8AppenderxAamAyaZk': helloa.d:(.text._D3std6format68__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTAyaZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8Appe derxAamAyaZk+0x49): undefined reference to `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec' helloa.o:helloa.d:(.text._D3std6format64__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTtZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8A penderxAatZk+0x40): more undefined references to `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10Format pecTaZ10FormatSpec' follow collect2: error: ld returned 1 exit status After 7 hours of effort and trying everything it still doesn't work :((And when you compile like this?: dmd helloa.d -L-lcurl This will link in the static version of Phobos and there is only one static (.a) Phobos on any system. -L-lphobos2 might link against the wrong (.so) if you have an old version. I'm just guessing here. -- Marco
Dec 13 2013
On Friday, 13 December 2013 at 19:22:20 UTC, Marco Leise wrote:Am Fri, 13 Dec 2013 19:48:46 +0100 schrieb "Benji" <romanbeno273 gmail.com>:I got two errors mentioned above at once.. :(When I compile it this way: dmd helloa.d -L-lphobos2 -L-lcurl Another error appear: [...] helloa.d:(.text._D3std6format66__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTmZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8Ap enderxAammZk+0x45): undefined reference to `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec' helloa.o: In function `_D3std6format68__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTAyaZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8AppenderxAamAyaZk': helloa.d:(.text._D3std6format68__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTmTAyaZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8Appe derxAamAyaZk+0x49): undefined reference to `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10FormatSpecTaZ10FormatSpec' helloa.o:helloa.d:(.text._D3std6format64__T14formattedWriteTS3std5array17__T8AppenderTAyaZ8AppenderTaTtZ14formattedWriteFNaNfS3std5array17__T8AppenderTAyaZ8A penderxAatZk+0x40): more undefined references to `_D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNcNfxAaZS3std6format18__T10Format pecTaZ10FormatSpec' follow collect2: error: ld returned 1 exit status After 7 hours of effort and trying everything it still doesn't work :((And when you compile like this?: dmd helloa.d -L-lcurl This will link in the static version of Phobos and there is only one static (.a) Phobos on any system. -L-lphobos2 might link against the wrong (.so) if you have an old version. I'm just guessing here.
Dec 13 2013
Am Fri, 13 Dec 2013 21:40:10 +0100 schrieb "Benji" <romanbeno273 gmail.com>:I got two errors mentioned above at once.. :(What the heck is happening on your system? :( -- Marco
Dec 13 2013
On Saturday, 14 December 2013 at 00:15:30 UTC, Marco Leise wrote:Am Fri, 13 Dec 2013 21:40:10 +0100 schrieb "Benji" <romanbeno273 gmail.com>:I plan to install Arch, so hope that will solve it :PI got two errors mentioned above at once.. :(What the heck is happening on your system? :(
Dec 13 2013
Am Sat, 14 Dec 2013 08:43:42 +0100 schrieb "Benji" <romanbeno273 gmail.com>:On Saturday, 14 December 2013 at 00:15:30 UTC, Marco Leise wrote:So format c: it is ... If you are switching already, Gentoo (http://www.gentoo.org/main/en/about.xml) is also a viable option for D development (https://github.com/gentoo-dlang) especially if you want to try alternative compilers to DMD and plan to use libraries like GtkD and want them to work on top of all your installed D compilers. [Currently all D compilers produce libraries that are incompatible with those of the other compilers, so a library needs to be compiled and installed up to 6 times for all three compilers and 32/64 bit versions. So it is nice to get some assistance from the package manager here.] -- MarcoAm Fri, 13 Dec 2013 21:40:10 +0100 schrieb "Benji" <romanbeno273 gmail.com>:I plan to install Arch, so hope that will solve it :PI got two errors mentioned above at once.. :(What the heck is happening on your system? :(
Dec 14 2013
On Saturday, 14 December 2013 at 16:58:06 UTC, Marco Leise wrote:Am Sat, 14 Dec 2013 08:43:42 +0100 schrieb "Benji" <romanbeno273 gmail.com>:I have Debian now, and it works with dmd ~/main.d -L-lcurl :)On Saturday, 14 December 2013 at 00:15:30 UTC, Marco Leise wrote:So format c: it is ... If you are switching already, Gentoo (http://www.gentoo.org/main/en/about.xml) is also a viable option for D development (https://github.com/gentoo-dlang) especially if you want to try alternative compilers to DMD and plan to use libraries like GtkD and want them to work on top of all your installed D compilers. [Currently all D compilers produce libraries that are incompatible with those of the other compilers, so a library needs to be compiled and installed up to 6 times for all three compilers and 32/64 bit versions. So it is nice to get some assistance from the package manager here.]Am Fri, 13 Dec 2013 21:40:10 +0100 schrieb "Benji" <romanbeno273 gmail.com>:I plan to install Arch, so hope that will solve it :PI got two errors mentioned above at once.. :(What the heck is happening on your system? :(
Dec 15 2013
Am Sun, 15 Dec 2013 09:06:16 +0100 schrieb "Benji" <romanbeno273 gmail.com>:On Saturday, 14 December 2013 at 16:58:06 UTC, Marco Leise wrote:As it should. But I keep wondering why it didn't work on Ubuntu which is based on Debian. Oh well... :) -- MarcoAm Sat, 14 Dec 2013 08:43:42 +0100 schrieb "Benji" <romanbeno273 gmail.com>:I have Debian now, and it works with dmd ~/main.d -L-lcurl :)On Saturday, 14 December 2013 at 00:15:30 UTC, Marco Leise wrote:So format c: it is ... If you are switching already, Gentoo (http://www.gentoo.org/main/en/about.xml) is also a viable option for D development (https://github.com/gentoo-dlang) especially if you want to try alternative compilers to DMD and plan to use libraries like GtkD and want them to work on top of all your installed D compilers. [Currently all D compilers produce libraries that are incompatible with those of the other compilers, so a library needs to be compiled and installed up to 6 times for all three compilers and 32/64 bit versions. So it is nice to get some assistance from the package manager here.]Am Fri, 13 Dec 2013 21:40:10 +0100 schrieb "Benji" <romanbeno273 gmail.com>:I plan to install Arch, so hope that will solve it :PI got two errors mentioned above at once.. :(What the heck is happening on your system? :(
Dec 15 2013
On 15/12/13 14:27, Marco Leise wrote:As it should. But I keep wondering why it didn't work on Ubuntu which is based on Debian. Oh well... :)Forgot to copy phobos/etc to include/d2/etc ... ?
Dec 15 2013