Changes between Initial Version and Version 4 of Ticket #9914


Ignore:
Timestamp:
09/16/10 19:14:24 (12 years ago)
Author:
GeorgSWeber
Comment:

Sorry, but this will certainly break on Cygwin!

Just have a look at the Makefile for the "g0nntl" library (in the eclib spkg, see the file /src/g0n/Makefile, line 41):

NTLLFLAGS = -L$(NTLLIBDIR) -lntl -lgmp -lpari

This means that the g0nntl library has the pari library as a dependency. And on Cywgin (Windows in general), not only the "primary" libraries have to be declared as dependencies during compile time (i.e. for building e.g. an extension module) --- but *all* libraries, i.e. also the "secondary", "tertiary", and so on ... (one may consider this a bug, a deficiency, a nuisance, whatever --- we have to live with it)

I've changed the title of the ticket somewhat, to reflect this, and added a line to the description.

If this ticket is meant to fix some OS X specific issue (see the main ticket at trac #9896), I'd propose to use the "uname_specific" feature in such a way, that the change to the module_list.py affects Darwin --- and only Darwin.

Ensuring that the change is visible on only as few system as possible, as few systems as possible are affected of a possible breakage by such a change.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9914

    • Property Status changed from new to needs_work
    • Property Authors changed from to Leif Leonhardy
    • Property Cc jhpalmieri mpatel added
    • Property Summary changed from Remove unused libraries from extension modules to Remove libraries from extension modules when they are not needed there at build time
    • Property Keywords PARI ImportError newforms homspace mwrank upgrade update added
  • Ticket #9914 – Description

    initial v4  
    11Many extension modules in {{{devel/sage/module_list.py}}} are linked against libraries they do not use, some at least not directly.
    22
    3 This is inefficient, isn't nice or at least confusing and can (actually does) cause trouble. 
     3This is inefficient, isn't nice or at least confusing and can (actually does) cause trouble.
    44
    55See e.g. [http://trac.sagemath.org/sage_trac/ticket/9896#comment:18 this comment] for a discussion why.
    66
    77This ticket will only address the removal of ''some'' unnecessary libraries listed; there are most probably more.
     8
     9ADDED LATER: See however the later remarks about that claim of ''being unnecessary'' ...