[MXS-554] Turn MaxScale into a library. Created: 2016-01-22  Updated: 2016-01-26  Resolved: 2016-01-26

Status: Closed
Project: MariaDB MaxScale
Component/s: build
Affects Version/s: None
Fix Version/s: 1.4.0

Type: Task Priority: Major
Reporter: Johan Wikman Assignee: Johan Wikman
Resolution: Done Votes: 0
Labels: None


 Description   

Plugins loaded by MaxScale obviously need symbols provided by MaxScale. Currently plugins are not linked with "-Wl,-z,defs" (that would require all symbols to be resolved at link-time), which means that any missing symbols are detected only at runtime. In practice this may mean that a particular problem with an undefined symbol is detected only when the MaxScale test-suite is run for a particular OS. That is, it may take hours before that is detected. To be able to use "-Wl,-z,defs" MaxScale must be separated into a MaxScale library and a small MaxScale executable that is linked to that library. All plugins then link to that library as well.



 Comments   
Comment by Johan Wikman [ 2016-01-26 ]

All MaxScale objects are linked to a maxscale-common shared library that plugins and the MaxScale executable links to.

Generated at Thu Feb 08 04:00:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.