Bug 17781 – printing "Shared libraries are not yet supported on OSX." should be optional

Status
NEW
Severity
normal
Priority
P3
Component
druntime
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2017-08-27T01:18:16Z
Last change time
2024-12-07T13:37:34Z
Assigned to
No Owner
Creator
Timothee Cour
Moved to GitHub: dmd#17160 →

Comments

Comment #0 by timothee.cour2 — 2017-08-27T01:18:16Z
although Shared libraries are indeed to 100% supported on OSX, there are existing use caes that do work, and having this message printed to stderr (druntime/src/rt/sections_osx_x86_64.d) every time they're being used is annoying. Could we have an option to make printing this optional? classifying it as regression since this wasn't printed before
Comment #1 by bugzilla — 2017-10-03T08:45:04Z
If they work 100%, why make the message optional, instead of just eliminating it?
Comment #2 by bugzilla — 2017-10-03T08:48:14Z
There are two messages: // no support for multiple images yet // take the sections from the last static image which is the executable if (_isRuntimeInitialized) { fprintf(stderr, "Loading shared libraries isn't yet supported on Darwin.\n"); return; } else if (_sections.modules.ptr !is null) { fprintf(stderr, "Shared libraries are not yet supported on Darwin.\n"); } Neither match the issue subject. Which message are you referring to, or is it both?
Comment #3 by code — 2017-10-09T11:17:32Z
Dynamic loading of shared libraries are still not fully implemented, e.g. missing GC/EH (TLS?) support. I think Timothee's comment was a typo and he meant not 100% supported. Also see issue 11478
Comment #4 by robert.schadek — 2024-12-07T13:37:34Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17160 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB