www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Undefined symbol?

reply "Tofu Ninja" <emmons0 purdue.edu> writes:
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?
Feb 18 2015
next sibling parent reply "John Colvin" <john.loughran.colvin gmail.com> writes:
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.
Feb 18 2015
parent reply "Tofu Ninja" <emmons0 purdue.edu> writes:
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.
Feb 18 2015
parent "Rene Zwanenburg" <renezwanenburg gmail.com> writes:
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?
Feb 19 2015
prev sibling next sibling parent "Kagamin" <spam here.lot> writes:
https://issues.dlang.org/show_bug.cgi?id=13172
Feb 20 2015
prev sibling parent reply "Joakim" <dlang joakim.fea.st> writes:
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.
Feb 21 2015
parent "Tofu Ninja" <emmons0 purdue.edu> writes:
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.
Feb 21 2015