digitalmars.D.bugs - Strange error with home-built phobos.lib
- Stewart Gordon <smjg_1998 yahoo.com> Jul 18 2005
- Thomas Kuehne <thomas-dloop kuehne.this-is-spam.cn> Jul 19 2005
- Stewart Gordon <smjg_1998 yahoo.com> Jul 20 2005
- Dave <Dave_member pathlink.com> Jul 20 2005
- "Walter" <newshound digitalmars.com> Jul 23 2005
- Stewart Gordon <smjg_1998 yahoo.com> Jul 25 2005
Using DMD 0.128, Windows 98SE. I just tried building Phobos from the sources in one of my usual bug fix attempts. However, when this is done, I get a strange error. ---------- E:\DMD\BIN\..\..\dm\bin\link.exe unittest,,,user32+kernel32/co/noi; sc unittest.obj -g link unittest,,,user32+kernel32/co/noi; unittest test1 test1 test2 hello world! re = 2, im = 1 hello world args.length = 1 args[0] = 'E:\DMD\SRC\PHOBOS\UNITTEST.EXE' Success !Error: Thread error: wait on self ** error 1 ** deleting unittest ---------- The line below "Success" appears on exit from any program linked with the home-built phobos.lib. Using the phobos.lib supplied in the DMD package doesn't show the problem. Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Jul 18 2005
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stewart Gordon schrieb am Mon, 18 Jul 2005 10:37:57 +0100:Using DMD 0.128, Windows 98SE. I just tried building Phobos from the sources in one of my usual bug fix attempts. However, when this is done, I get a strange error. ---------- E:\DMD\BIN\..\..\dm\bin\link.exe unittest,,,user32+kernel32/co/noi; sc unittest.obj -g link unittest,,,user32+kernel32/co/noi; unittest test1 test1 test2 hello world! re = 2, im = 1 hello world args.length = 1 args[0] = 'E:\DMD\SRC\PHOBOS\UNITTEST.EXE' Success !Error: Thread error: wait on self ** error 1 ** deleting unittest ---------- The line below "Success" appears on exit from any program linked with the home-built phobos.lib. Using the phobos.lib supplied in the DMD package doesn't show the problem.
Could you describe your changes to Phobos or even better post a diff/patch file? Does the same happen when you try to use your modified libphobos under Linux? Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFC3eaM3w+/yD4P9tIRAmm5AKCEn33uti++yn4gbMKN7iyoKRgYtACfToD6 07gx7VqvkDWUPCcKzl+JEnw= =2phU -----END PGP SIGNATURE-----
Jul 19 2005
Thomas Kuehne wrote: <snip>Could you describe your changes to Phobos or even better post a diff/patch file?
I simply tried adding the first fix described here digitalmars.D.bugs/4555 but even after I changed it back it still happened.Does the same happen when you try to use your modified libphobos under Linux?
No idea. Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Jul 20 2005
In article <dbl4e4$1tjs$1 digitaldaemon.com>, Stewart Gordon says...Thomas Kuehne wrote: <snip>Could you describe your changes to Phobos or even better post a diff/patch file?
I simply tried adding the first fix described here digitalmars.D.bugs/4555 but even after I changed it back it still happened.Does the same happen when you try to use your modified libphobos under Linux?
No idea. Stewart.
I rebuilt, ran unittest, and compiled some apps. with DMD (and the newly built lib.) on both Linux and WinXP and all worked Ok for me.-- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Jul 20 2005
Try doing a "make clean" before rebuilding.
Jul 23 2005
Walter wrote:Try doing a "make clean" before rebuilding.
I recall trying that, but it kept crashing for some strange reason. So I ended up manually deleting the .obj files except for minit.obj. (I'm not sure if I have a compatible assembler on my system....) Another bug I noticed is that the minit.obj file in the DMD package is a few seconds older than minit.asm. Stewart. -- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s:- a->--- UB P+ L E W++ N+++ o K- w++ O? M V? PS- PE- Y? PGP- t- 5? X? R b DI? D G e++>++++ h-- r-- !y ------END GEEK CODE BLOCK------ My e-mail is valid but not my primary mailbox. Please keep replies on the 'group where everyone may benefit.
Jul 25 2005









Dave <Dave_member pathlink.com> 