bugGNUstep - Bugs: bug #30299, Renaissance needs to link against...

Group
 
 

bug #30299: Renaissance needs to link against needed libraries

Submitter:  Yavor Doganov <yavor>
Submitted:  Wed 30 Jun 2010 07:13:52 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 01 Jul 2010 09:08:09 AM UTC, comment #1: 

Thanks Yavor

very useful feedback - this is related to bug #24109 (again, thanks for the suggestions in there!) in the sense that the current default behaviour of gnustep-make when linking libraries (all libraries, not just gnustep-gui or Renaissance) does not seem to be the best / what packagers are used to. ;-)

So I think I'd like to change gnustep-make so that, at least on GNU/Linux:

  • all libraries are linked with everything they depend on


  • we automatically use -Wl,--as-needed and -Wl,-z,defs


(We could make it internally easy to change inside gnustep-make so that we can have different behaviours on different platforms, and so that the behaviour can be changed with a ./configure switch or via a makefile variable).

Thanks

Nicola Pero <nico>
Group Member
Wed 30 Jun 2010 07:13:52 AM UTC, original submission:  

This is most probably never a problem at runtime, because any app that uses Renaissance already links against libobjc, -base and -gui so the libraries are loaded before Renaissance needs them.  However, it is causing us trouble in Debian because the release team cannot reliably determine that the renaissance package needs to be rebuilt during GNUstep transitions (because it doesn't link against GNUstep libraries, the librenaissance0 package doesn't pick the dependencies).

The attached patch has been in Debian for some time; I believe it is completely safe.

Yavor Doganov <yavor>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #20857:  link-libs.patch added by yavor (471B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nico (Posted a comment)
  • -email is unavailable- added by yavor (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-30 yavor Attached File- Added link-libs.patch, #20857

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code