[Xapian-tickets] [Xapian] #41: Auto-disable shared libraries

Xapian nobody at xapian.org
Tue Aug 5 08:20:50 BST 2008


#41: Auto-disable shared libraries
--------------------------+-------------------------------------------------
 Reporter:  olly          |        Owner:  nobody  
     Type:  enhancement   |       Status:  closed  
 Priority:  lowest        |    Milestone:          
Component:  Build system  |      Version:  SVN HEAD
 Severity:  minor         |   Resolution:  wontfix 
 Keywords:                |    Blockedby:          
 Platform:  other         |     Blocking:          
--------------------------+-------------------------------------------------
Changes (by olly):

  * status:  new => closed
  * resolution:  => wontfix


Old description:

> It'd be nice if configure could default to --disable-shared where we
> know shared libraries don't work.  Ideally via a configure feature test
> if we
> can find a 100% reliable test (throwing an exception from a shared
> library?)
>
> Richard suggests the following, as an autoconf test:
>
>  * build a library, with a function which throws an exception.
>  * build an application which links dynamically to the library, and
>    calls the method.
>  * run the library - if the problem exists, a segfault will occur.

New description:

 It'd be nice if configure could default to --disable-shared where we
 know shared libraries don't work.  Ideally via a configure feature test if
 we
 can find a 100% reliable test (throwing an exception from a shared
 library?)

 Richard suggests the following, as an autoconf test:

  * build a library, with a function which throws an exception.
  * build an application which links dynamically to the library, and
    calls the method.
  * run the library - if the problem exists, a segfault will occur.

--

Comment:

 I'm closing with as "wontfix", since:

  * This was originally an issue for GCC on Solaris (a moderately popular
 platform), but the
    shared library build now works in this case.  So I'm not aware of any
 common platforms where
    this is actually an issue (or uncommon ones, but it's more likely that
 we wouldn't have had
    a report for those).

  * The testsuite will exercise the throwing of exceptions across shared
 library boundaries, and
    so reveal problems.

  * Nobody seems to be interested in working on this anyway.

 If someone submitted patches, I'd be happy to consider them still, but I
 don't see any benefit
 in keeping this ticket open any longer.

-- 
Ticket URL: <http://trac.xapian.org/ticket/41#comment:9>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list