www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Just me? Compiling chmgen head on DMD master vs 2.063.2

reply Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
Can anyone see whether or not they're able to reproduce this, because
I'm not sure if it's some weird bug or just something wrong on my
system:

On windows, compiling the latest chmgen.d with DMD v2.063.2 works fine
("dmd chmgen.d"). But doing exactly the same with github master of
dmd/druntime/phobos results in several missing symbols during linking:

Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
chmgen.obj(chmgen) 
 Error 42: Symbol Undefined
_D3std3utf12UTFException6__ctorMFNaNfAyakAyakC6object9ThrowableZC3std3utf12UTFException
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std6format15FormatException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std6format15FormatException
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std4conv13ConvException6__ctorMFNaNbNfAyaAyakZC3std4conv13ConvException
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std3uni12toLowerIndexFNaNbNewZt chmgen.obj(chmgen) 
 Error 42: Symbol Undefined _D3std3uni10toLowerTabFNaNbNekZw
chmgen.obj(chmgen) 
 Error 42: Symbol Undefined _D3std4file6existsFNexAaZb
chmgen.obj(chmgen) 
 Error 42: Symbol Undefined
_D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaAyakZC3std4conv21ConvOverflowException
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array6__dtorMFNbNeZv
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array5emptyMxFNaNbNdNeZb
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array6__dtorMFNaNbNeZv
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array5emptyMxFNaNbNdNeZb
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std5regex10NamedGroup11__xopEqualsFNfKxS3std5regex10NamedGroupKxS3std5regex10NamedGroupZb
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std5stdio4File17lockingTextWriterMFZS3std5stdio4File17LockingTextWriter
chmgen.obj(chmgen) Error 42: Symbol Undefined
_D3std3net4curl13CurlException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std3net4curl13CurlException
--- errorlevel 14
Aug 29 2013
next sibling parent Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On Thu, 29 Aug 2013 21:00:40 -0400
Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> wrote:

 Can anyone see whether or not they're able to reproduce this, because
 I'm not sure if it's some weird bug or just something wrong on my
 system:
 
 On windows, compiling the latest chmgen.d with DMD v2.063.2 works fine
 ("dmd chmgen.d"). But doing exactly the same with github master of
 dmd/druntime/phobos results in several missing symbols during linking:
 
 Copyright (C) Digital Mars 1989-2010  All rights reserved.
 http://www.digitalmars.com/ctg/optlink.html
 chmgen.obj(chmgen) 
  Error 42: Symbol Undefined
 _D3std3utf12UTFException6__ctorMFNaNfAyakAyakC6object9ThrowableZC3std3utf12UTFException
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std6format15FormatException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std6format15FormatException
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std4conv13ConvException6__ctorMFNaNbNfAyaAyakZC3std4conv13ConvException
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std3uni12toLowerIndexFNaNbNewZt chmgen.obj(chmgen) 
  Error 42: Symbol Undefined _D3std3uni10toLowerTabFNaNbNekZw
 chmgen.obj(chmgen) 
  Error 42: Symbol Undefined _D3std4file6existsFNexAaZb
 chmgen.obj(chmgen) 
  Error 42: Symbol Undefined
 _D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaAyakZC3std4conv21ConvOverflowException
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array6__dtorMFNbNeZv
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array5emptyMxFNaNbNdNeZb
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array6__dtorMFNaNbNeZv
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array5emptyMxFNaNbNdNeZb
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std5regex10NamedGroup11__xopEqualsFNfKxS3std5regex10NamedGroupKxS3std5regex10NamedGroupZb
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std5stdio4File17lockingTextWriterMFZS3std5stdio4File17LockingTextWriter
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std3net4curl13CurlException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std3net4curl13CurlException
 --- errorlevel 14
 

Argh, apparently it has nothing to do with chmgen as I get strange Symbol Undefined's using DMD master on other stuff too...but only on Windows...
Aug 29 2013
prev sibling next sibling parent Kenji Hara <k.hara.pg gmail.com> writes:
--089e016354b64f96c304e5210362
Content-Type: text/plain; charset=UTF-8

Some Exception class constructor signatures are changed in 2.064 dev.
I think you need to rebuild Phobos library and link the generated
phobos.lib.

Kenji Hara

