[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#329762: marked as done ([DISCUSS] documentation of the "-fPIC" constraint)



Your message dated Wed, 03 May 2006 09:47:07 -0700
with message-id <E1FbKVH-0000vY-CM@spohr.debian.org>
and subject line Bug#329762: fixed in debian-policy 3.7.1.0
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: debian-policy
Severity: normal
Tags: patch

        Hi,

 As discussed in the debian-policy@ thread at:
    <http://lists.debian.org/debian-policy/2005/09/threads.html#00031>
 I propose the following changes to the Debian Policy to:
 - exceptionally permit not using -fPIC under i386 in CPU intensive
   libraries,
 - document why -fPIC is required in most cases,
 - permit building of static libraries with -fPIC (I don't think this
   has any reason to be forbidden, does it?)

 At all rates, since I'm not a native speaker and because it is my first
 policy patch, I request review and fixes to the debian-policy@ readers.

   Bye,

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-k7
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

-- 
Loïc Minier <lool@dooz.org>
Come, your destiny awaits!
Index: policy.sgml
===================================================================
RCS file: /cvs/debian-policy/debian-policy/policy.sgml,v
retrieving revision 1.156
diff -u -r1.156 policy.sgml
--- policy.sgml	6 Feb 2005 02:32:39 -0000	1.156
+++ policy.sgml	23 Sep 2005 08:51:46 -0000
@@ -6471,10 +6471,18 @@
 	<heading>Libraries</heading>
 
 	<p>
-	  The shared version of a library must be compiled with
-          <tt>-fPIC</tt>, and the static version must not be. In other
-          words, each source unit (<tt>*.c</tt>, for example, for C files)
-          will need to be compiled twice.
+          In the general case, the shared version of a library must be compiled
+          in a way permitting its runtime memory copy to be shared among
+          processes using it.  This requirement is meant to reduce the memory
+          footprint of applications in Debian as a whole.  For example, with
+          the ELF format and the GCC compiler, this is achieved by using the
+          <tt>-fPIC</tt> flag.  As a special exception, some CPU intensive
+          libraries might be compiled without -fPIC under i386 only; this is
+          because currently only i386 really benefits of and has support for
+          binaries compiled without -fPIC.
+
+          This requirement does not apply to the static version of the library.
+          The static version is usually built separately, without -fPIC.
 	</p>
 
 	<p>

--- End Message ---
--- Begin Message ---
Source: debian-policy
Source-Version: 3.7.1.0

We believe that the bug you reported is fixed in the latest version of
debian-policy, which is due to be installed in the Debian FTP archive:

debian-policy_3.7.1.0.dsc
  to pool/main/d/debian-policy/debian-policy_3.7.1.0.dsc
debian-policy_3.7.1.0.tar.gz
  to pool/main/d/debian-policy/debian-policy_3.7.1.0.tar.gz
debian-policy_3.7.1.0_all.deb
  to pool/main/d/debian-policy/debian-policy_3.7.1.0_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 329762@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <srivasta@debian.org> (supplier of updated debian-policy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  3 May 2006 11:17:42 -0500
Source: debian-policy
Binary: debian-policy
Architecture: source all
Version: 3.7.1.0
Distribution: unstable
Urgency: low
Maintainer: Debian Policy List <debian-policy@lists.debian.org>
Changed-By: Manoj Srivastava <srivasta@debian.org>
Description: 
 debian-policy - Debian Policy Manual and related documents
Closes: 136318 329762 360518 364982 364983 364985 365058 365323 365356 365510
Changes: 
 debian-policy (3.7.1.0) unstable; urgency=low
 .
   * Bug fix: "[PROPOSAL] 11.9: document handling of directories permission
     when upgrading", thanks to Bill Allombert               (Closes: #136318).
   * Bug fix: "[DISCUSS] documentation of the "-fPIC" constraint", thanks
     to Loïc Minier. Clarified when it may be reasonable to violate the standard
     directive that shared libraries must be compiled with -fPIC, and
     static libraries without, added the protocol to be followed  when
     doing so.                                               (Closes: #329762).
   * Bug fix: "Minor typo in upgrading checklist", thanks to David
     Weinehall                                               (Closes: #364982).
   * Bug fix: "Typo in upgrading-checklist", thanks to David Weinehall
                                                             (Closes: #364983).
   * Bug fix: "typo in debian policy section 10.9.1", thanks to Miguel Gea
     Milvaques                                                (Closes: #365058).
   * Bug fix: "debian-policy: The section 11.8.5 needs some
     clarifications", thanks to Robert Luberda                (Closes: #365356).
   * Bug fix: "11.8.7: X11R7 puts headers in /usr/include/X11", thanks to
     Drew Parsons                                             (Closes: #365510).
   * Bug fix: "debian-policy: typo in policy-process:
     &quot;Guideliens&quot;", thanks to Lars Wirzenius        (Closes: #360518).
   * Bug fix: "debian-policy: repeated word in section 10.4", thanks to
     Russ Allbery                                            (Closes: #364985).
   * Bug fix: "typo in debian-policy", thanks to Miguel Gea Milvaques
                                                             (Closes: #365323).
Files: 
 b50cf7ae853b62287e5587cbd227d2a4 820 doc optional debian-policy_3.7.1.0.dsc
 3236fbb82e9bcf1432ab8b1228cca3b7 786338 doc optional debian-policy_3.7.1.0.tar.gz
 15204c2efa3138547f0d756bc23411cc 1522724 doc optional debian-policy_3.7.1.0_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEWN0rIbrau78kQkwRAl4ZAJ0R5mVYVw5sql8MOBxMxFAl8+P7fACePIkd
838nqzZRFPGfXlLI+5zr7J8=
=q74P
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: