pkgsrc-Bugs archive

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

Re: pkg/45195 (security/heimdal does misses symbols (_kdc_db_fetch, _kdc_free_ent))



The following reply was made to PR pkg/45195; it has been noted by GNATS.

From: Alex Hornung <ahornung%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: dfly-pkg-people%netbsd.org@localhost, 
dragonfly-pkg-people%netbsd.org@localhost, 
        pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
gls%netbsd.org@localhost
Subject: Re: pkg/45195 (security/heimdal does misses symbols (_kdc_db_fetch, 
_kdc_free_ent))
Date: Sun, 31 Jul 2011 20:19:43 +0100

 --bcaec5431eec9aeeb304a9626545
 Content-Type: text/plain; charset=ISO-8859-1
 
 Well, this is actually an upstream issue. The symbols are being forced
 to local visibility by the linker script even though they are used
 from outside. I've also raised this issue upstream.
 
 The attached patch fixes building on DragonFly; please commit it;
 patch is at http://leaf.dragonflybsd.org/~alexh/heimdal-ldscript.patch,
 and attached to this message.
 
 Cheers,
 Alex
 
 Upstream bug description:
 The symbols _kdc_db_fetch and _kdc_free_ent are also used externally
 from libkdc, and not just internally. They are referenced from
 kdc/digest-service. As such, the linker script cannot force those
 symbols to be local, otherwise more picky linkers will fail to find
 the symbols. The attached patch adds the two symbols to global
 visibility, so that they can be referenced from kdc/digest-service.
 
 This also fixes build on DragonFly.
 
 --bcaec5431eec9aeeb304a9626545
 Content-Type: text/x-patch; charset=US-ASCII; name="heimdal-ldscript.patch"
 Content-Disposition: attachment; filename="heimdal-ldscript.patch"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_gqse8tyy0
 
 ZGlmZiAtLWdpdCBhL3NlY3VyaXR5L2hlaW1kYWwvZGlzdGluZm8gYi9zZWN1cml0eS9oZWltZGFs
 L2Rpc3RpbmZvCmluZGV4IGNlYTY1MjAuLmNkM2ZkYTEgMTAwNjQ0Ci0tLSBhL3NlY3VyaXR5L2hl
 a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