Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
August 30, 2013 Just me? Compiling chmgen head on DMD master vs 2.063.2 | ||||
---|---|---|---|---|
| ||||
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 |
August 30, 2013 Re: Just me? Compiling chmgen head on DMD master vs 2.063.2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | 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... |
August 30, 2013 Re: Just me? Compiling chmgen head on DMD master vs 2.063.2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky Attachments:
| 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 > > |
August 30, 2013 Re: Just me? Compiling chmgen head on DMD master vs 2.063.2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kenji Hara | 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.
|
August 30, 2013 Re: Just me? Compiling chmgen head on DMD master vs 2.063.2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | 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 |
August 30, 2013 Re: Just me? Compiling chmgen head on DMD master vs 2.063.2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | 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.
|
September 04, 2013 Re: Just me? Compiling chmgen head on DMD master vs 2.063.2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | 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? |
Copyright © 1999-2021 by the D Language Foundation