From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28212 invoked by alias); 24 Apr 2011 19:28:12 -0000 Received: (qmail 28204 invoked by uid 22791); 24 Apr 2011 19:28:12 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_BJ X-Spam-Check-By: sourceware.org Received: from mail-bw0-f41.google.com (HELO mail-bw0-f41.google.com) (209.85.214.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 24 Apr 2011 19:27:57 +0000 Received: by bwz17 with SMTP id 17so1585421bwz.0 for ; Sun, 24 Apr 2011 12:27:55 -0700 (PDT) Received: by 10.204.230.194 with SMTP id jn2mr2645856bkb.133.1303673275128; Sun, 24 Apr 2011 12:27:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.67.80 with HTTP; Sun, 24 Apr 2011 12:27:35 -0700 (PDT) In-Reply-To: References: From: Mike Frysinger Date: Sun, 24 Apr 2011 19:28:00 -0000 Message-ID: Subject: Re: GNU Binutils on OpeBSD To: Maxim Koltsov Cc: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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/msg00337.txt.bz2 On Sun, Apr 24, 2011 at 2:41 PM, Maxim Koltsov wrote: > I'm building binutils on OpenBSD 4.8. I've ported OpenBSD's binutils > patch to binutils-2.21, so bfd is aware of openbsd now. But i get very > strange error with --enable-shared: libopcodes.so has DT_NEEDED > pointing to libbfd.so in temporaly location: > =A0 NEEDED =A0 =A0 =A0/home/maksbotan/gentoo/var/tmp/portage/sys-devel/bi= nutils-2.21/work/build/opcodes/../bfd/.libs/libbfd.so > Of course, this cannot be found, and tools like as and objdump cannot > work. And when compiling binutils on linux, libopcodes.so has only > 'libbfd-2.21.so' in DT_NEEDED. Can you figure out what problem is > cause by? My patch is attached. pretty sure this isnt a bug. you probably need to `make install` first. -mike