From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5563 invoked by alias); 25 Apr 2011 11:35:28 -0000 Received: (qmail 5472 invoked by uid 22791); 25 Apr 2011 11:35:27 -0000 X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_BJ,TW_JC X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 25 Apr 2011 11:35:14 +0000 Received: by vws4 with SMTP id 4so2303778vws.0 for ; Mon, 25 Apr 2011 04:35:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.169.137 with SMTP id z9mr1239339vcy.20.1303731313118; Mon, 25 Apr 2011 04:35:13 -0700 (PDT) Received: by 10.220.70.206 with HTTP; Mon, 25 Apr 2011 04:35:12 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Apr 2011 11:35:00 -0000 Message-ID: Subject: Re: GNU Binutils on OpeBSD From: Maxim Koltsov To: Mike Frysinger Cc: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-04/txt/msg00343.txt.bz2 > > looks like your host linker sucks. =A0when linking libopcodes.so, libtool= does: > -Wl,/home/maksbotan/gentoo/var/tmp/portage/sys-devel/binutils-2Y.21/work/= build/opcodes/../bfd/.libs/libbfd.so > > instead of encoding the DT_SONAME, it wrongly encodes the full path. > not really a bug in binutils that i can see. > So, what can you advice to fix the issue. Can we modify DT_NEEDED with objcopy or anything else? Also, FYI the linker is openbsd modified GNU binutils-2.15. Maxim.