some packages link with -Wl,-z,lazy so that they know they'll get lazy bindings (in case the toolchain is configured with -Wl,-z,now by default). unfortunately, gold doesnt have an option to control this DT in the final ELF.
Subject: Bug 10141 CVSROOT: /cvs/src Module name: src Changes by: ian@sourceware.org 2009-06-22 20:23:21 Modified files: gold : ChangeLog layout.cc options.h Log message: PR 10141 * options.h (class General_options): Add -z lazy and -z now. Sort -z options into alphabetical order. * layout.cc (Layout::finish_dynamic_section): Handle -z now. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.241&r2=1.242 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=src&r1=1.126&r2=1.127 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/options.h.diff?cvsroot=src&r1=1.99&r2=1.100
Fixed. Thanks for reporting it.