2013/8/30 Nick Sabalausky <SeeWebsiteToContactMe semitwist.com>

 Can anyone see whether or not they're able to reproduce this, because
 I'm not sure if it's some weird bug or just something wrong on my
 system:

 On windows, compiling the latest chmgen.d with DMD v2.063.2 works fine
 ("dmd chmgen.d"). But doing exactly the same with github master of
 dmd/druntime/phobos results in several missing symbols during linking:

 Copyright (C) Digital Mars 1989-2010  All rights reserved.
 http://www.digitalmars.com/ctg/optlink.html
 chmgen.obj(chmgen)
  Error 42: Symbol Undefined

 _D3std3utf12UTFException6__ctorMFNaNfAyakAyakC6object9ThrowableZC3std3utf12UTFException
 chmgen.obj(chmgen) Error 42: Symbol Undefined

 _D3std6format15FormatException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std6format15FormatException
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std4conv13ConvException6__ctorMFNaNbNfAyaAyakZC3std4conv13ConvException
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std3uni12toLowerIndexFNaNbNewZt chmgen.obj(chmgen)
  Error 42: Symbol Undefined _D3std3uni10toLowerTabFNaNbNekZw
 chmgen.obj(chmgen)
  Error 42: Symbol Undefined _D3std4file6existsFNexAaZb
 chmgen.obj(chmgen)
  Error 42: Symbol Undefined

 _D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaAyakZC3std4conv21ConvOverflowException
 chmgen.obj(chmgen) Error 42: Symbol Undefined

 _D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array6__dtorMFNbNeZv
 chmgen.obj(chmgen) Error 42: Symbol Undefined

 _D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array5emptyMxFNaNbNdNeZb
 chmgen.obj(chmgen) Error 42: Symbol Undefined

 _D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array6__dtorMFNaNbNeZv
 chmgen.obj(chmgen) Error 42: Symbol Undefined

 _D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array5emptyMxFNaNbNdNeZb
 chmgen.obj(chmgen) Error 42: Symbol Undefined

 _D3std5regex10NamedGroup11__xopEqualsFNfKxS3std5regex10NamedGroupKxS3std5regex10NamedGroupZb
 chmgen.obj(chmgen) Error 42: Symbol Undefined
 _D3std5stdio4File17lockingTextWriterMFZS3std5stdio4File17LockingTextWriter
 chmgen.obj(chmgen) Error 42: Symbol Undefined

 _D3std3net4curl13CurlException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3std3net4curl13CurlException
 --- errorlevel 14

--089e016354b64f96c304e5210362 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Some Exception class constructor signatures are changed in= 2.064 dev.<div class=3D"gmail_extra">I think you need to rebuild Phobos li= brary and link the generated phobos.lib.</div><div class=3D"gmail_extra"><b= r></div> <div class=3D"gmail_extra">Kenji Hara<br><br><div class=3D"gmail_quote">201= 3/8/30 Nick Sabalausky <span dir=3D"ltr">&lt;<a href=3D"mailto:SeeWebsiteTo= ContactMe semitwist.com" target=3D"_blank">SeeWebsiteToContactMe semitwist.= com</a>&gt;</span><br> <blockquote class=3D"gmail_quote" style=3D"margin-top:0px;margin-right:0px;= margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color= :rgb(204,204,204);border-left-style:solid;padding-left:1ex">Can anyone see = whether or not they&#39;re able to reproduce this, because<br> I&#39;m not sure if it&#39;s some weird bug or just something wrong on my<b= r> system:<br> <br> On windows, compiling the latest chmgen.d with DMD v2.063.2 works fine<br> (&quot;dmd chmgen.d&quot;). But doing exactly the same with github master o= f<br> dmd/druntime/phobos results in several missing symbols during linking:<br> <br> Copyright (C) Digital Mars 1989-2010 =C2=A0All rights reserved.<br> <a href=3D"http://www.digitalmars.com/ctg/optlink.html" target=3D"_blank">h= ttp://www.digitalmars.com/ctg/optlink.html</a><br> chmgen.obj(chmgen)<br> =C2=A0Error 42: Symbol Undefined<br> _D3std3utf12UTFException6__ctorMFNaNfAyakAyakC6object9ThrowableZC3std3utf12= UTFException<br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std6format15FormatException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3st= d6format15FormatException<br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std4conv13ConvException6__ctorMFNaNbNfAyaAyakZC3std4conv13ConvException<= br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std3uni12toLowerIndexFNaNbNewZt chmgen.obj(chmgen)<br> =C2=A0Error 42: Symbol Undefined _D3std3uni10toLowerTabFNaNbNekZw<br> chmgen.obj(chmgen)<br> =C2=A0Error 42: Symbol Undefined _D3std4file6existsFNexAaZb<br> chmgen.obj(chmgen)<br> =C2=A0Error 42: Symbol Undefined<br> _D3std4conv21ConvOverflowException6__ctorMFNaNbNfAyaAyakZC3std4conv21ConvOv= erflowException<br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array6__dtorM= FNbNeZv<br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std3uni42__T11Uint24ArrayTS3std3uni13ReallocPolicyZ11Uint24Array5emptyMx= FNaNbNdNeZb<br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array6__dtorMFNaNbN= eZv<br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std3uni36__T11Uint24ArrayTS3std3uni8GcPolicyZ11Uint24Array5emptyMxFNaNbN= dNeZb<br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std5regex10NamedGroup11__xopEqualsFNfKxS3std5regex10NamedGroupKxS3std5re= gex10NamedGroupZb<br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std5stdio4File17lockingTextWriterMFZS3std5stdio4File17LockingTextWriter<= br> chmgen.obj(chmgen) Error 42: Symbol Undefined<br> _D3std3net4curl13CurlException6__ctorMFNaNbNfAyaAyakC6object9ThrowableZC3st= d3net4curl13CurlException<br> --- errorlevel 14<br> <br> </blockquote></div><br></div></div> --089e016354b64f96c304e5210362--
Aug 29 2013
prev sibling next sibling parent Nick Sabalausky <SeeWebsiteToContactMe semitwist.com> writes:
On Fri, 30 Aug 2013 11:30:58 +0900
Kenji Hara <k.hara.pg gmail.com> wrote:

 Some Exception class constructor signatures are changed in 2.064 dev.
 I think you need to rebuild Phobos library and link the generated
 phobos.lib.
 

