Created attachment 1326 [details] 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.
Created attachment 1327 [details] Library source code
Created attachment 1328 [details] Generated interface file
Created attachment 1329 [details] Used makefile
Created attachment 1330 [details] Output of make
no crash anymore