OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000487OMNeT++command line toolspublic2011-12-15 13:522011-12-15 13:53
Reporterrhornig 
Assigned Torhornig 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.2 
Target VersionFixed in Version4.2.1 
Summary0000487: Model in shared lib is not linked to an other model built as an executable
DescriptionWhen you build an executable that directly links with an other model that was built as a shared lib AND the your model does not refer any symbols in the shared lib model AND you are running on a system with GCC 4.6 then the shared lib will not be linked to the executable model (the linker optimizes it out).
Additional InformationSolution, library references should be prefixed with $AS_NEEDED_OFF (similarily how WHOLE_ARCHIVE_ON s used for static libs) in the generated makefiles. $AS_NEEDED_OFF is used for the same purpose for dynamic libs.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000643)
rhornig (administrator)
2011-12-15 13:53

Added $AS_NEEDED_OFF to the makefile generator scripts.

- Issue History
Date Modified Username Field Change
2011-12-15 13:52 rhornig New Issue
2011-12-15 13:53 rhornig Note Added: 0000643
2011-12-15 13:53 rhornig Status new => resolved
2011-12-15 13:53 rhornig Fixed in Version => 4.2.1
2011-12-15 13:53 rhornig Resolution open => fixed
2011-12-15 13:53 rhornig Assigned To => rhornig


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker