Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 94854

Summary: xmingw-3.4.2 dll's make error in linked with them apps
Product: Gentoo Linux Reporter: Michal Kurgan (RETIRED) <moloh>
Component: [OLD] DevelopmentAssignee: Stefan Jones (RETIRED) <cretin>
Status: RESOLVED INVALID    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michal Kurgan (RETIRED) gentoo-dev 2005-06-02 11:35:58 UTC
Until recent upgrade i could make my own qmake spec file dll's. But now i can  
compile dll's but when i want run app linked with created dll i ends with  
failed initialization. I triad also compile qwt-4.2.0, qwtplot3d-0.2.4 with  
same results. On older release everything works fine...  

Reproducible: Always
Steps to Reproduce:
1.emerge xmingw packages 
2.build dll with qmake 
3. 
 
Actual Results:  
failed initialization on run of application linked with dll 

Expected Results:  
working dll
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2005-07-30 19:34:08 UTC
I have added mingw-gcc-3.4.4 to portage.
If that does not fix it could you please provide more details how to repeat
the error or some files to play with.
( I do not use xmingw stuff for complex stuff )
Comment 2 Michal Kurgan (RETIRED) gentoo-dev 2005-07-31 08:22:48 UTC
after some more test i must say that it must be sth with qt.   
i succesfully build a simple and more complicated dlls, but problem with  
qwtplot3d persists, it just hungs... (program compiled natively on windows  
works ok, with all native compiled libraries like qt, qwt, qwtplot3d).  
  
What i found, it was that qt by default use -Wl,-subsystem,conole|windows for  
building dll's. It was main problem, it worked with older release, also it 
works on native windows, quite strange i would say...  
  
for me it's rather problem with crosscompilation of qt not a xmingw and i  
propose to invalidate bug or sth like that.  
Comment 3 Michal Kurgan (RETIRED) gentoo-dev 2005-11-19 02:03:46 UTC
it's problem with some qmake cross-compilation settings