November 19, 2013 Re: Hi Kai ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to tae hoo | Hi tae!
On Sunday, 17 November 2013 at 18:03:51 UTC, tae hoo wrote:
> the problem is 'set directive'
This error is fixed in LLVM head now.
Regards,
Kai
|
November 19, 2013 Hi Kai | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kai Nacke | Ok. :) Hi Kai! Did you resolved the final link error? D:\LDC\LDC64\lib>ldc2 test.d phobos-ldc.lib(math.obj) : error LNK2019: unresolved external symbol _D3std4math 4exp2FNaNbNeeZe referenced in function _D3std4math3sinFNaNbNfcZc phobos-ldc.lib(math.obj) : error LNK2019: unresolved external symbol _D3std4math 5expm1FNaNbNeeZe referenced in function _D3std4math3sinFNaNbNfcZc phobos-ldc.lib(math.obj) : error LNK2019: unresolved external symbol _D3std4math 5atan2FNaNbNeeeZe referenced in function _D3std4math4acosFNaNbNfeZe ...... It is not a simple problem. for example, _D3std4math4exp2FNaNbNeeZe(mangled name of 'exp2') is already defined in same module math.obj. On Tuesday, 19 November 2013 at 11:55:10 UTC, Kai Nacke wrote: > Hi tae! > > On Sunday, 17 November 2013 at 18:03:51 UTC, tae hoo wrote: >> the problem is 'set directive' > > This error is fixed in LLVM head now. > > Regards, > Kai |
November 22, 2013 Re: Hi Kai | ||||
---|---|---|---|---|
| ||||
Posted in reply to tae hoo | Hi tae! On Tuesday, 19 November 2013 at 16:27:31 UTC, tae hoo wrote: > Ok. :) > > Hi Kai! > > Did you resolved the final link error? No, I had no time yet... > > D:\LDC\LDC64\lib>ldc2 test.d > phobos-ldc.lib(math.obj) : error LNK2019: unresolved external > symbol _D3std4math > 4exp2FNaNbNeeZe referenced in function _D3std4math3sinFNaNbNfcZc > phobos-ldc.lib(math.obj) : error LNK2019: unresolved external > symbol _D3std4math > 5expm1FNaNbNeeZe referenced in function _D3std4math3sinFNaNbNfcZc > phobos-ldc.lib(math.obj) : error LNK2019: unresolved external > symbol _D3std4math > 5atan2FNaNbNeeeZe referenced in function > _D3std4math4acosFNaNbNfeZe > ...... > > > It is not a simple problem. > > for example, _D3std4math4exp2FNaNbNeeZe(mangled name of 'exp2') is > already defined in same module math.obj. The link error is a bit strange because the implementation of std.math.sin() does not use std.math.exp2(). Regards, Kai |
Copyright © 1999-2021 by the D Language Foundation