patches/binutils/2.20/200-document-new-dtags-behaviour.patch
author Anthony Foiani <anthony.foiani@gmail.com>
Thu May 19 23:09:43 2011 +0200 (2011-05-19)
branch1.11
changeset 2465 5f98b7a90fbc
permissions -rw-r--r--
complibs/ppl: fix 0.11-0.11.2 to compile with --disable-shared

PPL 0.11 (through 0.11.2) had a small bug where it still tried to build
and test its Java interface even when shared libraries are disabled.
Since that's exactly what ct-ng does, it explodes.

This is the patch from the PPL authors (see final link below).

More information can be found in these messages/threads:

Anthony's initial report and analysis with Yann:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00046.html

Ron Flory hit the same problem:
http://www.cygwin.com/ml/crossgcc/2011-05/msg00054.html

Anthony's report to the ppl-devel list:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017450.html

Roberto's reply with a link to the fix in the PPL git repo:
http://www.cs.unipr.it/pipermail/ppl-devel/2011-May/017455.html

Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
(transplanted from 139b85d70b623e51f7585e7c64ecb8c6a6cf4567)
yann@1614
     1
Index: binutils-2.19.51.0.5/ld/ld.texinfo
yann@1614
     2
===================================================================
yann@1614
     3
--- binutils-2.19.51.0.5.orig/ld/ld.texinfo
yann@1614
     4
+++ binutils-2.19.51.0.5/ld/ld.texinfo
yann@1614
     5
@@ -2036,8 +2036,9 @@ This linker can create the new dynamic t
yann@1614
     6
 systems may not understand them. If you specify
yann@1614
     7
 @option{--enable-new-dtags}, the dynamic tags will be created as needed.
yann@1614
     8
 If you specify @option{--disable-new-dtags}, no new dynamic tags will be
yann@1614
     9
-created. By default, the new dynamic tags are not created. Note that
yann@1614
    10
-those options are only available for ELF systems.
yann@1614
    11
+created. On Gentoo, by default, the new dynamic tags are created (this
yann@1614
    12
+differs from upstream behaviour). Note that those options are only
yann@1614
    13
+available for ELF systems.
yann@1614
    14
 
yann@1614
    15
 @kindex --hash-size=@var{number}
yann@1614
    16
 @item --hash-size=@var{number}