Bug 5267 – phobos' linux.mak do not build std/exception.d
Status
RESOLVED
Resolution
DUPLICATE
Severity
major
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2010-11-24T06:26:00Z
Last change time
2010-11-26T13:19:34Z
Keywords
link-failure, patch
Assigned to
nobody
Creator
witold.baryluk+d
Comments
Comment #0 by witold.baryluk+d — 2010-11-24T06:26:33Z
I was rebuilding phobos' included in dmd2.050.zip, on Linux, becuase i wanted to have debuging symbols (-gc -L--export-dynamic) working well in gdb.
I discovered that linux.mak does not include exception module in variable STD_MODULES.
Phobos build correctly, but when linking executables linker shows undefined references to std.exception.*
posix.mak have STD_MODULES with exception added.
Adding exception to STD_MODULES in src/phobos/linux.mak resolves problem.
Thanks.
Comment #1 by witold.baryluk+d — 2010-11-26T13:19:34Z
*** This issue has been marked as a duplicate of issue 4646 ***