[Bug 528332] Review Request: GNUnet - Secure peer-to-peer networking framework

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 1 14:55:04 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=528332





--- Comment #7 from Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>  2010-01-01 09:55:02 EDT ---
You might want to hack in '-Wl,--as-needed' LDFLAGS, e.g. by

---
%configure ... \
 LDFLAGS='-Wl,--as-needed'

sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
---

Generated binaries/libraries add too much dependencies else; e.g. 'ld -u -r'
shows unused libraries like

WARN: /usr/bin/gnunetd: linked against unused libraries
    /lib64/libz.so.1
    /usr/lib64/libextractor.so.1
    /usr/lib64/libadns.so.1
    /lib64/libgcrypt.so.11
    /lib64/libgpg-error.so.0
    /usr/lib64/libgmp.so.3
    /usr/lib64/libltdl.so.7
    /lib64/libm.so.6
    /lib64/libpthread.so.0
    /lib64/libdl.so.2


See http://people.redhat.com/drepper/dsohowto.pdf, "3.9 Inter-Object File
Relations" for more information.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-package-review mailing list