Initialization/finalization of DLL units - exporting function from executable
Original Reporter info from Mantis: L505
-
Reporter name: Lars(L505)
Original Reporter info from Mantis: L505
- Reporter name: Lars(L505)
Description:
Initialization and finalization of units in library uses clause does not occur when exporting function from elf executable on linux. This is different than a previous bug I filed where finalization did not occur with smartlinking on.
Additional information:
When no exports from the elf executable are included, and no smartlinking is on, initialization and finalization of the units do occur properly. Note: I have tested on Windows and it appears to work fine from small testing. Linux is the problem. BSD is another story.
Mantis conversion info:
- Mantis ID: 7838
- Fixed in version: 2.2.2
- Fixed in revision: 10664 (#0c047f17)
- Monitored by: » crossbuilder (Burkhard Carstens)