Unfortunately, that is what I've been doing already. I'm pretty sure there's something weird going on with my sc.ini and invoking the linker, but I'm having a heck of a time figuring out what. It's almost as if the LIB= line in sc.ini is having no effect and the linker or dmd are just grabbing some other phobos.lib no matter what sc.ini's LIB= says. *But* I know I'm looking at the right sc.ini because changing the DFLAGS= line *is* working. Does optlink actually read sc.ini itself? Because *that* might explain what's happening, if optlink is picking up a totally different sc.ini.
Aug 29 2013
prev sibling next sibling parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Thu, Aug 29, 2013 at 10:41:20PM -0400, Nick Sabalausky wrote:
 On Fri, 30 Aug 2013 11:30:58 +0900
 Kenji Hara <k.hara.pg gmail.com> wrote:
 
 Some Exception class constructor signatures are changed in 2.064
 dev.  I think you need to rebuild Phobos library and link the
 generated phobos.lib.
 

Unfortunately, that is what I've been doing already. I'm pretty sure there's something weird going on with my sc.ini and invoking the linker, but I'm having a heck of a time figuring out what. It's almost as if the LIB= line in sc.ini is having no effect and the linker or dmd are just grabbing some other phobos.lib no matter what sc.ini's LIB= says. *But* I know I'm looking at the right sc.ini because changing the DFLAGS= line *is* working. Does optlink actually read sc.ini itself? Because *that* might explain what's happening, if optlink is picking up a totally different sc.ini.

To test that possibility, you could try locating all other copies of sc.ini on your system and temporarily renaming them to, say, sc-tmp.ini and seeing if that makes a difference. T -- Klein bottle for rent ... inquire within. -- Stephen Mulraney
Aug 29 2013
prev sibling next sibling parent ollie <ollie home.net> writes:
On Thu, 29 Aug 2013 21:00:40 -0400, Nick Sabalausky wrote:

 Can anyone see whether or not they're able to reproduce this, because
 I'm not sure if it's some weird bug or just something wrong on my
 system:
 
 On windows, compiling the latest chmgen.d with DMD v2.063.2 works fine
 ("dmd chmgen.d"). But doing exactly the same with github master of
 dmd/druntime/phobos results in several missing symbols during linking:
 

Compiling fine for me using Win32 dmd git-head.
Aug 29 2013
prev sibling parent "Andre Tampubolon" <andre lc.vlsm.org> writes:
On Friday, 30 August 2013 at 01:00:47 UTC, Nick Sabalausky wrote:
 Can anyone see whether or not they're able to reproduce this, 
 because
 I'm not sure if it's some weird bug or just something wrong on 
 my
 system:

Hi Nick, http://d.puremagic.com/issues/show_bug.cgi?id=10729 Maybe we're facing the same issue?
Sep 04 2013