www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10729] New: Some exception symbols undefined

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729

           Summary: Some exception symbols undefined
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: andre lc.vlsm.org



PDT ---
Created an attachment (id=1239)
A simple "hello world" code

As usual, I updated dmd, druntime, and phobos to the latest git version.
Then I tried to build a hello world code (as attached).

I got these errors:

C:\Users\CSL-NB-064\Codes\D>dmd hello.d
OPTLINK (R) for Win32  Release 8.00.5
Copyright (C) Digital Mars 1989-2009  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
hello.obj(hello)
 Error 42: Symbol Undefined
_D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaAyakZC3std4conv21ConvOverflowException
hello.obj(hello)
 Error 42: Symbol Undefined
_D3std4conv13ConvException6__ctorMFNaNbNfAyaAyakZC3std4conv13ConvException
hello.obj(hello)
 Error 42: Symbol Undefined
_D3std6format15FormatException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std6format15FormatE
xception
hello.obj(hello)
 Error 42: Symbol Undefined
_D3std3utf12UTFException6__ctorMFNaNfAyakAyakC6object9ThrowableZC3std3utf12UTFException
--- errorlevel 4

I didn't use any switch, just: dmd hello.d

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 30 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729


Nils <nilsbossung googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nilsbossung googlemail.com
           Severity|critical                    |regression


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jul 31 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729





 I got these errors:
 
 C:\Users\CSL-NB-064\Codes\D>dmd hello.d
 OPTLINK (R) for Win32  Release 8.00.5
 Copyright (C) Digital Mars 1989-2009  All rights reserved.
 http://www.digitalmars.com/ctg/optlink.html
 hello.obj(hello)
  Error 42: Symbol Undefined
 _D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaAyakZC3std4conv21ConvOverflowException
 hello.obj(hello)
  Error 42: Symbol Undefined
 _D3std4conv13ConvException6__ctorMFNaNbNfAyaAyakZC3std4conv13ConvException
 hello.obj(hello)
  Error 42: Symbol Undefined
 _D3std6format15FormatException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std6format15FormatE
 xception
 hello.obj(hello)
  Error 42: Symbol Undefined
 _D3std3utf12UTFException6__ctorMFNaNfAyakAyakC6object9ThrowableZC3std3utf12UTFException
 --- errorlevel 4
You would need rebuild Phobos library, because some Exception class ctors are now annotated with pure and safe attributes in git head. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 06 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




PDT ---
 You would need rebuild Phobos library, because some Exception class ctors are
 now annotated with pure and  safe attributes in git head.
OK, I just fetch the latest dmd, druntime & phobos source code. After rebuilding all of them, I tried to compile the same code: C:\Users\CSL-NB-064\Codes\D>dmd hello.d OPTLINK (R) for Win32 Release 8.00.5 Copyright (C) Digital Mars 1989-2009 All rights reserved. http://www.digitalmars.com/ctg/optlink.html hello.obj(hello) Error 42: Symbol Undefined _D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaAyakZC3std4conv21ConvOverflowException hello.obj(hello) Error 42: Symbol Undefined _D3std4conv13ConvException6__ctorMFNaNbNfAyaAyakZC3std4conv13ConvException hello.obj(hello) Error 42: Symbol Undefined _D3std6format15FormatException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std6format15FormatE xception hello.obj(hello) Error 42: Symbol Undefined _D3std3utf12UTFException6__ctorMFNaNfAyakAyakC6object9ThrowableZC3std3utf12UTFException hello.obj(hello) Error 42: Symbol Undefined _D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array5emptyMxFNaNbNdNeZb hello.obj(hello) Error 42: Symbol Undefined _D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array6__dtorMFNbNeZv hello.obj(hello) Error 42: Symbol Undefined _D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array5emptyMxFNaNbNdNeZb hello.obj(hello) Error 42: Symbol Undefined _D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array6__dtorMFNaNbNeZv --- errorlevel 8 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 10 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729





 OK, I just fetch the latest dmd, druntime & phobos source code. After
 rebuilding all of them, I tried to compile the same code:
[snip] Maybe you are still link old phobos.lib (2.063 or earlier). After git head rebuild, you would forgot to place the generated phobos.lib (in dmd2\src\phobos\) on correct lib path (dmd2\windows\lib\phobos.lib by default). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 10 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




