[Issue 4398] New: dmd always uses Windows name mangling for _d_throw

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 27 10:41:19 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4398

           Summary: dmd always uses Windows name mangling for _d_throw
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: johannespfau at gmail.com


--- Comment #0 from Johannes Pfau <johannespfau at gmail.com> 2010-06-27 10:41:17 PDT ---
When calling _d_throw dmd always uses the name _d_throw at 4 regardless of the
operating system. Dynamic ELF libraries support versioning symbols using the
syntax name at version. Therefore when ld encounters _d_throw at 4 it reads "symbol
_d_throw, version 4" and complains that there is no version 4. As long as this
isn't fixed Dynamic D libraries can't be created on operating systems using ELF
executables.

See also:
http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D&artnum=112648
and the links referred in the newspost.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list