[Portland] Project Portland, RuDI and the Generic desktop adapter

Martin Konold martin.konold at erfrakon.de
Sat Dec 10 17:57:42 EET 2005


Am Freitag, 9. Dezember 2005 14:05 schrieb nf2:

Hi,

> Good point. But is this really true?
>
> Let's say application A links to two libraries (lib1 and lib2 which in
> the background link to Qt3 and Qt4).
>
> A->lib1->Qt3
> A->lib2->Qt4

Actually the described situation will lead to crash at runtime with hard to 
debug heap and stack corruption. This is due to the way how ELF works.

In short the problem is that nearly every developer expects the ELF shared 
library loading to work in a tree while the ELF standard works with a first 
come first serve flat model.

In the above example this will lead to lib3 calling Qt3 not Qt4 functions.

Regards,
-- martin

-- 
http://www.erfrakon.com/
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker



More information about the Portland mailing list