[Issue 12192] New: Wrong interface file content generated that crashes compiler

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 18 08:10:09 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12192

           Summary: Wrong interface file content generated that crashes
                    compiler
           Product: D
           Version: unspecified
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dy70swq+kzut3k at sharklasers.com


--- Comment #0 from tcak <dy70swq+kzut3k at sharklasers.com> 2014-02-18 08:09:53 PST ---
Created an attachment (id=1326)
Programme source code

I have written a shared library and a programme to use it. While compiling the
library file, "-H" flag is used to generate interface file. Compiler generates
wrong content, eats some of the codes. After this, while the programme is being
compiled, compiler crashes with a segmentation error.

Version: 2.064.2
OS: Ubuntu 13.10

Source codes are: lib.d, app.d
Generated Interface file: lib.di
Used makefile: makefile
Output of make: makeresult.txt

Source codes are reduced to make it as clear as possible. No matter where I put
that static destructor, compiler eats it all the time.

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


More information about the Digitalmars-d-bugs mailing list