September 13, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10729



--- Comment #19 from Andre Tampubolon <andre@lc.vlsm.org> 2013-09-13 08:41:48 PDT ---
(In reply to comment #18)
> 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: -------
September 13, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10729



--- Comment #20 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2013-09-13 14:24:43 PDT ---
(In reply to comment #19)
> 
> 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: -------
September 20, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10729



--- Comment #21 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2013-09-19 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: -------
September 20, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10729



--- Comment #22 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2013-09-19 23:44:18 PDT ---
(In reply to comment #21)
> (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: -------
September 20, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10729



--- Comment #23 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2013-09-19 23:45:33 PDT ---
(In reply to comment #22)
> (In reply to comment #21)
> > (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: -------
September 20, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10729



--- Comment #24 from Nick Sabalausky <cbkbbejeap@mailinator.com> 2013-09-19 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: -------
September 28, 2013
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


--- Comment #25 from Walter Bright <bugzilla@digitalmars.com> 2013-09-28 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: -------
1 2 3
Next ›   Last »