PDT ---
 Maybe you are still link old phobos.lib (2.063 or earlier). After git head
 rebuild, you would forgot to place the generated phobos.lib (in
 dmd2\src\phobos\) on correct lib path (dmd2\windows\lib\phobos.lib by default).
I don't think so. Every time I finished rebuilding druntime and phobos, I always copy the new druntime.lib and phobos.lib into my dmd directory, replacing the old ones. Anyway, I just repeated the compilation process, just to make sure. Here's the screencast of it: http://youtu.be/Fu1P0HGkZXA -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 12 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729





 Maybe you are still link old phobos.lib (2.063 or earlier). After git head
 rebuild, you would forgot to place the generated phobos.lib (in
 dmd2\src\phobos\) on correct lib path (dmd2\windows\lib\phobos.lib by default).
I don't think so. Every time I finished rebuilding druntime and phobos, I always copy the new druntime.lib and phobos.lib into my dmd directory, replacing the old ones. Anyway, I just repeated the compilation process, just to make sure. Here's the screencast of it: http://youtu.be/Fu1P0HGkZXA
Hmm... As far as I see the video, the operation would have no critical problem. But I have still some questions. 1. Do you really use the recompiled and copied dmd.exe in C:\dmd\bin ? You set the PATH=%PATH%;C:\dm\bin;C:\dmd\bin first, but I'm not sure that the previous PATH does not contain wrong directory path. 2. Do you use intended sc.ini file? Read http://dlang.org/dmd-windows.html#sc_ini and check related paths. Honestly I cannot reproduce the issue in my local environment (I'm using Windows 7). It seems to me that the issue is in your development environment. Sorry for my poor reply... -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 12 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729





different (four std.uni symbols added).

And, few days ago std.uni module is drastically improved by
https://github.com/D-Programming-Language/phobos/pull/1347 .

Looks to me that your environment does not seem to follow it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 12 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




PDT ---
 1. Do you really use the recompiled and copied dmd.exe in C:\dmd\bin ?
    You set the PATH=%PATH%;C:\dm\bin;C:\dmd\bin first, but I'm not sure that
 the previous PATH does not contain wrong directory path.
This is the default content of my PATH: C:\Program Files\Haskell\bin;C:\Haskell Platform\2013.2.0.0\lib\extralibs\bin;C:\Haskell Platform\2013.2.0.0\bin;C:\Program Files\Broadcom\Broadcom 802.11\Driver;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\GNU\GnuPG;C:\sbt\;C:\Program Files\Microsoft SDKs\TypeScript\0.8.1.1\;C:\Program Files\nodejs;c:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Python27;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\GNU\GnuPG\pub;C:\Program Files\Flash Magic;C:\Program Files\TortoiseHg\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.7.0_25\bin;C:\Haskell Platform\2013.2.0.0\mingw\bin;C:\Users\CSL-NB-064\AppData\Roaming\cabal\bin;C:\Vim\vim74;C:\scala\bin;C:\mingw\bin;C:\FASM;C:\Users\CSL-NB-064\AppData\Local\Pandoc\;C:\texlive\2013\bin\win32;"C:\Program Files\Git\bin" As you can see, the path to Digital Mars C and D compiler are not included.
 2. Do you use intended sc.ini file?
    Read http://dlang.org/dmd-windows.html#sc_ini and check related paths.
Here's my sc.ini : [Environment] LIB="C:\dmd\lib" DFLAGS="-IC:\dmd\import" "-IC:\dmd\phobos" LINKCMD=link.exe -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




Looks not bad to me. Strange...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




---

 Maybe you are still link old phobos.lib (2.063 or earlier). After git head
 rebuild, you would forgot to place the generated phobos.lib (in
 dmd2\src\phobos\) on correct lib path (dmd2\windows\lib\phobos.lib by default).
I don't think so. Every time I finished rebuilding druntime and phobos, I always copy the new druntime.lib and phobos.lib into my dmd directory, replacing the old ones. Anyway, I just repeated the compilation process, just to make sure. Here's the screencast of it: http://youtu.be/Fu1P0HGkZXA
In the video, you don't copy phobos.lib over: http://www.youtube.com/watch?v=Fu1P0HGkZXA&t=1m56s -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




---

 In the video, you don't copy phobos.lib over:
 http://www.youtube.com/watch?v=Fu1P0HGkZXA&t=1m56s
Forget about that, I got confused. You're doing make, make clean, make, copy. So, in the end you should be fine. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




PDT ---
 It seems to me that the issue is in your development environment.
 Sorry for my poor reply...
If this is the case then I guess the issue can be quite difficult to trace. Hmmm.. maybe you can give me some points to check regarding of my environment, so we can find out what the differences are between mine and yours, and hopefully one of them is the culprit? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 14 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729


Maxim Fomin <maxim maxim-fomin.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |maxim maxim-fomin.ru



---
One way to test the issue is to compile dmd, druntime, phobos and hello object
file in problematic environment and attach them here to test in working
environments. If hello program is linkable and runnable in others environments,
then problem is with your setup.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 14 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




PDT ---

 One way to test the issue is to compile dmd, druntime, phobos and hello object
 file in problematic environment and attach them here to test in working
 environments. If hello program is linkable and runnable in others environments,
 then problem is with your setup.
I decided to wipe out dmd, druntime, and phobos directories and rebuild them. While building phobos, I got this: Error: cannot find source code for runtime library file 'object.d' dmd might not be correctly installed. Run 'dmd -man' for installation instructions. Specify path to file 'object.d' with -I switch I could find both object.di and object_.d in druntime directory, but not object.d -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




---


 One way to test the issue is to compile dmd, druntime, phobos and hello object
 file in problematic environment and attach them here to test in working
 environments. If hello program is linkable and runnable in others environments,
 then problem is with your setup.
I decided to wipe out dmd, druntime, and phobos directories and rebuild them. While building phobos, I got this: Error: cannot find source code for runtime library file 'object.d' dmd might not be correctly installed. Run 'dmd -man' for installation instructions.
It seems that you indeed linked to old druntime.
 Specify path to file 'object.d' with -I switch
 
 I could find both object.di and object_.d in druntime directory, but not
 object.d
It should be object_.d. You haven't setup path to druntime correctly. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




PDT ---
 It should be object_.d. You haven't setup path to druntime correctly.
I just realised that sc.ini is missing from dmd's bin directory. So I copied that file, and rebuild druntime and phobos once again. Of course I copied the new druntime and phobos directories, as well as druntime.lib and phobos.lib into dmd directory. Still failed to build even the simple hello world. Anyway, this is my latest dmd build. Please give it a try. Maybe one of you could find if I did something wrong with it. http://www.mediafire.com/?z8gbeplhwumcogd -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729


Nick Sabalausky <cbkbbejeap mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbkbbejeap mailinator.com



15:43:25 PDT ---
I seem to be having the same problem. Master works fine for me on OSX 10.7,
FreeBSD 9.1 (32-bit OS), and Debian 6 (both 32-bit OS and 64-bit OS). But on
Win7 (64-bit OS) I get the same problem as Andre:

http://forum.dlang.org/thread/20130829210040.00002184 unknown
http://forum.dlang.org/thread/20130903205311.00003c40 unknown

To see if you can reproduce it, you can compile this script:

https://github.com/Abscissa/installer/blob/create-zip/create_dmd_release/create_dmd_release.d

...then remove all other DMDs from the path, and then run the script. For the
purposes of this bug report, you can simply run the script like this:

mkdir junk
create_dmd_release master --extras=junk --only-32 -v

On other 32-bit-capable OSes that results in a working DMD toolchain. But (at
least for me, I don't know about other people) on Windows, it fails the first
time the newly-built phobos is used - when trying to build chmgen. You can then
try to use the newly-built DMD toolchain (in [your temp
dir]/.create_dmd_release/dmd/src), and it will fail to link even a basic hello
world. But on other OSes it works fine, and using "v2.063.2" instead of
"master" also results in a working DMD/phobos.

Just an idea: It is possible that maybe this issue *only* occurs on fresh
checkouts/builds of DMD/druntime/phobos? Perhaps there's something incorrect or
non-standard on the Windows systems where it *is* working, and that's the
reason it's not failing for some people? Maybe it would start failing on those
systems when using a completely fresh and isolated checkout/build? Just a crazy
idea.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 09 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




PDT ---
I just pulled the latest updates and rebuild them again.
The canonical "hello world" program now only yields 1 error:
C:\Users\CSL-NB-064\Codes\D>dmd hello.d
OPTLINK (R) for Win32  Release 8.00.13
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
hello.obj(hello)
 Error 42: Symbol Undefined
_D3std9exception14__T7enforceTbZ7enforceFNaNfbLAxaAyakZb
--- errorlevel 1

Not surprisingly, more complex program will yield more errors :D


 I seem to be having the same problem. Master works fine for me on OSX 10.7,
 FreeBSD 9.1 (32-bit OS), and Debian 6 (both 32-bit OS and 64-bit OS). But on
 Win7 (64-bit OS) I get the same problem as Andre:
 
 http://forum.dlang.org/thread/20130829210040.00002184 unknown
 http://forum.dlang.org/thread/20130903205311.00003c40 unknown
 
 To see if you can reproduce it, you can compile this script:
 
 https://github.com/Abscissa/installer/blob/create-zip/create_dmd_release/create_dmd_release.d
 
The script could not be compiled: C:\Users\CSL-NB-064\Desktop\blah>dmd create_dmd_release.d OPTLINK (R) for Win32 Release 8.00.13 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5array20__T8appenderTAyaTyaZ8appenderFNaNbNfZS3std5array17__T8AppenderTAyaZ8Appender create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std9algorithm36__T4findVAyaa6_61203d3d2062TAyaTAyaZ4findFNaNbAyaAyaZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std9exception14__T7enforceTbZ7enforceFNaNfbLAxaAyakZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4file6existsFNexAaZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5array13__T5frontTyaZ5frontFNaNdNfAyaZw create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv11__T2toTAyaZ11__T2toTAyaZ2toFNaNbNfAyaZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5range52__T3putTS3std5array17__T8AppenderTAyaZ8AppenderTAyaZ3putFNaNbNfKS3std5array17_ _T8AppenderTAyaZ8AppenderAyaZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std6string15StringException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std6string15StringE xception create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std3utf12UTFException6__ctorMFNaNfAyakAyakC6object9ThrowableZC3std3utf12UTFException create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4file7tempDirFNeZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std9algorithm12__T3minTkTkZ3minFNaNbNfkkZk create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv10parseErrorFNaNfLAyaAyakZC3std4conv13ConvException create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std9exception44__T9enforceExTC3std6format15FormatExceptionZ16__T9enforceExTbZ9enforceExFN aNfbLAyaAyakZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5range51__T3putTS3std5array17__T8AppenderTAyaZ8AppenderTxaZ3putFNaNbNfKS3std5array17__ T8AppenderTAyaZ8AppenderxaZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std6format62__T14ÇåìUnsignedTSÇäó5array17Çâí8AppenderTAyaZÇèÄaZÇÉ+FNaNbNfǺ-mKÇà®üçî18üäî 0FÇàìSpecÇäÓÇïÅkbZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std7process11environment7opIndexFNfxAaZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std7process11environment3getFNfxAaAyaZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv11__T2toTAyaZ9__T2toTiZ2toFNaNfiZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv11__T2toTAyaZ9__T2toTkZ2toFNaNfkZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode6pairedMxFNdZS3std5regex8Bytecode create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode7isStartMxFNdZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode11indexOfPairMxFkZk create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode6lengthMxFNdZk create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode6isAtomMxFNdZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode5isEndMxFNdZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode4codeMxFNdZE3std5regex2IR create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode7fromRawFkZS3std5regex8Bytecode create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode14setBackrefenceMFZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode4dataMxFNdZk create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode7hotspotMxFNdZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std7process12executeShellFNexAaxHAyaAyaE3std7process6ConfigkZS3std7process133__T11execute Impl820EA4D0911E9A98FB8E8770F2B3699C create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv21__T4textTAyaTAyaTAyaZ4textFNaNbNfAyaAyaAyaZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv13ConvException6__ctorMFNaNbNfAyaAyakZC3std4conv13ConvException create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv19__T4textTAyaTwTAyaZ4textFNaNfAyawAyaZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaAyakZC3std4conv21ConvOverflowException create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode8sequenceMxFNdZk create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex11startOfLineFwbZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std8internal3uni22__T13CodepointTrieVi8Z13CodepointTrie7opIndexMxFNaNbNewZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5array13__T5frontTxaZ5frontFNaNdNfAxaZw create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode8localRefMxFNdZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex9endOfLineFwbZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8wordTrieFNdZS3std8internal3uni22__T13CodepointTrieVi8Z13CodepointTrie create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std8internal3uni8Interval6__ctorMFNcNfwwZS3std8internal3uni8Interval create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv11__T2toTAyaZ9__T2toTaZ2toFNaNfaZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5range50__T3putTS3std5array17__T8AppenderTAyaZ8AppenderTaZ3putFNaNbNfKS3std5array17__T 8AppenderTAyaZ8AppenderaZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std6format18__T10FormatSpecTaZ10FormatSpec6fillUpMFNaNfZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNbNcNfxAaZS3std6format18__T10FormatS pecTaZ10FormatSpec create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv9__T2toTiZ9__T2toTiZ2toFNaNbNfiZi create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std6format15FormatException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std6format15FormatE xception create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std6format14__T9getNthIntZ9getNthIntFNaNfkZi create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv17__T4textTAyaTAxaZ4textFNaNfAyaAxaZAya create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex13wordCharacterFNdZS3std8internal3uni12CodepointSet create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode11setLocalRefMFZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std8internal3uni22__T13CodepoÇâÖTrieVi8ZÇÅô11__xopEqualsFNfKxSÇ©-Ç++Zb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode6__ctorMFNcE3std5regex2IRkkZS3std5regex8Bytecode create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode6__ctorMFNcE3std5regex2IRkZS3std5regex8Bytecode create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std9exception14__T7enforceTbZ7enforceFNaNfbLC6object9ThrowableZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex8Bytecode12pairedLengthMxFNdZk create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5regex10NamedGroup11__xopEqualsFKxS3std5regex10NamedGroupKxS3std5regex10NamedGroupZb create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std6format62__T11ÇåìValueTSÇäƒ5array17Çâ×8AppenderTAyaZÇèÄxhTaZÇì+FNaNfǺ+xhKÇà¬üçê18üäê0 FÇàìSpecÇä_ÇïÅZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5array20__T8appenderTAxaTxaZ8appenderFNaNbNfZS3std5array17__T8AppenderTAxaZ8Appender create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5array16__T8popFrontTxaZ8popFrontFNaNbNeKAxaZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5array17__T8AppenderTAxaZ8Appender10__T3putTaZ3putMFNaNbNfaZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std6format62__T11ÇåìValueTSÇäƒ5array17Çâ×8AppenderTAyaZÇèÄxmTaZÇì+FNaNfǺ+xmKÇà¬üçê18üäê0 FÇàìSpecÇä_ÇïÅZv create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std4conv9__T2toTiZ10__T2toTxkZ2toFNaNfxkZi create_dmd_release.obj(create_dmd_release) Error 42: Symbol Undefined _D3std5stdio4File17lockingTextWriterMFZS3std5stdio4File17LockingTextWriter --- errorlevel 66 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




04:28:19 PDT ---

 
 The script could not be compiled:
Compile it with a working DMD, like v2.063.2. Then run it with mkdir junk create_dmd_release master --extras=junk --only-32 -v It'll clone dmd/phobos/tools/etc master to a temp dir then try to compile them. I imagine you'll get the same result I did since you're having trouble getting a working dmd/phobos from master, too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




PDT ---

 mkdir junk
 create_dmd_release master --extras=junk --only-32 -v
 
 It'll clone dmd/phobos/tools/etc master to a temp dir then try to compile them.
 I imagine you'll get the same result I did since you're having trouble getting
 a working dmd/phobos from master, too.
Failed in building chmgen Running: make MODEL=32 chm DMD=../dmd/src/dmd DOCSRC=../dlang.org DOCDIR=../web/phobos-prerelease -f win32.mak ../dmd/src/dmd chmgen OPTLINK (R) for Win32 Release 8.00.13 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std4conv11__T2toTAyaZ11__T2toTAyaZ2toFNaNbNfAyaZAya chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std5array20__T8appenderTAyaTyaZ8appenderFNaNbNfZS3std5array17__T8AppenderTAyaZ8Appender chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std5range50__T3putTS3std5array17__T8AppenderTAyaZ8AppenderTaZ3putFNaNbNfKS3std5array17__T 8AppenderTAyaZ8AppenderaZv chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std5array13__T5frontTyaZ5frontFNaNdNfAyaZw chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std4conv11__T2toTAyaZ9__T2toTaZ2toFNaNfaZAya chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std6format61__T11ÇåìValueTSÇäƒ5array17Çâ×8AppenderTAyaZÇèÄwTaZÇì¦FNaNfǺ¥wKÇà®üçå18üäå0FÇ àìSpecÇä¦ÇïÅZv chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std6format18__T10FormatSpecTaZ10FormatSpec6fillUpMFNaNfZv chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std5range52__T3putTS3std5array17__T8AppenderTAyaZ8AppenderTAyaZ3putFNaNbNfKS3std5array17_ _T8AppenderTAyaZ8AppenderAyaZv chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std6format18__T10FormatSpecTaZ10FormatSpec6__ctorMFNaNbNcNfxAaZS3std6format18__T10FormatS pecTaZ10FormatSpec chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std4conv11__T2toTAyaZ9__T2toTkZ2toFNaNfkZAya chmgen.obj(chmgen) Error 42: Symbol Undefined _D3std9algorithm36__T4findVAyaa6_61203d3d2062TAyaTAyaZ4findFNaNbAyaAyaZAya chmgen.obj(chmgen) .. .. .. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




14:24:43 PDT ---

 
 Failed in building chmgen
 
Yea, during linking of chmgen, same as me. The chmgen is the first tool it tries to compile using the newly-built DMD/druntime/phobos, so it looks to be the same problem you're already having. (If you then use [your temp dir]/.create_dmd_release/dmd/src/dmd to build anything else, like a hello world, then that will probably fail to link too, like it does for me.) I would be very interested to see the results of that tool from one of the people who *isn't* having your original problem. Ex, if compiling DMD/phobos master on Windows is producing a working DMD/phobos for Kenji Hara, then does my script also work for him? Or would it successfully reproduce the same problem we're having? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 13 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




23:39:29 PDT ---
Andre: Rainer mentioned something in
<http://forum.dlang.org/post/l10vtc$76o$1 digitalmars.com> that solved my
problem. Turns out that optlink actually reads sc.ini to get the LIB var.

Looking at the dmd zip you posted I'm pretty sure you're having the same
problem. Your "dmd/bin" doesn't include link.exe (or sc.ini for that matter,
but that's not the main issue here). Because of that, DMD is probably invoking
a different optlink somewhere else on your PATH. That OPTLINK likely has it's
*OWN* sc.ini which it read instead of yours, and therefore uses the wrong
phobos.lib (or none at all).

So stick a correct sc.ici *and* OPTLINK into the same dir as dmd.exe (and make
sure you don't have another dmd on the PATH), and it should work fine.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




23:44:18 PDT ---

 (or sc.ini for that matter, but that's not the main issue here)
Oh I see you DO have an sc.ini in there, and it does look right. So copy OPTLINK into that same dir so OPLINK reads *that* sc.ini, and you should be good. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




23:45:33 PDT ---


 (or sc.ini for that matter, but that's not the main issue here)
Oh I see you DO have an sc.ini in there, and it does look right. So copy OPTLINK into that same dir so OPLINK reads *that* sc.ini, and you should be good.
Also, copy all of the *other* LIB files from an existing DMD into your "dmd/lib". -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729




23:46:53 PDT ---
BTW, you don't need to copy druntime.lib because it's already included in
phobos.lib.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 19 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10729


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |WORKSFORME



14:40:09 PDT ---
This appears to be a user configuration error/misunderstanding. I'm going to
mark it as WORKSFORME. If you're able to find a specific dmd bug, please
reopen.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 28 2013