Bug 13186 – core/sys/posix/sys/uio.d is not linked into the standard lib

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Linux
Creation time
2014-07-22T13:58:00Z
Last change time
2017-08-07T12:25:57Z
Assigned to
nobody
Creator
maor

Comments

Comment #0 by maor — 2014-07-22T13:58:34Z
the following code breaks: import core.sys.posix.sys.uio; int main() { iovec[4] c; return 0; } with error message (command line is 'dmd test.d'): test.d:(.text._Dmain+0x15): undefined reference to `_D4core3sys5posix3sys3uio5iovec6__initZ' test.d:(.text._Dmain+0x1c): undefined reference to `_D4core3sys5posix3sys3uio5iovec6__initZ' because uio.o is not linked into the D standard library: nm /usr/lib/x86_64-linux-gnu/libphobos2.a | grep uio finds nothing.
Comment #1 by bugzilla — 2017-05-11T22:15:08Z
Comment #2 by github-bugzilla — 2017-05-13T21:37:51Z
Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/11ac522f4386fb02dbf0d601a1b36e3180c826bb fix Issue 13186 - core/sys/posix/sys/uio.d is not linked into the standard lib https://github.com/dlang/druntime/commit/2144f2f721bf3248350771e0ac89ee97ccc3ff63 Merge pull request #1827 from WalterBright/fix13186 fix Issue 13186 - core/sys/posix/sys/uio.d is not linked into the sta…
Comment #3 by github-bugzilla — 2017-06-17T11:34:32Z
Commits pushed to stable at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/11ac522f4386fb02dbf0d601a1b36e3180c826bb fix Issue 13186 - core/sys/posix/sys/uio.d is not linked into the standard lib https://github.com/dlang/druntime/commit/2144f2f721bf3248350771e0ac89ee97ccc3ff63 Merge pull request #1827 from WalterBright/fix13186
Comment #4 by github-bugzilla — 2017-08-07T12:25:57Z
Commits pushed to newCTFE at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/11ac522f4386fb02dbf0d601a1b36e3180c826bb fix Issue 13186 - core/sys/posix/sys/uio.d is not linked into the standard lib https://github.com/dlang/druntime/commit/2144f2f721bf3248350771e0ac89ee97ccc3ff63 Merge pull request #1827 from WalterBright/fix13186