Bugs item #1862699, was opened at 2008-01-02 21:51
Message generated for change (Comment added) made by dooglus
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1862699&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compile-Time
Group: Latest release
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Daniel Macks (dmacks)
Assigned to: Nobody/Anonymous (nobody)
Summary: Loadable modules don't need shared-library versioning

Initial Comment:
Nope, they don't:)

All the src/modules/* targets should probably be built with -avoid-version 
because they are runtime-loadable modules rather than linkable shared 
libraries, and so don't need to publish any linker versioning information. For 
example, synfig-0.61.07/src/modules/example/Makefile.am is:

libexample_la_LDFLAGS = -module -no-undefined

but would be better as 

libexample_la_LDFLAGS = -module -no-undefined -avoid-version

and analogously for all other modules's Makefile.am _LDFLAGS.


----------------------------------------------------------------------

>Comment By: dooglus (dooglus)
Date: 2008-01-02 23:52

Message:
Logged In: YES 
user_id=1546005
Originator: NO

I applied this patch:

  http://dooglus.rincevent.net/synfig/1862699.txt

but the modules were still created with version numbers:

  -rwxr-xr-x 1 chris chris    1114 2008-01-02 23:46 libmod_bmp.la
  lrwxrwxrwx 1 chris chris      19 2008-01-02 23:46 libmod_bmp.so ->
libmod_bmp.so.0.0.0
  lrwxrwxrwx 1 chris chris      19 2008-01-02 23:46 libmod_bmp.so.0 ->
libmod_bmp.so.0.0.0
  -rwxr-xr-x 1 chris chris 1055872 2008-01-02 23:46 libmod_bmp.so.0.0.0

Is that what you would expect?

----------------------------------------------------------------------

Comment By: Daniel Macks (dmacks)
Date: 2008-01-02 23:22

Message:
Logged In: YES 
user_id=535292
Originator: YES

File Added: no-module-versioning.patch

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=1862699&group_id=144022

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to