Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
February 18, 2015 Undefined symbol? | ||||
---|---|---|---|---|
| ||||
When I compile my project in release dmd suddenly starts complains about missing symbols that look like they are from phobos. Symbol Undefined _D3std9exception134__T12errnoEnforceTbVAyaa50_433a5c445c646d64325c77696e646f77735c62696e5c2e2e5cA7E6C89D7777F0A958C3336C905AF5DE Any idea what is causing it and what a fix might be? |
February 18, 2015 Re: Undefined symbol? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja | On Wednesday, 18 February 2015 at 08:55:51 UTC, Tofu Ninja wrote:
> When I compile my project in release dmd suddenly starts complains about missing symbols that look like they are from phobos.
>
> Symbol Undefined _D3std9exception134__T12errnoEnforceTbVAyaa50_433a5c445c646d64325c77696e646f77735c62696e5c2e2e5cA7E6C89D7777F0A958C3336C905AF5DE
>
> Any idea what is causing it and what a fix might be?
These errors are normally caused by combining object files or libraries that were compiled by different compiler versions. The biggest mistake is accidentally linking to an older/newer version of phobos.
|
February 19, 2015 Re: Undefined symbol? | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On Wednesday, 18 February 2015 at 10:47:50 UTC, John Colvin wrote:
> On Wednesday, 18 February 2015 at 08:55:51 UTC, Tofu Ninja wrote:
>> When I compile my project in release dmd suddenly starts complains about missing symbols that look like they are from phobos.
>>
>> Symbol Undefined _D3std9exception134__T12errnoEnforceTbVAyaa50_433a5c445c646d64325c77696e646f77735c62696e5c2e2e5cA7E6C89D7777F0A958C3336C905AF5DE
>>
>> Any idea what is causing it and what a fix might be?
>
> These errors are normally caused by combining object files or libraries that were compiled by different compiler versions. The biggest mistake is accidentally linking to an older/newer version of phobos.
I am not sure what could be the offending obj. I re downloaded dmd and phobos(pre compiled for windows), cleaned out all my builds and removed all of the tempfiles for dub that I could find.
|
February 19, 2015 Re: Undefined symbol? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja | On Thursday, 19 February 2015 at 01:29:39 UTC, Tofu Ninja wrote:
> I am not sure what could be the offending obj. I re downloaded dmd and phobos(pre compiled for windows), cleaned out all my builds and removed all of the tempfiles for dub that I could find.
Have you tried running dub with --force?
|
February 20, 2015 Re: Undefined symbol? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja | https://issues.dlang.org/show_bug.cgi?id=13172 |
February 21, 2015 Re: Undefined symbol? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Tofu Ninja | On Wednesday, 18 February 2015 at 08:55:51 UTC, Tofu Ninja wrote: > When I compile my project in release dmd suddenly starts complains about missing symbols that look like they are from phobos. > > Symbol Undefined _D3std9exception134__T12errnoEnforceTbVAyaa50_433a5c445c646d64325c77696e646f77735c62696e5c2e2e5cA7E6C89D7777F0A958C3336C905AF5DE > > Any idea what is causing it and what a fix might be? See if you can reproduce with the latest 2.067 beta (http://forum.dlang.org/thread/54E41CA2.4060506@dawg.eu), and report back on the bugzilla issue that Kagamin just posted. Brian said he couldn't reproduce with the latest beta and the example there. |
February 22, 2015 Re: Undefined symbol? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joakim | On Saturday, 21 February 2015 at 17:08:56 UTC, Joakim wrote:
> On Wednesday, 18 February 2015 at 08:55:51 UTC, Tofu Ninja wrote:
>> When I compile my project in release dmd suddenly starts complains about missing symbols that look like they are from phobos.
>>
>> Symbol Undefined _D3std9exception134__T12errnoEnforceTbVAyaa50_433a5c445c646d64325c77696e646f77735c62696e5c2e2e5cA7E6C89D7777F0A958C3336C905AF5DE
>>
>> Any idea what is causing it and what a fix might be?
>
> See if you can reproduce with the latest 2.067 beta (http://forum.dlang.org/thread/54E41CA2.4060506@dawg.eu), and report back on the bugzilla issue that Kagamin just posted. Brian said he couldn't reproduce with the latest beta and the example there.
That did in fact fix it.
Will post a link to this thread in the bug report.
|
Copyright © 1999-2021 by the D Language Foundation